Skip to content

Commit

Permalink
Use v1.0.3 of the .NET FW reference assemblies (jbevain#902)
Browse files Browse the repository at this point in the history
With MSBuild 7.0.201 and later, building the Mono.Cecil projects used by
Unity's IL2CPP causes warning NU1605 to occur, indicating that there is
a package version mismatch between the .NET Framework reference
assemblies package used. To avoid this, bump the version used by
Mono.Cecil and similar project to be the latest, version 1.0.3.

Note that MSBuild version 7.0.100 and earlier did not cause this warning
to occur.

(cherry picked from commit ba9c6c7)
  • Loading branch information
Joshua Peterson authored and SteveGilham committed Apr 5, 2024
1 parent b50ff4e commit edf047e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net40' ">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net40" Version="1.0.2" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net40" Version="1.0.3" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
Expand Down

0 comments on commit edf047e

Please sign in to comment.