Quantcast
Channel: Everyday I'm coding » visual-studio-2010
Viewing all articles
Browse latest Browse all 16

Visual Studio 2010 says Build failed with no errors after I change a source file

$
0
0

I have a Visual Studio 2010 solution with a few projects. I can successfully build with Build -> Build Solution or Build -> Build MyCompany.MyProduct.MyProject. After building I press CTRL+F5 and successfully run the start up project. This works as expected.

After I change a source file, save it and then again build (with either Build -> Build Solution or Build -> Build MyCompany.MyProduct.MyProject) it builds successfully. I am still able to press CTRL+F5 and run the startup project. This again works as expected.

The problem is in the following scenario:
After I change a source file, save it and directly press CTRL+F5 then Visual Studio 2010 says BUILD FAILED and there are no errors. And it doesn’t start my startup project (of course).

Am I missing something?


Solution:

Close vs, delete *.suo files. They contain user preferences but can also do nasty things.


Viewing all articles
Browse latest Browse all 16

Trending Articles