-
Notifications
You must be signed in to change notification settings - Fork 385
Closed
Description
MSAL client type
Confidential
Problem statement
Line 112 in c892032
| <PropertyGroup Condition="'$(TargetFramework)' == '$(TargetFrameworkNet)' "> |
This should be replaced with
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
<IsAotCompatible>true</IsAotCompatible>
</PropertyGroup>And then errors need to be fixed or APIs/types need to be annotated.
For example, Marhsall.SizeOf(type) needs to switch to Marshall.SizeOf
Proposed solution
Use
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
<IsAotCompatible>true</IsAotCompatible>
</PropertyGroup>Alternatives
NA
HotCakeX
Metadata
Metadata
Assignees
Type
Projects
Status
Done