Open Dreamoochy opened 10 months ago
Similar issue, I have a coder-server with dotnet (tried both with 6 and 7) installed, and when I try to install the c# extension it installs and when attempted to load a .cs file it says
Failed to find dotnet info from path, falling back to acquire runtime via ms-dotnettools.vscode-dotnet-runtime Could not find extension target platform in...
I had the same issue but solved it by manually putting the path in the extension config, hope it helps
get sdk path
dotnet --list-sdks
Extensions> C# configuration:
I had the same issue but solved it by manually putting the path in the extension config
Thanks, it works. Partially.
${env:DOTNET_ROOT}
(or I don't know how to use it properly). And I need it to keep the portability (on MS Windows).I'm having issues ith this as well . I'm interested how you made it portable on a USB flashdrive?
I'm having issues ith this as well . I'm interested how you made it portable on a USB flashdrive?
To be honest, it's not really portable. Basically it's just able to run from a USB. I've created start.cmd
file which sets some session environment variables (dotnet, powershell etc) and adds them to PATH
.
I have a portable VSCodium (1.82) and portable dotnet sdk (7.0.400). VSCodium is launched via custom cmd-file where DOTNET_ROOT environment variable is set.
In the VSCodium settings there're the following lines:
When I launch VSCodum, I get an error:
I can't remember such a behaviour with the previous versions 1.2x. But I'm not sure it's a free-omnisharp issue.