Created
October 8, 2012 12:56
-
-
Save numa08/3852378 to your computer and use it in GitHub Desktop.
MsBuildTask
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<Project DefaultTargets="Test" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" > | |
<UsingTask TaskName="MyMsBuildTask.RunWP7UnitTestsInEmulator" | |
AssemblyFile="MyMsBuildTask.dll"/> | |
<PropertyGroup> | |
<SourceFilesPath>$(MSBuildProjectDirectory)</SourceFilesPath> | |
</PropertyGroup> | |
<ItemGroup> | |
<Reference Include="Microsoft.Silverlight.Testing"> | |
<HintPath>$(MSBuildProjectDirectory)\ConfrimJenkins.Test\Libs\Microsoft.Silverlight.Testing.dll</HintPath> | |
</Reference> | |
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight"> | |
<HintPath>$(MSBuildProjectDirectory)\ConfrimJenkins.Test\Libs\Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll</HintPath> | |
</Reference> | |
<SolutionItemsToBuild Include="$(SourceFilesPath)\**\*.sln" /> | |
</ItemGroup> | |
<Target Name="Build"> | |
<MSBuild Projects="%(SolutionItemsToBuild.Identity)" Targets="Build"/> | |
</Target> | |
<Target Name="Clean"> | |
<MSBuild Projects="%(SolutionItemsToBuild.Identity)" Targets="Clean" Properties="Configuration=Debug"/> | |
<MsBuild Projects="%(SolutionItemsToBuild.Identity)" Targets="Clean" Properties="Configuration=Release"/> | |
</Target> | |
<Target Name="Release"> | |
<MSBuild Projects="%(SolutionItemsToBuild.Identity)" Properties="Configuration=Release"/> | |
</Target> | |
<Target Name="Test" DependsOnTargets="Build"> | |
<RunWP7UnitTestsInEmulator NumberOfMilliSecondsToProcess="50000" | |
PathToUnitTestXapFile="$(SourceFilesPath)\ConfrimJenkins.Test\Bin\Debug\ConfrimJenkins.Test.xap" | |
ProductGuid="c7aea0a7-7178-4c31-b1da-2e0644c0c77a" /> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment