Skip to content

Instantly share code, notes, and snippets.

@hatelove
Created January 15, 2014 05:45
Show Gist options
  • Save hatelove/8431412 to your computer and use it in GitHub Desktop.
Save hatelove/8431412 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--Default Root Path-->
<PropertyGroup>
<SolutionPath>$(MSBuildStartupDirectory)\MySolution.sln</SolutionPath>
<UnitTestSettingPath>$(MSBuildStartupDirectory)\MyTestSetting.testsettings</UnitTestSettingPath>
<AnalysisFileIncludes>$(MSBuildStartupDirectory)\**\*.cs</AnalysisFileIncludes>
<AnalysisFileExcludes>$(MSBuildStartupDirectory)\*Test*\**\*.*</AnalysisFileExcludes>
<ScenarioSourcePath>$(MSBuildStartupDirectory)\MyScenarioFolder</ScenarioSourcePath>
</PropertyGroup>
<!--Unit Test Dlls-->
<ItemGroup>
<UnitTestDll Include="$(MSBuildStartupDirectory)\MyUnitTest.dll" />
<UnitTestDll Include="$(MSBuildStartupDirectory)\MyIntegrationTest.dll" />
</ItemGroup>
<!-- Output Dlls-->
<ItemGroup>
<OutputDll Include="$(MSBuildStartupDirectory)\MyProject.dll" />
</ItemGroup>
<!--Enable Setting-->
<PropertyGroup>
<EnableBuildProject>True</EnableBuildProject>
<EnableUnitTest>True</EnableUnitTest>
<EnableStyleCop>True</EnableStyleCop>
<EnableFxCop>True</EnableFxCop>
<EnableSimian>True</EnableSimian>
<EnableSourceMonitor>True</EnableSourceMonitor>
<EnableScenarioGenerator>True</EnableScenarioGenerator>
</PropertyGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment