Skip to content

Commit 27d5b1b

Browse files
committed
Compile using net 9 and add icon
1 parent 11cc641 commit 27d5b1b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

GameAwaiter.csproj

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@
22

33
<PropertyGroup>
44
<OutputType>WinExe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<PublishAot>true</PublishAot>
99
<UseSystemResourceKeys>true</UseSystemResourceKeys>
1010
<InvariantGlobalization>true</InvariantGlobalization>
1111
<PublishLzmaCompressed>true</PublishLzmaCompressed>
12+
<ApplicationIcon>Icon.ico</ApplicationIcon>
1213
</PropertyGroup>
1314

15+
<ItemGroup>
16+
<Content Include="Icon.ico" />
17+
</ItemGroup>
18+
1419
<ItemGroup>
1520
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.106">
1621
<PrivateAssets>all</PrivateAssets>

Icon.ico

146 KB
Binary file not shown.

Properties/PublishProfiles/Build.pubxml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
99
<PublishDir>bin\Release\publish\</PublishDir>
1010
<PublishProtocol>FileSystem</PublishProtocol>
1111
<_TargetId>Folder</_TargetId>
12-
<TargetFramework>net8.0</TargetFramework>
12+
<TargetFramework>net9.0</TargetFramework>
1313
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1414
<SelfContained>true</SelfContained>
1515
<PublishSingleFile>false</PublishSingleFile>

0 commit comments

Comments
 (0)