I have a solution that has multiple projects. Most of the projects are targeting multiple frameworks using the new .csproj format and one of them is only targeting a single framework (net 4.6.1). If you set up build order MSBuild attempts to build the referenced project with (what appears to be) the wrong target framework.
When building from within Visual Studio everything works fine.
When building with MSBuild (MSBuild.exe" /t:rebuild) on the command line the build fails.
The impact is we can't build on our CI server.
Attached is a test project.
ResharperTests.zip
I have a solution that has multiple projects. Most of the projects are targeting multiple frameworks using the new .csproj format and one of them is only targeting a single framework (net 4.6.1). If you set up build order MSBuild attempts to build the referenced project with (what appears to be) the wrong target framework.
When building from within Visual Studio everything works fine.
When building with MSBuild (MSBuild.exe" /t:rebuild) on the command line the build fails.
The impact is we can't build on our CI server.
Attached is a test project.
ResharperTests.zip