Skip to content

Commit

Permalink
Remove flagging target
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossanlop committed Nov 17, 2023
1 parent e600e79 commit bb4b456
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Tools/GenerateDocumentationAndConfigFiles/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1702,16 +1702,6 @@ static string GetPackageSpecificContents(string packageName)
<EmbeddedFiles Condition="'$(DebugType)' != 'none'" Include="$(PerformanceSensitiveAttributePath)" />
</ItemGroup>
""",
NetAnalyzersPackageName => $"""
<!-- Target to report a warning when SDK NetAnalyzers version is higher than the referenced NuGet NetAnalyzers version -->
<Target Name="_ReportUpgradeNetAnalyzersNuGetWarning" BeforeTargets="CoreCompile" Condition="'$(_SkipUpgradeNetAnalyzersNuGetWarning)' != 'true' ">
<Warning Text ="The .NET SDK has newer analyzers with version '$({NetAnalyzersSDKAssemblyVersionPropertyName})' than what version '$({NetAnalyzersNugetAssemblyVersionPropertyName})' of '{NetAnalyzersPackageName}' package provides. Update or remove this package reference. You can suppress this warning by setting the MSBuild property '_SkipUpgradeNetAnalyzersNuGetWarning' to 'true'."
Condition="'$({NetAnalyzersNugetAssemblyVersionPropertyName})' != '' AND
'$({NetAnalyzersSDKAssemblyVersionPropertyName})' != '' AND
$({NetAnalyzersNugetAssemblyVersionPropertyName}) &lt; $({NetAnalyzersSDKAssemblyVersionPropertyName})"/>
</Target>
""",
ResxSourceGeneratorPackageName => $"""
<!-- Special handling for embedded resources to show as nested in Solution Explorer -->
Expand Down

0 comments on commit bb4b456

Please sign in to comment.