Additional Functionality in MSBuild Scripts
note
Be sure to replace "." with "_" when using properties in MSBuild scripts. That is you have to use
teamcity_dotnet_nunitlauncher_msbuild_task
instead ofteamcity.dotnet.nunitlauncher.msbuild.task
NUnit and NUnitTeamCity tasks
note
In order for these tasks to work the
teamcity_dotnet_nunitlauncher
system property have to be accessible. Build Agents running windows should automatically detect these properties as environment variables. If you need to set them manually, see defining System Properties of a Build Configuration properties for more information.
tip
TeamCity uses its own version of NUnit task for running NUnit tests. TeamCity version is compatible with the
MSBuild Community Task
and will issue a warning, if TeamCity does not support an attribute listed in the build script. These warnings are only for your information and will not affect the building process.
Thanks for your feedback!