Vccorlib140d_app.DLL缺少 [英] Vccorlib140d_app.DLL Missing
问题描述
DesktopAppConverter在AppxManifest.xml中为我的应用程序生成依赖关系,如下所示:
< PackageDependency Name =" Microsoft.VCLibs.140.00.UWPDesktop" MINVERSION = QUOT; 14.0.23810.0" Publisher =" CN = Microsoft Corporation,O = Microsoft Corporation,L = Redmond,S = Washington,C = US" />
如果我启动应用,我会收到以下错误消息:
&NBSP; &NBSP;&NBSP; "代码执行无法继续,因为找不到vccorlib140_app.DLL ..."
为了解决这个问题,我将依赖项更改为:
< PackageDependency Name =" Microsoft.VCLibs.140.00" MINVERSION = QUOT; 14.0.24605.0" Publisher =" CN = Microsoft Corporation,O = Microsoft Corporation,L = Redmond,S = Washington,C = US" />
现在,从.appx安装的应用程序启动就好了。但是当我在Visual Studio调试器中启动应用程序时,我再次收到上述错误消息。问题:哪个库对应于
" Microsoft.VCLibs.140.00" 以及如何在VS中链接到它?
DesktopAppConverter在AppxManifest.xml中为我的应用创建以下依赖项:
<依赖关系>
< TargetDeviceFamily Name =" Windows.Desktop" MINVERSION = QUOT; 10.0.0.0" MaxVersionTested = QUOT; 10.0.0.0" />
< PackageDependency Name =" Microsoft.VCLibs.110.00.UWPDesktop" MINVERSION = QUOT; 11.0.61130.40" Publisher =" CN = Microsoft Corporation,O = Microsoft Corporation,L = Redmond,S = Washington,C = US" />
< PackageDependency Name =" Microsoft.VCLibs.140.00.UWPDesktop" MINVERSION = QUOT; 14.0.23810.0" Publisher =" CN = Microsoft Corporation,O = Microsoft Corporation,L = Redmond,S = Washington,C = US" />
< / Dependencies>
如果我运行我的应用程序,则会报告vccorlib140_app.DLL和其他一些带有_app扩展名的人丢失。为了解决这个问题,我更换了依赖项并重新打包了这个包:
<依赖关系>
< TargetDeviceFamily Name =" Windows.Desktop" MINVERSION = QUOT; 10.0.14393.0" MaxVersionTested = QUOT; 10.0.16299.15" />
< PackageDependency Name =" Microsoft.VCLibs.140.00" MINVERSION = QUOT; 14.0.24605.0" Publisher =" CN = Microsoft Corporation,O = Microsoft Corporation,L = Redmond,S = Washington,C = US" />
< / Dependencies>
我的问题:DesktopAppConverter是否有任何可以产生正确依赖关系的选项?
DesktopAppConverter generates a dependency in AppxManifest.xml for my app which looks like this:
<PackageDependency Name="Microsoft.VCLibs.140.00.UWPDesktop" MinVersion="14.0.23810.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
If I launch the app, I get this error message:
"The code execution cannot proceed because vccorlib140_app.DLL was not found..."
In order to fix it I changed the dependency to:
<PackageDependency Name="Microsoft.VCLibs.140.00" MinVersion="14.0.24605.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
Now, the app installed from the .appx launches just fine. But when I launch the app in the Visual Studio debugger, I again get the above error message. Question: what library corresponds to "Microsoft.VCLibs.140.00" and how can I link to it in VS?
DesktopAppConverter creates the following dependencies in AppxManifest.xml for my app:
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
<PackageDependency Name="Microsoft.VCLibs.110.00.UWPDesktop" MinVersion="11.0.61130.40" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
<PackageDependency Name="Microsoft.VCLibs.140.00.UWPDesktop" MinVersion="14.0.23810.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" /></Dependencies>
If I run my app, vccorlib140_app.DLL and a few others with the _app extension are reported missing. To fix it, I replaced the dependencies and repackaged the bundle:
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.16299.15" />
<PackageDependency Name="Microsoft.VCLibs.140.00" MinVersion="14.0.24605.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
</Dependencies>
My question: Is there any option to DesktopAppConverter which would produce the correct dependencies?
这篇关于Vccorlib140d_app.DLL缺少的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!