c# - 如果重新添加 DLL 引用将失败
问题描述
我的 C# Framework 4.6.1 项目引用了一个 Net DLL。(DLibDotNet.Native.DLL)
我的项目编译得很好。我清理了项目,重建它,它仍然可以正常工作。
现在,当我删除对 DLL 的引用并重新添加它时,我收到错误消息
Couldn't add reference to DlibDotNetNative.dll. Make sure that the file is accessible and that it's a valid assembly or COM component.
尝试使用 TlbImp.exe 会返回以下错误:
"The input file is not a valid type library."
取消引用后无法再次引用它的原因可能是什么?
解决方案
推荐阅读
- react-native - 使用本机反应从wifi打印收据
- google-bigquery - 如何在 bigquery 中制作像 ga_sessions_YYYYMMDD(GA360 export table) 这样的表
- c - bpf_map_update_elem 等 bps API 地图助手的详细流程是什么?
- angular - 使用角度形式执行计算
- javascript - WebSocket 连接超时
- github - 如何为 ARM Linux 编译 strace?
- laravel - 将 vue.js 中的文本连接到表单中
- javascript - 无法读取未定义的“id”
- javascript - 如何在 blueprintjs v3 的反应应用程序中为所有子组件切换主题(明暗)?
- angular - Angular 8 的日期时间选择器指令