Skip to content

Instantly share code, notes, and snippets.

@edwinf
Created May 4, 2015 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edwinf/cb501eeca012b3d04065 to your computer and use it in GitHub Desktop.
Save edwinf/cb501eeca012b3d04065 to your computer and use it in GitHub Desktop.
<Project DefaultTargets="Rebuild" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition="'$(Configuration)'==''">Debug</Configuration>
</PropertyGroup>
<Target Name="Rebuild">
<MSBuild Projects="solution.sln" Properties="Configuration=$(Configuration);DeployOnBuild=true;PublishProfile=TeamCityPublish" Targets="Rebuild" />
<Exec Command="&quot;$(MSBuildProjectDirectory)\packages\xunit.runner.console.2.0.0\tools\xunit.console.exe&quot; &quot;$(MSBuildProjectDirectory)\\tests\Facts\bin\$(Configuration)\Facts.dll&quot; -notrait &quot;SkipOnTeamCity=true&quot;"
/>
</Target>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment