Skip to content

Commit

Permalink
Exclude NETFramework targets file during source build (#89974)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericstj committed Aug 4, 2023
1 parent 9c06438 commit e2b5936
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ System.Resources.Extensions.PreserializedResourceWriter</PackageDescription>

<Target Name="GeneratePackageTargetsFile"
Inputs="$(MSBuildAllProjects)"
Outputs="$(SuggestedBindingRedirectsPackageFile)">
Outputs="$(SuggestedBindingRedirectsPackageFile)"
Condition="'$(NetFrameworkMinimum)' != ''">
<PropertyGroup>
<SuggestedBindingRedirectsPackageFileContent><![CDATA[<Project>
<!-- ResolveAssemblyReferences will never see the assembly reference embedded in the resources type,
Expand Down

0 comments on commit e2b5936

Please sign in to comment.