大多数这些可能是第三方库,可能会有一些指导方针或建议来管理那些不在nuget上的图书馆。除非我们专门把它们放在nuget上,否则永远不会去nuget。
最好将这些dll与nuget用于存储下载的DLL的文件夹保持一致还是更好将它们保持在一起?
一旦我们整理出来,我们将会考虑移动到DVCS,并且可能会添加一个忽略文件来忽略整个包目录(并且可能添加排除这些非nuget dll或只是强制他们进行检查,如果他们有任何改变)。
解决方案我的个人偏好(订单)
对于1 &安培; 2我建议在构建中使用Restore Package,而不是将其存储在源代码控制中。
我还强烈建议您不要从安装文件夹引用任何第三方控件GAC。
Are there any guidelines or recommendations for managing libraries that aren't on nuget along with the packages that are.
Most of these may be 3rd party libraries that may never go on nuget unless we specifically put them on.
Is it best to keep these dlls out of the same folder that nuget uses to store its downloaded dlls or is it better to keep them together?
We would be looking at moving to DVCS once we sort this out and would probably add an ignore file to ignore the whole packages directory (and possibly add exclusions for these non-nuget dlls or just force them to be checked in if they ever do change).
解决方案My Personal Preferences (In Order)
For 1 & 2 i would recommend using Restore Package on build rather than storing it in your source control.
I'd also highly recommend against referencing any 3rd party controls from install folders or the GAC.
更多推荐
管理非nuget dll和nuget包
发布评论