I have a WebApplication which contains reference to WCF services.
While building using Visual Studio 2010, Build fails without any error or warning. However building
For me, the Target Framework
was the issue.
My project's Target Framework
was 4.5.2
and the referenced project's Target Framework
was 4.6.1
.
Once I updated my project's Target Framework
to 4.6.1
, the issue got fixed.
I've tried all but nothing worked in my case then I've changed these mentioned settings which resolved the issue quite well for me. Try If it could of any help latter viewers. These settings could be vary in your situation but make sure build all the including DLLs with the same config settings you kept initially (mentioned in the image.).
Cheers!
I had this same problem and I traced this issue down to the Error List options "Build + Intellisense".
If this option is selected then no errors are shown in the list. Switch to "Build Only" and the errors appear as expected.
Its look like a bug in Visual Studio. Restarting the visual studio solved this issue.
This happened to me after adding a new page to an asp.net project.
What I did was exclude the page, get it to build again successfully.
Then I added back the page with all the code commented out. Success.
Then I uncommented the code bit by bit and then it all worked.
Build + Intellisense swallowed the error messages. Selecting Build Only displayed them.