Open JoeSherwood335 opened 3 years ago
Maybe #1393 ?
per #1393, i am using this work around
I have reported issues in the past especially concerning the UI side of the scaffolder, there is no way to track it and get others peoples feedback.
IMHO This place is a much better options - they should pull from here.
Same problem:
Ubuntu 20.04
dotnet --info
lSDK de .NET Core (reflejando cualquier global.json): Version: 3.1.403 Commit: 9e895200cd
Entorno de tiempo de ejecución: OS Name: ubuntu OS Version: 20.04 OS Platform: Linux RID: ubuntu.20.04-x64 Base Path: /usr/share/dotnet/sdk/3.1.403/
Host (useful for support): Version: 3.1.9 Commit: 774fc3d6a9
.NET Core SDKs installed: 3.1.403 [/usr/share/dotnet/sdk]
.NET Core runtimes installed: Microsoft.AspNetCore.App 3.1.9 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.9 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download
dotnet aspnet-codegenerator --help
Usage: aspnet-codegenerator [arguments] [options]
Arguments: generator Name of the generator. Check available generators below.
Options:
-p|--project Path to .csproj file in the project.
-n|--nuget-package-dir
-c|--configuration Configuration for the project (Possible values: Debug/ Release)
-tfm|--target-framework Target Framework to use. (Short folder name of the tfm. eg. net46)
-b|--build-base-path
--no-build
No code generators are available in this project.Add Microsoft.VisualStudio.Web.CodeGeneration.Design package to the project as a NuGet package reference.
RunTime 00:00:01.34
project.csproj
`
`
Note: If filing an issue related to using Scaffolding within Microsoft Visual Studio, please file an issue on the Microsoft Developer Community instead of here. This can be accomplished from Visual Studio by clicking on Help > Send Feedback, and choosing the appropriate action.
Steps to reproduce:
dotnet new mvc --auth Individual dotnet tool install --global dotnet-aspnet-codegenerator --version 3.1.4 dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design dotnet restore
dotnet aspnet-codegenerator
Expected behavior:
Actual behavior:
Additional information about the project being scaffolded, such as: