构建Dot net core 2.0 Web应用程序时出错。 [英] Error building Dot net core 2.0 web app.
问题描述
我正在构建一个继承的dot net core 2.0 web应用程序。当我去运行它时,我在程序文件的主函数中收到此错误"无法加载文件或程序集"System.Threading,Version = 4.1.0.0。任何想法我缺少的,我的机器上有2.0核心的
运行时和SDK。
谢谢!
迈克
< blockquote>
Hi Tanker 61,
欢迎来到MSDN论坛。
根据错误日志,"无法加载文件或程序集'System.Threading,Version = 4.1.0.0"。这意味着该项目缺少程序集"system.threading"。因此,您可以使用NuGet将此软件包安装到您的项目中。
工具 - > NuGet软件包管理器 - >软件包管理器控制台,在软件包管理器控制台窗口的命令行下面输入:
Install-package System.Threading
安装完成后,检查它是否正常工作。
Hi,
I'm building an inherited dot net core 2.0 web app. When I go to run it I receive this error "Could not load file or assembly 'System.Threading, Version=4.1.0.0, in the main function of the program file. Any Ideas what I am missing, I have the 2.0 core runtime and SDK on my machine.
Thanks!
Mike
Hi Tanker 61,
Welcome to MSDN forum.
According to the error log, "Could not load file or assembly 'System.Threading, Version=4.1.0.0". That means this project missing the assembly "system.threading". So you can use NuGet to install this package to you project.
Tools->NuGet Package Manager->Package Manager Console, input below command line on the Package Manager Console window:
Install-package System.ThreadingAfter installation complete, check if it works fine.
这篇关于构建Dot net core 2.0 Web应用程序时出错。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!