We expect the version of the code generation package to match the project tfm. You may install the 3.0.0 using --version 3.0.0
We expect the version of the code generation package to match the project tfm. You may install the 3.0.0 using --version 3.0.0
Already did. Version 3.0.0 doesn't work either.
I see. What is the version of your global tool?
You mean dotnet --version? It was on 3.0. Upgraded yesterday to 3.1.101
Are you using the cli tool or on Visual Studio?
Tried both. Same result on either of them.
For the cli, the tool might've been updated.
Use dotnet tool uninstall -g dotnet-aspnet-codegenerator, then dotnet tool install -g dotnet-aspnet-codegenerator --version="3.0.0"
Run your scaffolding scenario after that and let me know.