-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Still a problem with Dotnet core 3.1.301 #1382
Comments
possible dup of #1384 |
I just installed dotnet 5 in my ubuntu 20.04, was following the rest api tutorial and this problem still exists. |
Same problem here using dotnet 5. |
Same using dotnet 5 on Linux |
Try the following:
|
@Rick-Anderson I tried but it still didn't work:
|
@lampsbr we've got thousands of customers reporting success. Most likely, you're missing a step or something is wrong with your computer. If you're confident you haven't missed a step, you could try the following:
|
There is a templates folder in /home/yourusername/.nuget/packages/microsoft.visualstudio.web.codegenerators.mvc/5.0.1/, which contains many templates needed, but in ubuntu, Vscode can't use it correctly. So you can copy whole Templates folder in your project folder(without two identity template subfolders). |
fixed for dotnet-scaffold, closing., please use the new 'dotnet-scaffold' tool. Blog here |
Still a problem with Dotnet core 3.1.301
the output of
dotnet --info
output of
dotnet aspnet-codegenerator controller -name ServerController -async -api -m Server -dc ServerContext -outDir Controllers
output of
ls -l ~/.nuget/packages/microsoft.visualstudio.web.codegenerators.mvc/3.1.4/Templates/ControllerGenerator/
Originally posted by @Jaredes0514 in #559 (comment)
The text was updated successfully, but these errors were encountered: