Skip to content

[NETSDKE2E] [Mac][Linux] Publishing Blazor WebAssembly Standalone App failed with error MSB3021with .NET 11 SDK binary installer on Mac or Linux #52635

@NicoleWang001

Description

@NicoleWang001

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

REGRESSION INFO: Works well on 10.0

INSTALL STEPS:

A clean Mac or Linux OS ,e.g Ubuntu 15.10
Download a binary for .NET 11 Preview SDK from https://aka.ms/dotnet/11.0.1xx/daily/dotnet-sdk-linux-x64.tar.gz
Extract the downloaded file and use the export command to set DOTNET_ROOT to the extracted folder's location and then ensure .NET is in PATH.

Expected Behavior

Publishing works well.

Steps To Reproduce

  1. Create a blazorwasm project dotnet new blazorwasm -o mybalzorwasm
  2. Publish dotnet publish
  3. Observe the results

Exceptions (if any)

Publishing failed with error MSB3021

Image

.NET Version

11.0.100-preview.1.26069.103

Anything else?

Note:

  1. This issue is only reproduced with Blazor WebAssembly Standalone App and .NET 11 SDK binary installer on Mac or Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-AspNetCoreRazorSDK, BlazorWebAssemblySDK, StaticWebAssetsSDK

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions