This repository was archived by the owner on Sep 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +13
-11
lines changed Expand file tree Collapse file tree 5 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN apt-get update; \
3535ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
3636
3737# Build the app
38- RUN dotnet publish -c Release --self-contained true - r linux-x64 -o ./publish
38+ RUN dotnet publish -c Release -r linux-x64 -o ./publish
3939
4040# Copy the app to a minimal Linux build
4141FROM mcr.microsoft.com/dotnet/aspnet:6.0
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22 <PropertyGroup >
3- <TargetFramework >net6 .0</TargetFramework >
3+ <TargetFramework >net5 .0</TargetFramework >
44 <DefaultItemExcludes >$(DefaultItemExcludes);.DS_Store</DefaultItemExcludes >
55 <EnableDefaultContentItems >false</EnableDefaultContentItems >
66 <ApplicationIcon >wwwroot/img/favicons/app.ico</ApplicationIcon >
1212 <PublishReadyToRun >true</PublishReadyToRun >
1313 <PublishTrimmed >true</PublishTrimmed >
1414 <PublishSingleFile >true</PublishSingleFile >
15+ <SelfContained >true</SelfContained >
1516 <IncludeAllContentForSelfExtract >true</IncludeAllContentForSelfExtract >
1617 <PublishReadyToRunShowWarnings >true</PublishReadyToRunShowWarnings >
1718 <DefineConstants >RELEASE</DefineConstants >
19+ <PublishDir >$(ProjectDir)bin/$(Configuration)/publish</PublishDir >
1820 </PropertyGroup >
1921 <ItemGroup >
2022 <Watch Include =" **\*.cs;**\*.js;**\*.html;**\*.elm;**\*.scss" Exclude =" bin\**\*;obj\**\*;Elm\tests\*;Elm\elm-stuff;\*;wwwroot\js\main.min.js;wwwroot\js\creator.min.js" />
118120 </ItemGroup >
119121
120122 <ItemGroup >
121- <PackageReference Include =" Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version =" 6 .0.2 " />
123+ <PackageReference Include =" Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version =" 5 .0.14 " />
122124 </ItemGroup >
123125
124126 <Target Name =" BuildDebug" BeforeTargets =" BeforeBuild" Condition =" '$(Configuration)'=='Debug'" >
Original file line number Diff line number Diff line change 11if [ ! -d build ]; then
22 mkdir build
33fi
4- dotnet publish -c Release --self-contained true - r linux-x64 VirtualGloomhavenBoard
5- cp VirtualGloomhavenBoard/bin/Release/net5.0/linux-x64/ publish/VirtualGloomhavenBoard build/vgb-linux-x64
4+ dotnet publish -c Release -r linux-x64 VirtualGloomhavenBoard
5+ cp VirtualGloomhavenBoard/bin/Release/publish/VirtualGloomhavenBoard build/vgb-linux-x64
Original file line number Diff line number Diff line change 1- dotnet publish -c Release --self-contained true - r win-x64 VirtualGloomhavenBoard
2- copy VirtualGloomhavenBoard\bin\Release\net5.0\win-x64\ publish\VirtualGloomhavenBoard.exe build\vgb-win-x64.exe
1+ dotnet publish -c Release -r win-x64 VirtualGloomhavenBoard
2+ copy VirtualGloomhavenBoard\bin\Release\publish\VirtualGloomhavenBoard.exe build\vgb-win-x64.exe
33
4- dotnet publish -c Release --self-contained true - r win-x86 VirtualGloomhavenBoard
5- copy VirtualGloomhavenBoard\bin\Release\net5.0\win-x86\ publish\VirtualGloomhavenBoard.exe build\vgb-win-x86.exe
4+ dotnet publish -c Release -r win-x86 VirtualGloomhavenBoard
5+ copy VirtualGloomhavenBoard\bin\Release\publish\VirtualGloomhavenBoard.exe build\vgb-win-x86.exe
Original file line number Diff line number Diff line change 11if [ ! -d build ]; then
22 mkdir build
33fi
4- dotnet publish -c Release --self-contained true - r osx-x64 VirtualGloomhavenBoard
5- cp VirtualGloomhavenBoard/bin/Release/net5.0/osx-x64/ publish/VirtualGloomhavenBoard build/vgb-osx-x64
4+ dotnet publish -c Release -r osx-x64 VirtualGloomhavenBoard
5+ cp VirtualGloomhavenBoard/bin/Release/publish/VirtualGloomhavenBoard build/vgb-osx-x64
You can’t perform that action at this time.
0 commit comments