Monday, February 5, 2018

Visual Studio project in solution build fails with no error

I have a Visual Studio solution containing multiple projects all using version 4.7 of the .NET framework. When attempting to build the solution, a single project would fail, yet provide no error message.

Single project fails build
I was able to figure out that the project only failed build when it referenced another project in the solution. The build order inside the solution appeared correct (right click solution and select project build order).

This problem was occurring in Visual Studio 2015, however after opening it in Visual Studio 2017 the projects would all build as expected.

No comments:

Post a Comment