开发者

How to Publish Only App_Code in Asp.net

开发者 https://www.devze.com 2023-03-06 08:20 出处:网络
I have a website (not web application) in Visual Studio 2008, Most of my changes belongs to App_Code. Whenever I change it I need to Publish entire solution and resend nre published verion to my custo

I have a website (not web application) in Visual Studio 2008, Most of my changes belongs to App_Code. Whenever I change it I need to Publish entire solution and resend nre published verion to my customers.

Publish took about 3 hours from me so that I want to publish only App_Code folder.

How to Do this? Ithink it should be something like

MSBuild App_Code // I know th开发者_如何学Pythonis is not valid I mentiond as a way that I think may work with change

Update : will it work if I remove everything else and then publish the website, after that replace published files to previouse versions?


Try to publish like this.

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v / -p "C:\WebSite1\App_Code" -u "C:\TargetPath"

0

精彩评论

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