[英]How do you add a DLL reference to a .NET WebAPI project?
I am using Visual Studio 2012 and .NET 4.5 and the new WebAPI project type. 我正在使用Visual Studio 2012和.NET 4.5以及新的WebAPI项目类型。 However, I am unable to add a reference to my class library project to the WebAPI project.
但是,我无法将我的类库项目的引用添加到WebAPI项目。 Does this need to be a "portable class library" project or can it be a regular one?
这需要是一个“便携式类库”项目还是常规项目? There's no error, it just doesn't get added!
没有错误,它只是没有添加!
Alrighty so in Visual Studio 2012 there's a check box next to each reference you want to add, in the add references menu. Alrighty所以在Visual Studio 2012中,在添加引用菜单中,您要添加的每个引用旁边都有一个复选框。
It's very non-intuitive. 这非常不直观。 We've gone away from selecting things by highlighting and have moved to check boxes.
我们通过突出显示已经离开选择的东西,并已移动到复选框。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.