mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
Update to net48 and condition NativeAOT on .NET Core
This commit is contained in:
@@ -19,9 +19,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" $([MSBuild]::IsOsPlatform('Windows')) ">
|
||||
<TargetFrameworks>$(TargetFrameworks);net8.0-windows10.0.22000</TargetFrameworks>
|
||||
|
||||
<TargetFrameworks Condition=" $(EnableNetFXTarget) == 'true' ">$(TargetFrameworks);net461;</TargetFrameworks>
|
||||
<TargetFrameworks>$(TargetFrameworks);net8.0-windows10.0.22000;net48</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
|
||||
<Choose>
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
<LogicalName>RCDATA.resources</LogicalName>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
<RootNamespace>Microsoft.Iris.Render</RootNamespace>
|
||||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" $(TargetFrameworkIdentifier) == '.NETCoreApp' ">
|
||||
<PublishAot>true</PublishAot>
|
||||
|
||||
<!-- Required for PublishAot to emit an actual exporting shared library (.dll/.so)
|
||||
|
||||
Reference in New Issue
Block a user