diff options
-rw-r--r-- | build.proj | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -60,7 +60,7 @@ </Target> <Target Name="BuildTests" DependsOnTargets="SkipVerification"> - <MSBuild Projects="$(ProjectRoot)src\$(ProductName).Test\$(ProductName).Test.csproj" /> + <MSBuild Projects="$(SolutionPath)" Targets="DotNetOpenAuth_Test;DotNetOpenAuth_TestWeb" /> </Target> <Target Name="BuildSamples" DependsOnTargets="SkipVerification"> @@ -301,9 +301,7 @@ <Target Name="Documentation" DependsOnTargets="BuildProduct;Chm" Condition="'$(NoDocumentation)' != 'true'"> </Target> - <!-- Test depends on "Build" rather than "BuildTests" until we can figure out how to build the - no-.csproj file test project (to copy binaries to Bin directory). --> - <Target Name="Test" DependsOnTargets="Build" + <Target Name="Test" DependsOnTargets="BuildTests" Inputs="$(OutputPath)$(ProductName).Test.dll" Outputs='$(OutputPath)Test-results.xml;$(OutputPath)Test-output-results.log'> <Exec Command='"mstest.exe" /testcontainer:"$(OutputPath)$(ProductName).Test.dll"' /> |