Codetemplate in . net core [scaffolding]

Asked

Viewed 115 times

3

As in . net core 2.0 I do to create custom scaffolding templates?

On the old system . net 4.6 copied the Codetemplates folder to the project.

No . net core < 2 instavala o

Microsoft.VisualStudio.Web.CodeGenerators.Mvc

Then accessed the folder:

C:\Users\{User}\.nuget\packages\Microsoft.VisualStudio.Web.CodeGenerators.Mvc\1.0.0-preview2-final\Templates

Copy folder to project and work.

inserir a descrição da imagem aqui

But now with . net 2.0? while installing Microsoft.VisualStudio.Web.CodeGenerators.Mvc 2.0 and Microsoft.VisualStudio.Web.CodeGeneration.Tools 2.0 nothing happens.

1 answer

1


  • executei via console was, then tested via visual studio was, either the console 'desentupiu' or the nuget was in trouble since Sunday for that package and now back to work

Browser other questions tagged

You are not signed in. Login or sign up in order to post.