Skip to content

Commit

Permalink
Fix build for netstandard1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrzesniewski committed Oct 26, 2024
1 parent 50ec036 commit a1d7d3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/InlineIL/InlineIL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
<PackageReference Update="NETStandard.Library" PrivateAssets="all" Condition="'$(TargetFramework)' == 'netstandard1.1'" />
</ItemGroup>

<PropertyGroup>
<!-- The netstandard1.1 target is obsolete and causes issues -->
<NuGetAuditMode>direct</NuGetAuditMode>
<NoWarn Condition="'$(TargetFramework)' == 'netstandard1.1'">$(NoWarn);NETSDK1215</NoWarn>
</PropertyGroup>

<PropertyGroup>
<MonoCecilPath>$(PkgFody)\netclassictask\Mono.Cecil.dll</MonoCecilPath>
</PropertyGroup>
Expand Down

0 comments on commit a1d7d3a

Please sign in to comment.