开发者

How to prepare an asp.net app for xcopy deployment?`

开发者 https://www.devze.com 2023-02-08 13:24 出处:网络
I have an asp.net application that I currently deploy to 4 different environments on the client\'s servers.At the moment we deploy by copying over individual assemblies and content files but th开发者_

I have an asp.net application that I currently deploy to 4 different environments on the client's servers. At the moment we deploy by copying over individual assemblies and content files but th开发者_StackOverflow中文版e whole process is time consuming and error prone. Basically I'd like a method of preparing the application for deployment that will give me a folder containing the application (no source code etc). No IIS changes are required. It would be good if I could specify different webconfigs for different environments.

I've looked at msbuild, msdeploy, etc and I'm not even sure which is the right tool for the job. I'm tempted to go with a batch file that copies only certain file extensions but I'm sure there must be a better way of doing this. Any help please?


Take a look at the Visual Studio Publish Web Site feature.

0

精彩评论

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

关注公众号