dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.73k stars 1.07k forks source link

[Aspire]: dotnet watch crashes after a few edits using Visual Studio #44317

Open davidfowl opened 3 weeks ago

davidfowl commented 3 weeks ago

Using this project https://github.com/dotnet/aspire/tree/main/playground/mongo/Mongo.AppHost, running dotnet watch and making 3 edits to this line https://github.com/dotnet/aspire/blob/8abcdf7c7c5e2f0ea31db330e989450c9ccb8cdc/playground/mongo/Mongo.ApiService/Program.cs#L18.

Steps (using Visual Studio)

Video:

https://github.com/user-attachments/assets/59510d0e-11bf-4835-ba53-9050d5f314b1

davidfowl commented 3 weeks ago

Related https://github.com/dotnet/sdk/issues/44260 (seems like it repros on 9.0.100 as well)