dotnet ef database update 提示 ef.targets is denied 什么情况E:\Resort.Core\Core.Dal>dotnet ef database updateSystem.UnauthorizedAccessException: Access to the path 'E:\Resort.Core\Core.Dal\obj\Core.Dal.csproj.EntityFrameworkCore.targets' is denied.at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,FileShare share, Int32 bufferSize, FileOptions options)at Microsoft.EntityFrameworkCore.Tools.Project.FromFile(String file, String buildExtensionsDir, String framework, String configuration, String runtime)at Microsoft.EntityFrameworkCore.Tools.RootCommand.Execute()at Microsoft.DotNet.Cli.CommandLine.CommandLineApplication.Execute(String[] args)at Microsoft.EntityFrameworkCore.Tools.Program.Main(String[] args)Access to the path 'E:\Resort.Core\Core.Dal\obj\Core.Dal.csproj.EntityFrameworkCore.targets' is denied.
添加回答
举报
0/150
提交
取消