MVC 脚手架 "Error running selected code generator"(Microsoft.AspNet.Identity.Core.dll 被拒绝)
MVC scaffolding "Error running selected code generator" (Microsoft.AspNet.Identity.Core.dll denied)
当尝试使用 entity framework 创建一个带有视图的新控制器时,我收到以下消息:
Access to the path
'C:\Users\XXXXXXX\AppData\Local\Temp\SOMEGUID\Microsoft.AspNet.Identity.Core.dll' is denied'.
我已经看到了 following so thread,但我没有想出任何解决方案。
尝试为 Microsoft.AspNet.Identity.Core
更新 NuGet
包
例如,您可以通过在 Package Manger Console
中键入
来执行此操作
update-package Microsoft.AspNet.Identity.Core
当尝试使用 entity framework 创建一个带有视图的新控制器时,我收到以下消息:
Access to the path 'C:\Users\XXXXXXX\AppData\Local\Temp\SOMEGUID\Microsoft.AspNet.Identity.Core.dll' is denied'.
我已经看到了 following so thread,但我没有想出任何解决方案。
尝试为 Microsoft.AspNet.Identity.Core
更新 NuGet
包
例如,您可以通过在 Package Manger Console
中键入
update-package Microsoft.AspNet.Identity.Core