Skip to content

Commit

Permalink
Use v1.0.3 of the .NET FW reference assemblies (#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.
  • Loading branch information
Joshua Peterson committed Apr 20, 2023
1 parent 8c123e1 commit ba9c6c7
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 ba9c6c7

Please sign in to comment.