Use the original workaround for now

This commit is contained in:
Sebastiaan Janssen
2013-01-16 16:25:54 -01:00
parent 238c3d38e8
commit fe0d94687a

View File

@@ -1,15 +1,19 @@
<Project DefaultTargets="RunTests" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<NUnitAddinFiles Include="$(teamcity_dotnet_nunitaddin)-2.6.2.*" />
</ItemGroup>
<Target Name="RunTests">
<PropertyGroup>
<NUnitHome>$(MSBuildProjectDirectory)\..\..\tools\NUnit</NUnitHome>
<NUnitFileName>$(MSBuildProjectDirectory)\bin\Debug\Umbraco.Tests.dll</NUnitFileName>
</PropertyGroup>
<Copy SourceFiles="@(NUnitAddinFiles)" DestinationFolder="$(NUnitHome)" />
<Exec Command="$(NUnitHome)\NUnit-Console.exe $(NUnitFileName)" />
<PropertyGroup>
<MSBuildCommunityTasksPath>..\..\tools\MSBuildCommunityTasks</MSBuildCommunityTasksPath>
</PropertyGroup>
<Import Project="$(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.Targets" />
<Target Name="RunTests">
<ItemGroup>
<TestAssemblies Include=".\bin\Debug\Umbraco.Tests.dll" />
</ItemGroup>
<NUnit ToolPath="..\..\tools\NUnit\" Assemblies="@(TestAssemblies)" OutputXmlFile=".\NUnitTestResults.xml" />
</Target>
</Project>