Scaffolding: code generator in .NET 3.1 does not work properly in Visual Studio.

Created on 25 Mar 2021  路  2Comments  路  Source: dotnet/Scaffolding

Error :
{ There was an error running the selected code generator :
'Package restore failed. Rolling back package changes for [Project-Name] ' }

dotnet version : 3.1
Web.CodeGeneration.Design version : 3.1.5

Note : The problem is not due to the caching of Visual Studio or the build of the program.

Most helpful comment

You need matching packages in the project file. Roll them back until you have a matching set and it works fine.

All 2 comments

Same issue with .NET Core 3.1 and Web.CodeGeneration.Design 3.1.5

You need matching packages in the project file. Roll them back until you have a matching set and it works fine.

Was this page helpful?
0 / 5 - 0 ratings