无法的NuGet包添加到在MonoDevelop中参考5 [英] Unable to Add NuGet Packages to References in Monodevelop 5

查看:1075
本文介绍了无法的NuGet包添加到在MonoDevelop中参考5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近买了MonoDevelop的5和从ermshiperete库运行,只得到了改变源URL为画廊后的NuGet工作指向使用API​​版本1跳转链接

I recently got Monodevelop 5 up and running from the ermshiperete repository and got NuGet working only after changing the source URL for the gallery to point to a "go link" that uses API version 1.

安装实体框架和微软ASP.NET MVC的最新版本后,我看到他们被添加到我的包,这是很酷,所有,但我需要他们加入到我引用的事情工作的权利?好吧,我无法将它们添加到我的项目的引用。当我'编辑引用不显示他们来说,这只是显示的包,我相信已经配备了单声道安装。我不能添加实体框架或Microsoft ASP.NET MVC。

After installing the latest versions of 'Entity Framework' and 'Microsoft ASP.NET MVC', I see they were added to my packages, which is cool and all, but I need them added to my references for things to work right? Well, I cannot add them to my project's references. When I 'edit references' it does not display them, it only displays packages that I believe already come with the mono installation. I cannot add Entity Framework or Microsoft ASP.NET MVC.

我怎样才能增加我的包安装到我的参考?

How can I add packages I install to my references?

可以提供屏幕截图,以更好地解释,也许吧。

Can provide screen shots to explain better, perhaps.

谢谢!

编辑:这是链接截图

参考从包

<一个href="http://en.zimagez.com/full/17a74ee2cca9894e817defaa1cf6b7545be4776dbb4b30aa6924c0fb25bf0a9d0faaaa7fd1a682526812ebf8842dd7f6826aae929e1ab7a4.php"相对=nofollow>一些包

另外一些背景这里是我新的.NET开发,并已在做这个项目在VS上的虚拟机,但我宁愿只是用我的正常操作系统。

Also some background here is that I am new to .NET development, and have been working on this project in VS on a VM, but I would rather just use my normal OS.

推荐答案

所以我假设你使用的添加包中的MonoDevelop 5对话框中的NuGet包添加到您的项目和工作。所以你看在解决方案窗口中的软件包文件夹内的项目中的一个packages.config文件和包。

So I am assuming you used the Add Packages dialog in MonoDevelop 5 to add the NuGet packages to your project and that worked. So you see a packages.config file in your project and the packages inside a Packages folder in the Solution window.

现在的程序集引用,如果有任何的的NuGet包中定义的,将被自动添加到您的项目,当您添加的NuGet包。你应该能看到里面他们的参考/从包在解决方案的窗口。下面的截图显示ASP.NET MVC的NuGet包并安装实体框架的NuGet包。

Now the assembly references, if there are any defined in the NuGet package, are automatically added to your project when you add the NuGet package. You should be able to see them inside References/From Packages in the Solution window. The screenshot below shows ASP.NET MVC NuGet package and the Entity Framework NuGet package installed.

所以,你不应该需要使用编辑引用为包含在的NuGet包,但只有从GAC其他参考资料或引用另一个项目集引用对话框。当您打开编辑对话框引用从的NuGet包的组件参照显示在该对话框中的选定参考右侧部分。

So you should not need to use the Edit References dialog for assembly references that are included in the NuGet package but only for other references from the GAC or to reference another project. When you open the Edit References dialog the assembly references from the NuGet package are shown on the right hand side of that dialog in the Selected References section.

这篇关于无法的NuGet包添加到在MonoDevelop中参考5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆