.NET CORE上的Task.Start在Windows 7 Dev Machine上抛出丢失的combase.dll错误 [英] Task.Start on .NET CORE throws missing combase.dll error on Windows 7 Dev Machine
问题描述
这似乎很容易解决.问题的关键在于,在Win 7开发者框中,尝试启动Task.Start命令错误的代码因加载combase.dll异常失败而出错. 这仅在使用CORE程序集(即 该代码位于CORE程序集中)
This seems easy enough to solve. The jist of the problem is that on a win 7 dev box, code that attempts to launch a Task.Start command errors out with a failed to load combase.dll exception. This only happens using CORE assemblies (that being the code is located within a CORE assembly)
该代码在win 10开发箱中可以正常工作.
The code works fine on a win 10 dev box.
主要问题很简单,我找不到在哪里可以获得combase.dll的Windows 7版本. 如预期的那样,简单地将combase.dll版本从10框中放到7框中是行不通的.
The main problem is simply that I can not find where to obtain a windows 7 version of the combase.dll. As expected, simply putting a combase.dll version from a 10 box to the 7 box does not work.
任何解决方案?
推荐答案
Install .NET core runtime on your target machine.
确认安装.NET Core运行时不会获得该DLL.
Confirmed installing .NET core runtime will not get you that DLL.
这篇关于.NET CORE上的Task.Start在Windows 7 Dev Machine上抛出丢失的combase.dll错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!