microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
192 stars 6 forks source link

Newly added Nuget support does not work if .NET 9.0 sdk is installed or project created with .NET 9.0 #1036

Closed TanvirArjel closed 1 week ago

TanvirArjel commented 1 month ago

Describe the Issue

Adding, updating, and removing Nuget packages do not work if .NET 9.0 SDK is installed in the machine or project created with .NET 9.0.

Steps To Reproduce

  1. Install .NET 9.0 latest sdk
  2. Create a project with .NET 9.0
  3. Try to add a nuget package
  4. It will show "Package not found."

Expected Behavior

It should work as it is working without .NET 9.0 installed.

Environment Information

OS: MacOS - 14.4.1 VsCode Version: 1.87.2 Extension Version: v1.5.8 (pre-release)

jebriede commented 2 weeks ago

@TanvirArjel thanks for reaching out. What version of the .NET SDK 9.0 are you using when you reproduce this issue, please? Thanks!

TanvirArjel commented 2 weeks ago

@jebriede Last time I tried with SDK 9.0.100-preview.2 Not sure whether it still persists with SDK 9.0.100-preview.3

github-actions[bot] commented 2 weeks ago

@jebriede, the 'needs-more-info' label has been removed upon receiving further response from the original bug filer.

jebriede commented 2 weeks ago

Thanks @TanvirArjel! I suspect I may know why this is happening, but to be sure, can you please let me know what you are seeing in the Output Pane under the NuGet output channel? Please be sure to redact and remove any personal information (if there is any) before providing it here. What I'm looking for is what general error message may be logged to the Output pane. Thanks!

TanvirArjel commented 1 week ago

I see the issue has been fixed in the latest version of the extension.

github-actions[bot] commented 1 week ago

@jebriede, the 'needs-more-info' label has been removed upon receiving further response from the original bug filer.