File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -690,15 +690,10 @@ Example `.props` file:
690690<?xml version =" 1.0" encoding =" utf-8" ?>
691691<Project ToolsVersion =" 14.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
692692 <PropertyGroup >
693- <CodeAnalysisRuleSetLocation Condition =" '$(NuGetPackageRoot)' != '' " >$(NuGetPackageRoot)\acme.stylecop\1.0.0</CodeAnalysisRuleSetLocation >
694- <CodeAnalysisRuleSetLocation Condition =" '$(CodeAnalysisRuleSetLocation)' == '' and '$(SolutionDir)' != '' " >$(SolutionDir)\packages\acme.stylecop.1.0.0</CodeAnalysisRuleSetLocation >
695- <CodeAnalysisRuleSetLocation Condition =" '$(CodeAnalysisRuleSetLocation)' == '' " >$([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))\packages\acme.stylecop.1.0.0</CodeAnalysisRuleSetLocation >
696- </PropertyGroup >
697- <PropertyGroup >
698- <CodeAnalysisRuleSet >$(CodeAnalysisRuleSetLocation)\acme.stylecop.ruleset</CodeAnalysisRuleSet >
693+ <CodeAnalysisRuleSet >$(MSBuildThisFileDirectory)..\acme.stylecop.ruleset</CodeAnalysisRuleSet >
699694 </PropertyGroup >
700695 <ItemGroup >
701- <AdditionalFiles Include =" $(CodeAnalysisRuleSetLocation) \stylecop.json" Link =" stylecop.json" />
696+ <AdditionalFiles Include =" $(MSBuildThisFileDirectory).. \stylecop.json" Link =" stylecop.json" />
702697 </ItemGroup >
703698</Project >
704699```
You can’t perform that action at this time.
0 commit comments