Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error reported in web.config, but only when it is not open in the editor in Visual Studio Community 2015

I just changed to Visual Studio Community 2015 and I'm having a weird issue running a project. The project builds without any errors. But, when I go to start debugging I get the following error:

There is an error in web.config. Please correct before proceeding. (You might rename the current web.config and add a new one.)

This only happens if web.config is not open in the editor in Visual Studio. If I open web.config in Visual Studio and try to run the project, I am able to do so and no errors are reported.

like image 896
José Machado Avatar asked Aug 01 '15 11:08

José Machado


1 Answers

Has anyone suggested that we close and reopen Visual Studio?

like image 136
vothaison Avatar answered Oct 07 '22 18:10

vothaison