Open alfadb opened 9 months ago
This has been fixed in next release. Should be available in 0.5.*
This has been fixed in next release. Should be available in 0.5.*
Ok, Thanks.
Error running command csdevkit.addNewFile: Failed with ExitCode(6) Details No templates found matching: 'class'. To list installed templates, run: dotnet new --list To search for the templates on NuGet.org, run: dotnet new class --search . This is likely caused by the extension that contributes csdevkit.addNewFile.
Still getting this issue in VS Code C# dev kit version: v1.0.14
Same here, I'm still getting the same error when I'm trying to create new file (Class etc)
Environment Information Ubuntu 20.04.5 LTS VSCode Version: 1.84.2 Extension Version: .NET Extension Pack v1.0.13
Same here, I'm getting the same error when I try to create a new file using Solution Explorer
Environment Information macOS Sonoma : 14.1.2 (23B92) VSCode version: 1.85.1 (Universal) Extension Version: v1.1.16
I'm also having the same issue.
Environment macOS Sonoma : 14.1.2 Apple M2 Pro ARM64 VSCode version: 1.85.1 Extension Version: v1.1.16
I'm having the same issue when I utilize the WSL Ubuntu 20.04 but everything works just fine when I use the C# Dev Kit natively on Windows. Please fix the WSL Ubuntu.
Environment Windows 11 running Ubuntu 20.04.6 LTS via WSL VSCode: 1.85.1 Extension version: 1.2.5 (Pre-release) or 1.2.4
I also have the same issue here.
Environment: Windows 11 VSCode: 1.85.1 Extension version(C# Dev Kit): v1.1.16
I also have the same issue here.
Environment: Windows 11 VSCode: 1.85.1 Extension version(C# Dev Kit): v1.1.16
Same setup, same issue. Also same issue when I switch to the Pre-Release version. Creating folders works just fine
I'm having the same issue
Environment: Windows 10 running Ubuntu 22.04.3 LTS via WSL2 VSCode: 1.85.1 Extension version: 1.2.7
Reopening the ticket. While we fixed this when using 7.0 SDK, the error code in earlier SDK was different giving rise to error.
Same setup, same issue. Also same issue when I switch to the Pre-Release version. Creating folders works just fine
With C# Dev kit now at v.1.2.7, I no longer get this error.
I'm still having the same issue:
Error running command csdevkit.addNewFile: Failed with ExitCode(6) Details No templates found matching: 'class'. To list installed templates, run: dotnet new --list To search for the templates on NuGet.org, run: dotnet new class --search . This is likely caused by the extension that contributes csdevkit.addNewFile.
Environment:
i had the same issue using linux Ubuntu
I was able to solve it by :
dotnet new --install Vio.Dotnet.Templates
dotnet new --install Vio.Dotnet.Templates
This fixed the issue for me as well
Yes, as a workaround, this worked for me too: dotnet new --install Vio.Dotnet.Templates
.
Then using "Add New File..." menus worked.
Context VSCode: 1.86.0 C#: 2.15.30 C# Dev Kit: 1.3.10
Funcionou para mim também: dotnet new --install Vio.Dotnet.Templates.
VSCode: 1.87.1 C#: 2.22.3 Kit de desenvolvimento C#: 1.4.29
dotnet new --install Vio.Dotnet.Templates is work for macos
Describe the Issue
When I create a new class from solution explorer, I got a error.
Steps To Reproduce
To list installed templates similar to 'class', run: dotnet new list class To search for the templates on NuGet.org, run: dotnet new search class
For details on the exit code, refer to https://aka.ms/templating-exit-codes#103 . This is likely caused by the extension that contributes csdevkit.addNewFile.