Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This can be solve by doing the following :- depending on your MSBuild version.

MSBuild

...

Solution

...

Sample

version 14

Set the MSBuildEmitSolution environment variable to 1 before running MSBuild itself.

Code Block
languagepowershell
set MSBuildEmitSolution=1
Msbuild SlnFolders.sln

MSBuild version 15

Add the --msBuildVersion 15 flag to

...

the Sealights' .NET agent prepareForMsBuild command:

Code Block
languagepowershell
SL.DotNet.exe prepareForMsBuild  --buildSessionIdFile buildSessionId.txt --workspacePath "C:\path\to\project" --msBuildVersion 15