场景:DLL文件已经单独引入了进来,代码编译正常,但运行程序报错。操作如下:

1、把该文件生成属性改为:

netcore:Could not load file or assembly 系统找不到指定的文件

 

 2。修改host的配置文件:

  host.csproj中手动增加代码:ItemGroup节点下:

 <PackageReference Include="ToolGood.Words" Version="3.0.1.2" />

版本号对应于:

netcore:Could not load file or assembly 系统找不到指定的文件

 

相关文章:

  • 2022-12-23
  • 2021-09-19
  • 2021-06-22
  • 2021-09-14
  • 2021-12-28
  • 2021-06-19
  • 2021-10-09
猜你喜欢
  • 2021-12-31
  • 2021-06-12
  • 2022-01-20
  • 2022-12-23
  • 2022-12-23
  • 2021-07-05
  • 2021-07-11
相关资源
相似解决方案