Skip to content

Commit

Permalink
Compile using net 9 and add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Guerra24 committed Nov 25, 2024
1 parent 11cc641 commit 27d5b1b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion GameAwaiter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PublishAot>true</PublishAot>
<UseSystemResourceKeys>true</UseSystemResourceKeys>
<InvariantGlobalization>true</InvariantGlobalization>
<PublishLzmaCompressed>true</PublishLzmaCompressed>
<ApplicationIcon>Icon.ico</ApplicationIcon>
</PropertyGroup>

<ItemGroup>
<Content Include="Icon.ico" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.106">
<PrivateAssets>all</PrivateAssets>
Expand Down
Binary file added Icon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion Properties/PublishProfiles/Build.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishDir>bin\Release\publish\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<PublishSingleFile>false</PublishSingleFile>
Expand Down

0 comments on commit 27d5b1b

Please sign in to comment.