开发者

Publish selected files ASP.NET, Visual Studio 2008

I have a ASP.NET Web Application

Is there any way we can publish only selected files from Visual Studio 2008.

I have already published the site, now I have made some modifications to some of the code开发者_运维技巧 files and I want to publish only few code files not all the changed files..

Is there any way we can achieve this ??


On the Publish Web screen, if you choose "Replace matching files with local copies" instead of "Delete all existing files prior to publish" then it will only publish the files that are different.

In your case, if you changed some of the code and publish with the "Replace..." option, then it will simply replace the existing DLL for your web application with a newly compiled one and should leave everything else alone.

But... I think you're saying that you don't want to deploy all of your changes. This is what source control is for. You should check out the code at whatever revision or branch you want to publish for and then publish it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜