Create a .nunit project file for all the test assemblies matching the specified pattern. This should be created in the bin folder where your test assemblies are located so that the assemblies are within the AppDomain path. The .nunit file can then be used by NUnit or NCover based tasks.
For a list of all members of this type, see NUnitProject Members.
System.Object
Task
NUnitProject
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Create a .nunit project file in output bin folder for a specified test assembly.
<UsingTask TaskName="NCoverExplorer.MSBuildTasks.NUnitProject" AssemblyFile="NCoverExplorer.MSBuildTasks.dll"/> <PropertyGroup> <OutputPath>$(MSBuildProjectDirectory)\Build</OutputPath> </PropertyGroup> <ItemGroup> <Assembly Include="$(OutputPath)\MyApp.Tests.dll" /> </ItemGroup> <NUnitProject Project="$(OutputPath)\MyApp.nunit" Assemblies="@(Assembly)" />
Create a .nunit project file in output bin folder with an associated App.Config file for all test assemblies matching a pattern.
<ItemGroup> <Assembly Include="$(OutputPath)\MyApp.*.Tests.dll" /> </ItemGroup> <NUnitProject Project="$(OutputPath)\MyApp.nunit" AppConfig="$(OutputPath)\MyApp.exe.config" Assemblies="@(Assembly)" />
Namespace: NCoverExplorer.MSBuildTasks
Assembly: NCoverExplorer.MSBuildTasks (in NCoverExplorer.MSBuildTasks.dll)
NUnitProject Members | NCoverExplorer.MSBuildTasks Namespace