Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space ENGINES1031 and version 10.4.0

Many dotTEST DTP Engine features require source code to be compiled into binaries. By default, dotTEST attempts to build solutions and projects prior to analyzing them.

Delegating the Build to MSBuild or Visual Studio

dotTEST DTP Engine delegates delegates the build to msbuild.exe by default when Visual Studio is not installed on the machine. If an appropriate version of Visual Studio is present, the build is performed by the devenv.exe /Build mechanism. 

...

If your code is compiled prior to analysis, you can skip the building phase during analysis by passing the -nobuild command line switch or setting the dottest.build.nobuild property to true (see Base Configuration Settings for details).

Building .NET Core Projects

If you use the NuGet mechanism to process packages in your project, run the dotnet command with the restore  option before analysis:

Code Block
dotnet restore SOLUTION_PATH

This ensures that NuGet packages are restored before the project is built.

Specifying Solution Configuration and Target Platform

...