Update to net48 and condition NativeAOT on .NET Core

This commit is contained in:
Joshua "Yoshi" Askharoun
2026-07-23 01:58:29 -05:00
parent 194725ccb6
commit a6abf6fc9b
3 changed files with 4 additions and 4 deletions
+1 -3
View File
@@ -19,9 +19,7 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" $([MSBuild]::IsOsPlatform('Windows')) "> <PropertyGroup Condition=" $([MSBuild]::IsOsPlatform('Windows')) ">
<TargetFrameworks>$(TargetFrameworks);net8.0-windows10.0.22000</TargetFrameworks> <TargetFrameworks>$(TargetFrameworks);net8.0-windows10.0.22000;net48</TargetFrameworks>
<TargetFrameworks Condition=" $(EnableNetFXTarget) == 'true' ">$(TargetFrameworks);net461;</TargetFrameworks>
</PropertyGroup> </PropertyGroup>
<Choose> <Choose>
+1 -1
View File
@@ -18,4 +18,4 @@
<LogicalName>RCDATA.resources</LogicalName> <LogicalName>RCDATA.resources</LogicalName>
</EmbeddedResource> </EmbeddedResource>
</ItemGroup> </ItemGroup>
</Project> </Project>
+2
View File
@@ -6,7 +6,9 @@
<RootNamespace>Microsoft.Iris.Render</RootNamespace> <RootNamespace>Microsoft.Iris.Render</RootNamespace>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo> <GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" $(TargetFrameworkIdentifier) == '.NETCoreApp' ">
<PublishAot>true</PublishAot> <PublishAot>true</PublishAot>
<!-- Required for PublishAot to emit an actual exporting shared library (.dll/.so) <!-- Required for PublishAot to emit an actual exporting shared library (.dll/.so)