diff --git a/.github/workflows/azure-swa.yml b/.github/workflows/azure-swa.yml index 9c7faeb..d1081c6 100644 --- a/.github/workflows/azure-swa.yml +++ b/.github/workflows/azure-swa.yml @@ -14,13 +14,13 @@ jobs: with: submodules: recursive - - name: Setup .NET 7 + - name: Setup .NET 8 uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.100 + dotnet-version: 8.0.100 - name: Install wasm-tools - run: dotnet workload install wasm-tools wasm-experimental + run: dotnet workload install wasm-tools - name: Install DotNetCompress run: dotnet tool install --global DotNetCompress --version 1.0.0-preview.7 --no-cache diff --git a/Solitaire.Browser/AppBundle/main.js b/Solitaire.Browser/AppBundle/main.js index 0dbe2e4..83bf6ec 100644 --- a/Solitaire.Browser/AppBundle/main.js +++ b/Solitaire.Browser/AppBundle/main.js @@ -10,4 +10,4 @@ const dotnetRuntime = await dotnet const config = dotnetRuntime.getConfig(); -await dotnetRuntime.runMainAndExit(config.mainAssemblyName, [window.location.search]); \ No newline at end of file +await dotnetRuntime.runMain(config.mainAssemblyName, [window.location.search]); \ No newline at end of file diff --git a/Solitaire.sln b/Solitaire.sln index d56e8b8..7b34e81 100644 --- a/Solitaire.sln +++ b/Solitaire.sln @@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{7612299B ProjectSection(SolutionItems) = preProject Directory.Build.props = Directory.Build.props nuget.config = nuget.config + .github\workflows\azure-swa.yml = .github\workflows\azure-swa.yml EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Solitaire.Browser", "Solitaire.Browser\Solitaire.Browser.csproj", "{9CA615F0-68DC-4D8A-8C63-AB32ADD25BF5}"