作者:手机用户2602903375 | 来源:互联网 | 2023-08-19 16:42
Wewanttopackagesomethirdpartyassembliesintoourownnugetpackage.Icreatedsomepackagesw
We want to package some third party assemblies into our own nuget package. I created some packages with NuGet Package Explorer, and published it to our nuget server. I can also install it into our solution, however I have two problems:
我们想将一些第三方程序集打包到我们自己的nuget包中。我用NuGet Package Explorer创建了一些包,并将它发布到我们的nuget服务器。我也可以将它安装到我们的解决方案中,但是我有两个问题:
- Minor problem: when I install our nuget package a .nuget directory created with a packages.config in it. This contain a reference only to the package I added. We already have however several nuget packages installed into our solution. Every packages is in the packages subfolder in it's own subfolder, plus there's a repositories.config in the packages folder. The repositories config points to other packages.config, but not the one which is created by my actions into the .nuget folder. This is true even if I try to install the nuget package using the console into a specific project!
- 小问题:当我安装我们的nuget包时,在其中创建了一个包含packages.config的.nuget目录。这仅包含对我添加的包的引用。我们已经在我们的解决方案中安装了几个nuget包。每个包都在它自己的子文件夹的packages子文件夹中,另外在packages文件夹中有一个repositories.config。存储库配置指向其他packages.config,但不是由我对.nuget文件夹中的操作创建的。即使我尝试使用控制台将nuget包安装到特定项目中也是如此!
- Major problem: When I look up the installed packages in the "Manage NuGet packages for the Solution...", I only see an "Uninstall" button for my package. I expect and want to have a Manage button, same what we have for the other nuget packages, which allows to check/uncheck the package per project in a treeview.
- 主要问题:当我在“管理解决方案的NuGet包...”中查找已安装的软件包时,我只看到我的软件包的“卸载”按钮。我希望并希望有一个Manage按钮,与我们对其他nuget包的相同,它允许在树视图中检查/取消选中每个项目的包。
I use latest VS 2012, latest NuGet (2.2.xxx).
我使用最新的VS 2012,最新的NuGet(2.2.xxx)。
1 个解决方案