Home Visual Studio sees error in my web.configs
Reply: 1

Visual Studio sees error in my web.configs

red888 Published in 2018-02-13 17:23:56Z

My app works, it builds and runs fine, but when I look at web.config file in the editor, it finds all these syntax errors:

Why does it say there are syntax errors when there are not?

DavidG Reply to 2018-02-13 17:35:05Z

It seems your Visual Studio is not opening config files in the XML editor. To fix this:

  1. Right click the web.config file and select "Open with..."
  2. Choose XML (Text) Editor
  3. Click the Set as Default button

Now it will open the files correctly.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.33262 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO