Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import "Microsoft.WebTools.Scaffolding.Core.ScaffolderFactory.FactoryConfigEvaluator" could not be satisfied

I am using Microsoft Visual Studio Community 2019 Preview - Version 16.8.0 Preview 1.0 . I try to scaffolding ASP.NET Core Identity files. I catch error

Import "Microsoft.WebTools.Scaffolding.Core.ScaffolderFactory.FactoryConfigEvaluator" could not be satisfied.

enter image description here

How to fix it?

like image 627
Do Nhu Vy Avatar asked Aug 20 '20 10:08

Do Nhu Vy


1 Answers

Go to %ProgramData%\Microsoft\VisualStudio\Packages

Find something like this

Microsoft.VisualStudio.Web.Scaffolding,version=16.6.741.31162,chip=neutral,language=en-US

For example, full path

"C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.Web.Scaffolding,version=16.6.741.31162,chip=neutral,language=en-US"

Close Visual Studio. Delete all files inside this folder. Launch Visual Studio Installer. choose Repair.

enter image description here

caution: disadvantage, the download file size is too large (4.8 GB)

enter image description here

See more at https://github.com/dotnet/Scaffolding/issues/1364

like image 50
Do Nhu Vy Avatar answered Oct 01 '22 07:10

Do Nhu Vy