用depends发现缺了一堆API-MS-WIN什么的dll,网上查找是因为少了VC++2010,VC++2015等一系列,装好后仍然不行,原来这种错误并不是该原因导致的,也并不缺少那些dll(depends是静态的寻找依赖的dll,缺少的dll在运行中并不一定都需要),是因为c++ clr的.netFramwork版本与c#的没对应上所致. 解决办法: c++ clr编译的dll需要和你c#的.netFramwork版本对应上. 但是vs2013 c++ clr 默认4.0,怎么改 .net
[FileLoadException: Could not load file or assembly 'sapnco_utils, Version=3.0.0.42, Culture=neutral, PublicKeyToken=50436dca5c7f7d23' or one of its dependencies. 由于应用程序配置不正确,应用程序未能启动.重新安装应用程序可能会纠正这个问题. (Exception from HRESULT: 0x800736B1)] 项目中要和sap系
程序在32位操作系统上运行正常,在64位操作系统上运行读卡功能提示”试图加载格式不正确“. -------------------------------------------------------------------------------------------- 点击项目属性,把目标平台Any CPU 设置为X86
Could not load file or assembly 'System.Data.SQLite.dll' or one of its dependencies. 找不到指定的模块. 错误提示如下: Could not load file or assembly 'System.Data.SQLite,Version=1.0.66.0,Culture=neutral,PublicKeyToken=db937bc2d44ff139' or one of its dependencies.