Nuget软件包将文件夹命名中的版本排除在外 [英] Nuget Packages exclude version in folder naming

查看:155
本文介绍了Nuget软件包将文件夹命名中的版本排除在外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我有一个项目,根据不同的版本号将nuget包放入文件夹中。

示例包/ EntityFramework.4.1.10331.0 / ..



有没有办法更新软件包并重命名文件夹以排除版本号
即上面我们有packages / EntityFramework /

解决方案

目前,NuGet不支持安装没有版本号的软件包。有一个工作项目在这里跟踪:问题#1522 。请评论/投票以优先考虑。



一种帮助许多相关场景的方法是启用 NuGet Package Restore

currently i have a project that has nuget packages that are placed in folders according to their different version number

Example packages/EntityFramework.4.1.10331.0/..

Is there a way to update the packages and have the folders renamed to exclude the version numbers i.e for the above we have packages/EntityFramework/

解决方案

Currently, NuGet doesn't support installing packages without their version number. There's a work item tracking this here: Issue #1522. Please comment/vote to bump the priority.

One way to help with many related scenarios is to enable NuGet Package Restore.

这篇关于Nuget软件包将文件夹命名中的版本排除在外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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