Open bradykelly opened 1 year ago
Thank you for filling out the report and taking the time to do so. 😄 If you try to run dotnet
on the terminal, and dotnet --info
, what do you get? Does it work after having rebooted the machine? It's possible the SDK install had not completed and was pending a reboot.
If not, this would be an interesting case of dotnet not being detected/installed correctly.
I have same problem with VScode running from WSL and dotnet managed by asdf.
dotnet --info gives this
`dotnet --info .NET SDK (reflecting any global.json): Version: 6.0.418 Commit: 21f869269c
Runtime Environment: OS Name: ubuntu OS Version: 22.04 OS Platform: Linux RID: ubuntu.22.04-x64 Base Path: /home/ilyus/.asdf/installs/dotnet/6.0.418/sdk/6.0.418/
global.json file: Not found
Host: Version: 6.0.26 Architecture: x64 Commit: dc45e96840
.NET SDKs installed: 6.0.418 [/home/ilyus/.asdf/installs/dotnet/6.0.418/sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 6.0.26 [/home/ilyus/.asdf/installs/dotnet/6.0.418/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.26 [/home/ilyus/.asdf/installs/dotnet/6.0.418/shared/Microsoft.NETCore.App]
Download .NET: https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs: https://aka.ms/dotnet/runtimes-sdk-info`
This seems like a different issue, thank you for reporting info though. Does asdf use distro or microsoft feeds, do you know this information? I would advise against using it and using the standard install instructions on the docs -- as the distro and microsoft feeds are the scenarios we know the most about and check to make sure work properly
Describe the bug
After installing the C# Dev Kit extension, I was prompted to install the .NET SDK. I accepted the prompt and was taken to the SDK download site in my browser. I downloaded and installed the SDK, then trued the
.NET: New Project
command in VS Code.Please attach log file(s) here if you have any:
Please attach the log file located at c:\Users\ME\AppData\Roaming\Code\logs\20230928T195451\window1\exthost\ms-dotnettools.vscode-dotnet-runtime\DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1695951780134.txt. Note that this file may contain personal data:
Attached Logs
DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1695951780134.txt
DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1695951413899.txt
DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1695925487084.txt
Extension Version: 0.4.10
Other Info:
Errors trying to create new project
Reproduction Steps
.NET: New project...
command from command palette.Expected behavior
I don't know, I have just installed the extension so I have never seen it working. I guess it should have created a folder/file structure for a C# project.
Exceptions & Errors (if any)
Further technical details
Your VSCode Version: 1.88.2
The version of the extension that's on your machine: 0.4.10
Your operating system details: Windows 10 Pro v10.0.19045