Skip to content

Commit

Permalink
Sync Directory.Build.targets
Browse files Browse the repository at this point in the history
  • Loading branch information
SyncFileContents authored and SyncFileContents committed Jun 12, 2024
1 parent 31cc88e commit 77b84f6
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,11 @@
<IsPrimaryProject Condition="$(MSBuildProjectName) == '$(SolutionName)'">True</IsPrimaryProject>
</PropertyGroup>

<PropertyGroup Condition="$(IsTest) != true">
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
<AnalysisLevel>latest-all</AnalysisLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>

<PropertyGroup Condition="$(IsTest) == true">
<AnalysisLevel>latest</AnalysisLevel>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);CS1591;CA2225;</NoWarn>
<NoWarn>$(NoWarn);CS1591;CA2225;CA1707;IDE0022;IDE0058;CA1305;S4056;S104;CA5394;</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="$(IsLibrary) == true">
<LangVersion>11.0</LangVersion>
<IsPackable>True</IsPackable>
<EnablePackageValidation>True</EnablePackageValidation>
</PropertyGroup>
Expand All @@ -41,7 +32,7 @@
</ItemGroup>

<ItemGroup Condition="$(IsPrimaryProject) == true">
<None Include="..\LICENSE" Pack="True" PackagePath="\" />
<None Include="..\LICENSE" Pack="True" PackagePath="\"/>
<None Include="..\README.md" Pack="True" PackagePath="\"/>
<None Include="..\DESCRIPTION" Pack="True" PackagePath="\"/>
<None Include="..\AUTHORS" Pack="True" PackagePath="\"/>
Expand Down

0 comments on commit 77b84f6

Please sign in to comment.