You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not have the .NET 9 SDK, but updating to the latest versions of the Aspire templates leads to VS Code picking the .NET 9 versions by default. Leads me to having "Failed to restore NuGet packages for the solution" error and putting me in a bad state.
Steps To Reproduce
Have only .NET 8 installed
Run dotnet new install Aspire.ProjectTemplates
Create new project in VS Code-> .NET Aspire Starter App -> Click "Show all template options"
Default that is selected is .NET 9 SDK but I don't have the .NET 9 SDK.
Expected Behavior
For the default to be the latest version based on the SDKs I actually have installed
OR
For C# Dev Kit to warn me and offer to help me install the .NET 9 (or whatever corresponding SDK is in the future)
Environment Information
Apple M2 Pro
Sonoma 14.2.1
VS Code Version: 1.95.3
C# Dev Kit: v.1.13.9
The text was updated successfully, but these errors were encountered:
Thanks...I think we knew this might be a situation with the new template aspect. @DamianEdwards wasn't this one of the scenarios we knew might happen without the proper TFM check on the template engine?
Describe the Issue
I do not have the .NET 9 SDK, but updating to the latest versions of the Aspire templates leads to VS Code picking the .NET 9 versions by default. Leads me to having "Failed to restore NuGet packages for the solution" error and putting me in a bad state.
Steps To Reproduce
dotnet new install Aspire.ProjectTemplates
Expected Behavior
For the default to be the latest version based on the SDKs I actually have installed
OR
For C# Dev Kit to warn me and offer to help me install the .NET 9 (or whatever corresponding SDK is in the future)
Environment Information
Apple M2 Pro
Sonoma 14.2.1
VS Code Version: 1.95.3
C# Dev Kit: v.1.13.9
The text was updated successfully, but these errors were encountered: