Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/292.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# EFCore电动工具:要执行的应用程序不存在:';上下文列表';_C#_Entity Framework Core_Ef Power Tools - Fatal编程技术网

C# EFCore电动工具:要执行的应用程序不存在:';上下文列表';

C# EFCore电动工具:要执行的应用程序不存在:';上下文列表';,c#,entity-framework-core,ef-power-tools,C#,Entity Framework Core,Ef Power Tools,我正在使用,在尝试“将DbContext与数据库进行比较”时遇到问题: 我使用的是2.5.636版。以下内容在efptparams.txt文件中: exec --depsfile "C:\Users\MSE\source\repos\MyProject\Backend\Data\bin\Debug\net5.0\Data.deps.json" --additionalprobingpath "C:\Users\MSE\.nuget\packages" -

我正在使用,在尝试“将DbContext与数据库进行比较”时遇到问题:

我使用的是2.5.636版。以下内容在efptparams.txt文件中

exec --depsfile "C:\Users\MSE\source\repos\MyProject\Backend\Data\bin\Debug\net5.0\Data.deps.json" --additionalprobingpath "C:\Users\MSE\.nuget\packages" --additionalprobingpath "C:\Program Files\dotnet\sdk\NuGetFallbackFolder" --fx-version  "C:\Users\MSE\AppData\Local\Temp\efpt\efpt.dll"  contextlist "C:\Users\MSE\source\repos\MyProject\Backend\Data\bin\Debug\net5.0\Data.dll" "C:\Users\MSE\source\repos\MyProject\Backend\MyProjectAPI\bin\Debug\net5.0\MyProjectAPI.dll" 
尝试此操作时,输出窗口中显示以下内容:

System.ArgumentException: Error:
The application to execute does not exist: 'contextlist'

Parameter name: processResult
   at async Task<IEnumerable<string>> EFCorePowerTools.Handlers.Compare.CompareHandler.GetDbContextTypesAsync(string outputPath, Project project) in C:/projects/efcorepowertools/src/GUI/EFCorePowerTools/Handlers/Compare/CompareHandler.cs:line 170
   at async Task EFCorePowerTools.Handlers.Compare.CompareHandler.HandleComparisonAsync(string outputPath, Project project) in C:/projects/efcorepowertools/src/GUI/EFCorePowerTools/Handlers/Compare/CompareHandler.cs:line 84
System.ArgumentException:错误:
要执行的应用程序不存在:“contextlist”
参数名称:processResult
在C:/projects/EFCorePowerTools/src/GUI/EFCorePowerTools/Handlers/Compare/CompareHandler.GetDbContextTypesAsync(字符串输出路径,项目项目项目)中的异步任务EFCorePowerTools.handler.Compare.CompareHandler.GetDbContextTypesAsync(字符串输出路径,项目项目项目项目项目):第170行
在C:/projects/EFCorePowerTools/src/GUI/EFCorePowerTools/Handlers/Compare/CompareHandler.cs:line 84中的异步任务EFCorePowerTools.handler.Compare.HandleComparisonAsync(字符串输出路径,项目项目)中

请在%temp%中共享正在使用的版本和efptparams.txt的内容folder@ErikEJ我已经回答了这个问题。我已经尝试在最新的每日版本中进行修复。您是否安装了3.1运行时?@ErikEJ我不这么认为。我将查看您的最新版本。谢谢