无法构建Pact-net:找不到pact_ffi.dll

问题描述 投票:0回答:1

我正在尝试找到正在运行的 pact-net 示例。我已经克隆了 pact-net 存储库,但它无法构建,并出现此错误:

Error   MSB3030 Could not copy the file "C:\Users\57046\Source\repos\pact-net\build\windows\x86_64\pact_ffi.dll" because it was not found.  PactNet C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets    5150    

这个已解决的问题,看起来相关,但那里提出的解决方法也不起作用:我已将建议的 win-x64 属性添加到 PactNet csproj 文件中,但没有成功。

有什么想法吗?

pact pact-net
1个回答
0
投票

您应该运行此脚本,它将安装 windows\x86_64\pact_ffi.dll 或从 link 手动下载它,解压并将pact_ffi.dll 放入 build\windows\x86_64

© www.soinside.com 2019 - 2024. All rights reserved.