Skip to content

Commit 6e343d2

Browse files
committed
1 parent fd097ec commit 6e343d2

File tree

1 file changed

+25
-27
lines changed

1 file changed

+25
-27
lines changed

ReMOSD.csproj

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,30 @@
1010
<!--Copyright 2022 Kaneko Qt-->
1111

1212
<Project Sdk="Microsoft.NET.Sdk">
13-
<PropertyGroup>
14-
<OutputType>WinExe</OutputType>
15-
<TargetFramework>net7.0</TargetFramework>
13+
<PropertyGroup>
14+
<OutputType>WinExe</OutputType>
15+
<TargetFramework>net7.0</TargetFramework>
1616
<LangVersion>preview</LangVersion>
17-
</PropertyGroup>
18-
19-
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
20-
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
21-
<!--https://github.com/dotnet/runtime/issues/64337 -->
22-
<PublishAot Condition="!($([MSBuild]::IsOSPlatform('OSX')) AND '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'Arm64')">
23-
true
24-
</PublishAot>
25-
26-
<!--Reduce size of release build-->
27-
<DebugType>none</DebugType>
28-
<TrimmerDefaultAction>link</TrimmerDefaultAction>
29-
</PropertyGroup>
30-
31-
<PropertyGroup>
32-
<NoWarn>CA1416</NoWarn>
33-
</PropertyGroup>
34-
35-
<ItemGroup>
36-
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.2.10-beta">
37-
<PrivateAssets>all</PrivateAssets>
38-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
39-
</PackageReference>
40-
</ItemGroup>
17+
</PropertyGroup>
18+
19+
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
20+
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
21+
<!--https://github.com/dotnet/runtime/issues/64337 -->
22+
<PublishAot Condition="!($([MSBuild]::IsOSPlatform('OSX')) AND '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'Arm64')">true</PublishAot>
23+
24+
<!--Reduce size of release build-->
25+
<DebugType>none</DebugType>
26+
<TrimmerDefaultAction>link</TrimmerDefaultAction>
27+
</PropertyGroup>
28+
29+
<PropertyGroup>
30+
<NoWarn>CA1416</NoWarn>
31+
</PropertyGroup>
32+
33+
<ItemGroup>
34+
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.2.10-beta">
35+
<PrivateAssets>all</PrivateAssets>
36+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
37+
</PackageReference>
38+
</ItemGroup>
4139
</Project>

0 commit comments

Comments
 (0)