在现有的NuGet包进行更新文件 [英] Updating Files in Existing Nuget Package

查看:247
本文介绍了在现有的NuGet包进行更新文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个多项目的ASP.NET Web窗体应用程序的解决方案。我需要共享一个母版页(3档),一些用户控件和一些图片,脚本和CSS文件到解决方案中的其他项目。

I've got a multi-project ASP.NET Web Forms Application solution. I need to share a master page (3 files), some user controls and some images, scripts and CSS files out to the other projects in the solution.

我已经创建使用每个文档中的NuGet Package Explorer中一个包:

I have already created a package using the NuGet Package Explorer per the documentation:

HTTP://docs.nuget。组织/文档/创建的程序包/使用-A-GUI到集结包

我现在的问题是这样的:我在根项目的共享文件更新,现在我想(目前包在本地文件夹我的开发机器上)拉入其他项目之前更新包。 如何做呢?

My current problem is this: I have updated the shared files in the root project and now I want to update the package before pulling it into the other projects (package currently in a local folder on my dev machine). How do I do this?

如果任何人有一些时间开工,快速的NuGet链接,请分享作为官方文档只是不这样做对我来说。

If anyone has some getting-started-quickly NuGet links, please share as the official docs just aren't doing it for me.

推荐答案

用新版本重新创建包又名如果原单是1.0使这个1.1的NuGet将搭载更新。

create the package again with a new version aka if the orginal is 1.0 make this 1.1 and NuGet will pick up the update.

这篇关于在现有的NuGet包进行更新文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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