简体   繁体   中英

publish vs package via tfsbuild

I am currently integrating in web deploy package publish via visual studio and tfs bulid 2010 and have some questions:

  • For different environments, is a Publish profile needed for each?
  • As part of the publish is it possible to execute a generated database against a database?
  • Within the publish profile is it possible to create an application pool, web site, configure it etc if it doesn't previously exist?
  • Re tfs build - is it possible to click a button to deploy a successful build based on a selected publish profile?

Thanks for any feedback!

I know you're trying to use webdeploy, although most enterprise architecture will use other tooling. I suggest using powershell remoting tools. This gives you the full power of the .NET framework to do database deployments using whatever tools you want.

I usually create different transforms to transform the configuration files. Depending on what environment you deploy to you can use the appropriate transform that matches your environment or manipulate the transform as desired.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM