Skip to content

Instantly share code, notes, and snippets.

@Xeinaemm
Created November 16, 2019 20:25
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 Xeinaemm/925bc74943c2c90cfa6232b34eff95a6 to your computer and use it in GitHub Desktop.
Save Xeinaemm/925bc74943c2c90cfa6232b34eff95a6 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="ConfigFiles">
<StyleCopFile Condition=" '$(StyleCopFile)' == '' ">$([MSBuild]::GetPathOfFileAbove('stylecop.json', $(MSBuildProjectDirectory)))</StyleCopFile>
</PropertyGroup>
<ItemGroup Label="ConfigFiles">
<None Condition="Exists('$(StyleCopFile)')" Include="$(StyleCopFile)" Visible="false" />
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment