Skip to content
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

Create 6.0 BlazorWebAssemblyApp project with the command and run the "dotnet publish" command, for the first time meet error:'MSB4018: The "GetFileHash" task failed unexpectedly'. #40328

Closed
1 of 3 tasks
v-wenkecheng opened this issue Feb 21, 2022 · 4 comments
Labels
area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly

Comments

@v-wenkecheng
Copy link

v-wenkecheng commented Feb 21, 2022

Azure DevOps work item: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1484614?src=WorkItemMention&src-action=artifact_link

INSTALL STEPS
1.Clean M1 macOS machine
2. Install SDK 6.0.200 arm64 from:https://dotnet.microsoft.com/en-us/download/dotnet/6.0

Testcases Affected
[6.0]BlazorWebAssemblyWithPWANoAuth
[6.0]SignalRWithBlazorWebAssembly

Platform

  • Windows
  • macOS
  • Linux

Repro Steps

  1. Open terminal.
  2. Rundotnet new blazorwasm -o BlazorWasmApp_net60the command line.
  3. cd BlazorWasmApp_net60
  4. Run dotnet run
  5. Run dotnet publish

Actual Result

  1. Run the "dotnet publish" command, for the first time meet error:'MSB4018: The "GetFileHash" task failed unexpectedly'.
    MicrosoftTeams-image (8)
  2. Run the "dotnet publish" command again a second time, it will work fine, no error.

MicrosoftTeams-image (9)

The following publish error file is IDELog.
publish error.rtf.zip

EXPECTED
Running the "dotnet publish" command with the command works fine without errors.

@v-wenkecheng v-wenkecheng changed the title Create a 6.0BlazorWebAssemblyApp project with the command and run the "dotnet publish" command, for the first time meet error:'MSB4018: The "GetFileHash" task failed unexpectedly'. Create 6.0 BlazorWebAssemblyApp project with the command and run the "dotnet publish" command, for the first time meet error:'MSB4018: The "GetFileHash" task failed unexpectedly'. Feb 21, 2022
@javiercn javiercn added area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly labels Feb 21, 2022
@SteveSandersonMS SteveSandersonMS added this to the .NET 7 Planning milestone Feb 21, 2022
@ghost
Copy link

ghost commented Feb 21, 2022

Thanks for contacting us.

We're moving this issue to the .NET 7 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@mkArtakMSFT
Copy link
Member

Closing as the issues was fixed internally.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 22, 2022
@danroth27 danroth27 reopened this May 5, 2022
@danroth27
Copy link
Member

Internal tracking issue was reactivated.

@mkArtakMSFT
Copy link
Member

Closing as the internal ticket has been resolved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly
Projects
None yet
Development

No branches or pull requests

5 participants