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

dotnet watch with aot leads to unexpected behavior #36579

Open
TanayParikh opened this issue Sep 15, 2021 · 1 comment
Open

dotnet watch with aot leads to unexpected behavior #36579

TanayParikh opened this issue Sep 15, 2021 · 1 comment
Labels
area-commandlinetools Includes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPI bug This issue describes a behavior which is not expected - a bug. feature-dotnetwatch This issue is related to the dotnet-watch command-line tool (now external) feature-hot-reload This issue is related to the Hot Reload feaature
Milestone

Comments

@TanayParikh
Copy link
Contributor

  1. Setup blazor wasm project with aot
  2. Ensure the wasm-tools workload is NOT installed
  3. Do dotnet watch

Expected: Error, missing workload, dotnet watch exits
Actual: Error, but dotnet watch is still running (and restarting) on file change, but dev server doesn't appear.

dotnet watch
watch : Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload. Press "Ctrl + R" to restart.
watch : Building...
  Determining projects to restore...
/usr/local/share/dotnet/sdk/6.0.100-rc.2.21463.12/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/tanay/dev/NoteTakingSample/NoteTakingSample.csproj]
/usr/local/share/dotnet/sdk/6.0.100-rc.2.21463.12/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload install wasm-tools [/Users/tanay/dev/NoteTakingSample/NoteTakingSample.csproj]
watch : Waiting for a file to change before restarting dotnet...
@TanayParikh TanayParikh added bug This issue describes a behavior which is not expected - a bug. area-blazor Includes: Blazor, Razor Components labels Sep 15, 2021
@TanayParikh TanayParikh changed the title dotnet watch with aot leads to dotnet watch with aot leads to unexpected behavior Sep 15, 2021
@mkArtakMSFT mkArtakMSFT added this to the Backlog milestone Sep 20, 2021
@ghost
Copy link

ghost commented Sep 20, 2021

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@mkArtakMSFT mkArtakMSFT added area-commandlinetools Includes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPI feature-blazor-aot-compilation This issue is related to AoT compilation of Blazor WebAssembly apps feature-dotnetwatch This issue is related to the dotnet-watch command-line tool (now external) feature-hot-reload This issue is related to the Hot Reload feaature and removed area-blazor Includes: Blazor, Razor Components labels Sep 20, 2021
@pranavkm pranavkm removed the feature-blazor-aot-compilation This issue is related to AoT compilation of Blazor WebAssembly apps label Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-commandlinetools Includes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPI bug This issue describes a behavior which is not expected - a bug. feature-dotnetwatch This issue is related to the dotnet-watch command-line tool (now external) feature-hot-reload This issue is related to the Hot Reload feaature
Projects
None yet
Development

No branches or pull requests

4 participants
@pranavkm @TanayParikh @mkArtakMSFT and others