简体   繁体   English

Affectiva mscorlib.dll和依赖项错误

[英]Affectiva mscorlib.dll and dependencies error

I'm building a C# Affectiva product, up until a few days ago everything was working fine. 我正在构建一个C#Affectiva产品,直到几天前一切正常。 I did a clean install of Windows 10 and I am using Visual Studio Enterprise. 我做了一个干净的Windows 10安装,我使用的是Visual Studio Enterprise。 I keep having the following error stating missing mscorlib.dll or affect.dll 我一直有以下错误说明缺少mscorlib.dll或affect.dll

Affectiva Error Affectiva错误

I've tried referencing the dll, recopying the proper dll for debug mode, ensured .net Framework 4.0 is loaded and the VS C++ Redist 2013. I've ensured all updates are complete on my PC. 我已经尝试引用dll,重新运行适当的dll用于调试模式,确保.net Framework 4.0已加载和VS C ++ Redist 2013.我已确保所有更新都在我的PC上完成。 I'm the only one in the group that can't run the program now. 我是该组中唯一一个现在无法运行该程序的人。 I don't know what else to do. 我不知道还能做什么。

Any suggestions would be greatly appreciated. 任何建议将不胜感激。

Found a program named Dependency Walker. 找到了一个名为Dependency Walker的程序。 Ran it, and the files it says I was missing was from the Windows 8.1 API set. 跑吧,它说我遗失的文件来自Windows 8.1 API集。 I install those and it works now. 我安装它们现在可以使用了。

I think you are missing affdex-native.dll in your build directory. 我认为您在构建目录中缺少affdex-native.dll。 You might have that in place the previous time, but since you updated Windows and did a clean build the dll went missing from your build directory.Here is the place where it is added in the csproj file for AffdexMe. 您可能在上一次使用它,但是由于您更新了Windows并进行了干净的构建,因此构建目录中缺少dll。这是在AffdexMe的csproj文件中添加它的地方。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM