Skip to content

Commit

Permalink
fix: Fixed incorrect trimming expression to use `IsTargetFrameworkCom…
Browse files Browse the repository at this point in the history
  • Loading branch information
andrueastman authored Sep 30, 2024
1 parent 471a1f6 commit 7100741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Microsoft.Graph.Beta.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<NoWarn>$(NoWarn);NU5048;NETSDK1138</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFrameworkVersion)' == 'net5.0'">
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)','net5.0'))">
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
Expand Down Expand Up @@ -91,4 +91,4 @@
<ItemGroup>
<Folder Include="Models\" />
</ItemGroup>
</Project>
</Project>

0 comments on commit 7100741

Please sign in to comment.