Skip to content

Commit

Permalink
Changes in project configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kubagdynia committed Jun 14, 2024
1 parent a52bb8a commit 81d1e20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Spacetris/Spacetris.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
</ItemGroup>

<ItemGroup>
<ContentFiles Include="..\Content\**\*.*" />
<ContentFiles Include="..\Content\**\*.*">
<InProject>false</InProject>
</ContentFiles>
</ItemGroup>

<Target Name="CopyFiles" AfterTargets="AfterBuild">
Expand Down
2 changes: 1 addition & 1 deletion build_win_release_withoutconsolewindow.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dotnet build -c release

rem removing the console window
.\Tools\editbin.exe /subsystem:windows .\Spacetris\bin\Release\net7.0\Spacetris.exe
.\Tools\editbin.exe /subsystem:windows .\Spacetris\bin\Release\net8.0\Spacetris.exe
4 changes: 2 additions & 2 deletions publish_win_release_withoutconsolewindow.cmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dotnet publish -c release

rem removing the console window
.\Tools\editbin.exe /subsystem:windows .\Spacetris\bin\Release\net7.0\Spacetris.exe
.\Tools\editbin.exe /subsystem:windows .\Spacetris\bin\Release\net7.0\publish\Spacetris.exe
.\Tools\editbin.exe /subsystem:windows .\Spacetris\bin\Release\net8.0\Spacetris.exe
.\Tools\editbin.exe /subsystem:windows .\Spacetris\bin\Release\net8.0\publish\Spacetris.exe

0 comments on commit 81d1e20

Please sign in to comment.