If I try to create my .sln file in visual studio (using the release configuration, but none of my configurations actually build), the assembly will fail with zero errors in the output window and not a single list of errors. In fact, in the build output window, I have 7 projects. And with normal verbosity, I have 7 "Build successed". lines after each project. But below:
========== Build: 6 succeeded or up-to-date, 1 failed, 0 skipped ==========
Creating projects one by one, I found the project "failing", and I tried to build it on my own. It depends on another project, and it builds just fine on its own. I try to create a failing project on my own and I get zero errors and no warnings and builds failed. However, in the bin folder for this project (if I delete the old bin file), I get a built-in dll. It doesn’t do much good for me, though, since the assembly doesn’t work, the visual studio makes no effort to run my project in debug mode.
Here's something puzzling: on the command line, I went to the directory with my .sln file in it, and then ran this command:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe /ToolsVersion:4.0 /p:Configuration=Release
Then, in bin / Release, voila, I have my project built. The line runs on the command line, but not in the IDE.
Does anyone have any suggestions? This problem happened to me twice: once on Windows Server 2008 and once on windows xp sp3.