I\'m running Visual Studio 2012 (version 11.0.61030.00 update 4). When debugging a local console application I get the following error when I start debugging (F5):
While restarting Visual Studio does provide a workaround, it doesn't solve the actual problem. In my case, I was working with a C# solution in VS2017 and the following resolved the issue:
Just Close the VIsual Studio and start again the project.Its work Perfectly for me. Thanks
I corrupted my App.config file with NLog settings without section Handler in the top of the document. Gist is check out your config file settings either corrupted in format or not properly handled any section. once I remove corrupted config section, it did not raise the error again (VS 2017) Hope it helps!
This may be a possible answer for the problem.
Some from the answer:
devenv, mspdbsrv, vcpkgsrv, msbuild, msvsmon, vshub, vstest
etc.suo, .ncb, .VC.db, .VC.VC.opendb
files of the solution as well as .vs
directory, which sometimes cause problemsYourProjectName.vcproj.DOMAINNAME.LOGINNAME.user
or YourProjectName.csproj.user
. The setting file name depends on a project kind you use"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup
or "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup
for x64 environment