-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Update SDK to 8.0.100-rc.1.23381.2 #49761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@lewing @radical @javiercn - Looks like everything is failing with
Can someone fix it? |
@eerhardt did this fail on retry? |
This is failing every leg. Check the build logs. |
@radical can you take a look? |
I'm looking at the workload issue. But there are other errors too:
|
yeah, I'm fixing those |
src/Tools/Shared/CommandLine/CommandLineApplicationExtensions.cs
Outdated
Show resolved
Hide resolved
Issue when updating to build with rc1: ``` /Users/runner/work/1/s/.dotnet/sdk/8.0.100-rc.1.23381.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: wasm-tools [/Users/runner/work/1/s/src/Components/WebAssembly/testassets/WasmLinkerTest/WasmLinkerTest.csproj] /Users/runner/work/1/s/.dotnet/sdk/8.0.100-rc.1.23381.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [/Users/runner/work/1/s/src/Components/WebAssembly/testassets/WasmLinkerTest/WasmLinkerTest.csproj] ``` Explanation: 1. This project has `RuntimeIdentifier=browser-wasm`, which triggers the workload manifests for wasm 2. But the project is *not* using blazor sdk, or the wasm-sdk. 3. The condition at https://github.com/dotnet/emsdk/blob/5466de081d350d3214c1ae68b7fca6295109d5cf/eng/nuget/Microsoft.NET.Workload.Emscripten.Current.Manifest/WorkloadManifest.targets#L12 ```xml <UsingBrowserRuntimeWorkload Condition="'$(RunAOTCompilation)' == 'true' or '$(UsingMicrosoftNETSdkBlazorWebAssembly)' != 'true' or '$(UsingMicrosoftNETSdkWebAssembly)' != 'true'" >true</UsingBrowserRuntimeWorkload> ``` .. means that if a `rid=browser-wasm` project is not using blazor sdk, or the wasm sdk, then it depends on the targets in the workload. And hence requires the workload. Solution: As a workaround set `UsingMicrosoftNETSdkWebAssembly=true` also (`UsingMicrosoftNETSdkBlazorWebAssembly` is already set to true).
…ensions.cs" This reverts commit e36a692.
sebastienros
approved these changes
Jul 31, 2023
This was referenced Jul 31, 2023
This was referenced Aug 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-infrastructure
Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Testing for dotnet/runtime#89734. Trying to see if we can repro the issue.