fettle icon indicating copy to clipboard operation
fettle copied to clipboard

crash on run. 对路径“AutoMapper.dll”的访问被拒绝。

Open hyabean opened this issue 7 years ago • 1 comments

E:\Code\DevelopmentDepartment\source\OMDCCQuotes\src\OMDCCQuotes>packages\Fettle.Console.0.4.1\tools\Fettle.Console.exe -c fettle.config.yml Fettle v0.4.1 Test coverage analysis starting... ..................... ..An error ocurred that Fettle didn't expect. System.AggregateException: 发生一个或多个错误。 ---> System.UnauthorizedAccessException: 对路径“AutoMapper.dll”的访问被拒绝。 在 System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data) 在 System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) 在 Fettle.Core.CoverageAnalyser.<AnalyseCoverage>d__5.MoveNext() 位置 c:\dev\fettle\src\Core\CoverageAnalyser.cs:行号 87 --- 内部异常堆栈跟踪的结尾 --- 在 System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) 在 System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) 在 System.Threading.Tasks.Task1.get_Result() 在 Fettle.Console.Program.AnalyseCoverage(ICoverageAnalyser coverageAnalyser, IOutputWriter outputWriter, Config config) 位置 c:\dev\fettle\src\Console\Program.cs:行号 165 在 Fettle.Console.Program.InternalEntryPoint(String[] args, Func3 mutationTestRunnerFactory, Func2 coverageAnalyserFactory, ISourceControlIntegration sourceControlIntegration, IOutputWriter outputWriter) 位置 c:\dev\fettle\src\Console\Program.cs:行号 88 ---> (内部异常 #0) System.UnauthorizedAccessException: 对路径“AutoMapper.dll”的访问被拒绝。 在 System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data) 在 System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) 在 Fettle.Core.CoverageAnalyser.<AnalyseCoverage>d__5.MoveNext() 位置 c:\dev\fettle\src\Core\CoverageAnalyser.cs:行号 87<---

hyabean avatar Dec 21 '18 09:12 hyabean

Hi @jhy871167495, thanks for the report.

It seems that Fettle was unable to delete the temporary directory that it created.

Are you running Fettle.Console.exe in a command prompt as an Administrator user? If not can you try doing that, to rule out a permissions issue?

oliwennell avatar Dec 22 '18 11:12 oliwennell