-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
Milestone
Description
Repro steps:
- Install .NET 5 SDK
- Install .NET 6 Preview 5 SDK
- Install the .NET WebAssembly workload:
dotnet workload install microsoft-net-sdk-blazorwebassembly-aot - Create a Blazor WebAssembly project targeting .NET 5:
dotnet new blazorwasm -ho -o MinBlazorNet5 -f net5.0 - Publish the Server project:
dotnet publish -c Release
Expected result:
- Publish success as normally with .NET 5
Actual result:
~\Desktop\MinBlazorNet5\Server> dotnet publish -c Release
Microsoft (R) Build Engine version 17.0.0-preview-21302-02+018bed83d for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore...
All projects are up-to-date for restore.
You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
MinBlazorNet5.Shared -> C:\Users\daroth\Desktop\MinBlazorNet5\Shared\bin\Release\net5.0\MinBlazorNet5.Shared.dll
MinBlazorNet5.Client -> C:\Users\daroth\Desktop\MinBlazorNet5\Client\bin\Release\net5.0\MinBlazorNet5.Client.dll
MinBlazorNet5.Client (Blazor output) -> C:\Users\daroth\Desktop\MinBlazorNet5\Client\bin\Release\net5.0\wwwroot
MinBlazorNet5.Server -> C:\Users\daroth\Desktop\MinBlazorNet5\Server\bin\Release\net5.0\MinBlazorNet5.Server.dll
MinBlazorNet5.Server -> C:\Users\daroth\Desktop\MinBlazorNet5\Server\bin\Release\net5.0\MinBlazorNet5.Server.Views.dll
Optimizing assemblies for size, which may change the behavior of the app. Be sure to test after publishing. See: httpserror MSB4018: The "IcallTableGenerator" task failed unexpectedly. [C:\Users\daroth\Desktop\MinBlazorNet5\Client\MinBlazorNet5.Client.csproj]
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0-preview.5.21301.5\Sdk\WasmApp.targets(393,4): error MSB4018: System.NotImplementedException: System.Threading.Thread [C:\Users\daroth\Desktop\MinBlazorNet5\Client\MinBlazorNet5.Client.csproj]
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0-preview.5.21301.5\Sdk\WasmApp.targets(393,4): error MSB4018: at IcallTableGenerator.AppendType(StringBuilder sb, Type t) in WasmAppBuilder.dll:token 0x6000011+0x3a6 [C:\Users\daroth\Desktop\MinBlazorNet5\Client\MinBlazorNet5.Client.csproj]
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0-preview.5.21301.5\Sdk\WasmApp.targets(393,4): error MSB4018: at IcallTableGenerator.AppendType(StringBuilder sb, Type t) in WasmAppBuilder.dll:token 0x6000011+0x2a [C:\Users\daroth\Desktop\MinBlazorNet5\Client\MinBlazorNet5.Client.csproj]
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0-preview.5.21301.5\Sdk\WasmApp.targets(393,4): error MSB4018: at IcallTableGenerator.ProcessType(Type type) in WasmAppBuilder.dll:token 0x6000010+0xb5 [C:\Users\daroth\Desktop\MinBlazorNet5\Client\MinBlazorNet5.Client.csproj]
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0-preview.5.21301.5\Sdk\WasmApp.targets(393,4): error MSB4018: at IcallTableGenerator.GenIcallTable(String runtimeIcallTableFile, String[] assemblies) in WasmAppBuilder.dll:token 0x600000d+0x44 [C:\Users\daroth\Desktop\MinBlazorNet5\Client\MinBlazorNet5.Client.csproj]
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0-preview.5.21301.5\Sdk\WasmApp.targets(393,4): error MSB4018: at IcallTableGenerator.Execute() in WasmAppBuilder.dll:token 0x600000c+0x4c [C:\Users\daroth\Desktop\MinBlazorNet5\Client\MinBlazorNet5.Client.csproj]
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0-preview.5.21301.5\Sdk\WasmApp.targets(393,4): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() in Microsoft.Build.dll:token 0x60015c6+0x3e [C:\Users\daroth\Desktop\MinBlazorNet5\Client\MinBlazorNet5.Client.csproj]
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0-preview.5.21301.5\Sdk\WasmApp.targets(393,4): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) in Microsoft.Build.dll:token 0x6001446+0x804 [C:\Users\daroth\Desktop\MinBlazorNet5\Client\MinBlazorNet5.Client.csproj]
Reactions are currently unavailable