Skip to content

Commit

Permalink
updating builds/publish profiles for .net 6 single file releases
Browse files Browse the repository at this point in the history
  • Loading branch information
gingemonster committed Jan 26, 2023
1 parent ad82240 commit de108a1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions GameBoyPngConverter/GameBoyPngConverter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<PublishReadyToRun>true</PublishReadyToRun>
<RuntimeIdentifiers>win-x64;win-x86;linux-x64;osx-x64;</RuntimeIdentifiers>
<AssemblyVersion>2.0.0</AssemblyVersion>
<FileVersion></FileVersion>
<Version>$(VersionPrefix)2.0.0</Version>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishProtocol>FileSystem</PublishProtocol>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<TargetFramework>netcoreapp2.1</TargetFramework>
<PublishDir>bin\Release\netcoreapp2.1\publish\linux-x64</PublishDir>
<TargetFramework>net6.0</TargetFramework>
<PublishDir>bin\Release\net6.0\publish\linux-x64</PublishDir>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<_IsPortable>false</_IsPortable>
Expand Down
4 changes: 2 additions & 2 deletions GameBoyPngConverter/Properties/PublishProfiles/Osx-x64.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishProtocol>FileSystem</PublishProtocol>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<TargetFramework>netcoreapp2.1</TargetFramework>
<PublishDir>bin\Release\netcoreapp2.1\publish\osx-x64</PublishDir>
<TargetFramework>net6.0</TargetFramework>
<PublishDir>bin\Release\net6.0\publish\osx-x64</PublishDir>
<RuntimeIdentifier>osx-x64</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<_IsPortable>false</_IsPortable>
Expand Down
4 changes: 2 additions & 2 deletions GameBoyPngConverter/Properties/PublishProfiles/Win-x64.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishProtocol>FileSystem</PublishProtocol>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<TargetFramework>netcoreapp2.1</TargetFramework>
<PublishDir>bin\Release\netcoreapp2.1\publish\win-x64</PublishDir>
<TargetFramework>net6.0</TargetFramework>
<PublishDir>bin\Release\net6.0\publish\win-x64</PublishDir>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<_IsPortable>false</_IsPortable>
Expand Down
4 changes: 2 additions & 2 deletions GameBoyPngConverter/Properties/PublishProfiles/Win-x86.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishProtocol>FileSystem</PublishProtocol>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<TargetFramework>netcoreapp2.1</TargetFramework>
<PublishDir>bin\Release\netcoreapp2.1\publish\win-x86</PublishDir>
<TargetFramework>net6.0</TargetFramework>
<PublishDir>bin\Release\net6.0\publish\win-x86</PublishDir>
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<_IsPortable>false</_IsPortable>
Expand Down

0 comments on commit de108a1

Please sign in to comment.