添加起订量为.NET 4.0的项目是不可能的 [英] Adding MOQ to a .NET 4.0 project is not possible
本文介绍了添加起订量为.NET 4.0的项目是不可能的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要起订量.NET库添加到.NET 4.0的项目。我得到一个错误信息,我应该将项目转换为东西小于4.0。我需要使用,因为其他项目的依赖.NET 4.0也。
I want to add MOQ .net library to a .NET 4.0 project. I get an error message that I should convert the project to something smaller than 4.0. I need to use .NET 4.0 also because of other project dependencies.
怎样才能使最小起订量工作,在VS2010一个.NET 4.0的项目?
How can I make MOQ work with a .NET 4.0 project in VS2010 ?
推荐答案
-
请确保你已经安装的NuGet包管理器(工具/扩展管理器)。
Make sure you have NuGet package manager installed (Tools/Extension Manager).
右键单击Solution Explorer中/参考资料,选择管理的NuGet包。
Right click on Solution Explorer/References, choose Manage NuGet Packages.
在搜索框中键入起订量。
Type Moq in the search box.
安装和享受。
这篇关于添加起订量为.NET 4.0的项目是不可能的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文