Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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
You can’t perform that action at this time.