tag:blogger.com,1999:blog-5704450.post4480985185384751140..comments2024-03-20T20:27:05.438-07:00Comments on Vishal Joshi's Tangent: Team Build + Web Deployment + Web Deploy + VS 2010 = GoodnessVishal R Joshihttp://www.blogger.com/profile/05217117734084631137noreply@blogger.comBlogger111125tag:blogger.com,1999:blog-5704450.post-66241648779474907522014-05-05T23:17:44.465-07:002014-05-05T23:17:44.465-07:00hi , i am using vs2012 and tfs ,i want to trigger ...hi , i am using vs2012 and tfs ,i want to trigger build one automatic and one is manual<br /><br />when autmoatic build is triggered, i found error <br /><br />C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets (4253): The 'MyProject-Web.config Connection String' argument cannot be null or empty.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-71722002683757953992013-12-24T19:15:53.945-08:002013-12-24T19:15:53.945-08:00Its possible to deploy site from TFS to ftp locati...Its possible to deploy site from TFS to ftp location.<br /><br />If possible then can you explain.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-3585608940506285142013-12-24T19:15:28.203-08:002013-12-24T19:15:28.203-08:00Its possible to deploy site from TFS to ftp locati...Its possible to deploy site from TFS to ftp location.<br /><br />If possible then can you explain.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-78111217750070121182013-12-24T19:15:12.380-08:002013-12-24T19:15:12.380-08:00Its possible to deploy site from TFS to ftp locati...Its possible to deploy site from TFS to ftp location.<br /><br />If possible then can you explain.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-17970588661953011722013-12-24T19:14:42.790-08:002013-12-24T19:14:42.790-08:00Its possible to deploy site from TFS to ftp locati...Its possible to deploy site from TFS to ftp location.<br /><br />If possible then can you explain.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-85044619698169517682013-12-24T19:14:19.308-08:002013-12-24T19:14:19.308-08:00Its possible to deploy site from TFS to ftp locati...Its possible to deploy site from TFS to ftp location.<br /><br />If possible then can you explain.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-7418164361972636282013-11-27T22:17:51.911-08:002013-11-27T22:17:51.911-08:00Hi Ak, if you are using VS2010 and need to execute...Hi Ak, if you are using VS2010 and need to execute scripts during publish you can configure those on the Packge/Publish SQL tab for the project in VS. Please make sure to configure the setting under the correct build configuration(s).Sayed Ibrahim Hashimihttps://www.blogger.com/profile/15638050976039817335noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-75231565814634548252013-11-26T03:33:23.789-08:002013-11-26T03:33:23.789-08:00Hi,
I want execute the db scripts along with the ...Hi,<br /><br />I want execute the db scripts along with the deployment. Can you please elaborate that process or provide me some pointers.<br /><br />Thanks<br />AK<br />AKhttps://www.blogger.com/profile/01072824547359368355noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-80685473055685353292013-06-05T17:57:35.835-07:002013-06-05T17:57:35.835-07:00Do take a look at the documentation at:
http://ww...Do take a look at the documentation at:<br /><br />http://www.asp.net/mvc/tutorials/deployment/visual-studio-web-deployment/command-line-deployment.Vishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-6703955729153612622013-06-05T09:31:59.656-07:002013-06-05T09:31:59.656-07:00Hi Vishal,
I created a new web site named Ex:- &...Hi Vishal, <br /><br />I created a new web site named Ex:- "DEV-branch-brach1" in vs.net 2010 and could successfully able to do Continuous Integration (CI). When i connected to my Build server and see the drop folder I could see my successfull builds files as soon as i check-in my changes. The folder herirachy is given below<br /><br />DEV-branch-brach1_20130605.8 <br /> _PublishedWebsites<br /> DEV-branch-branch1<br /> "Account" Folder<br /> "bin" Folder<br /> "Scripts" Folder<br /> "Styles" Folder<br /> About.aspx<br /> Default.aspx<br /> PrecompiledApp<br /> Site.master<br /> Web.config<br /> logs<br /> DEV-branch-brach1.log<br /><br /><br />Now i am planning to do automatic deployment of my website to my dev server.<br /><br />I also started "Web Deployment Agent Service"<br />and "Web Management Service" and they are currently running and i made them to run automatic. I stopped my IIS. I followed the below article and could set the "Enable remote connections" in my "Management Service" of IIS of "DEV Server". I started my "IIS".<br /><br />http://blogs.msdn.com/b/webdev/archive/2009/06/05/basic-microsoft-web-deployment-tool-setup-for-visual-studio-2010.aspx<br /><br />Build options in my local VS.NET 2010 TFS build "DEV-branch-brach1" are as follows:-<br />_________________________<br />/p:DeployOnBuild=True <br />/p:DeployTarget=MsDeployPublish <br />/p:CreatePackageOnPublish=True <br />/p:MSDeployPublishMethod=WMSVC <br />/p:MSDeployServiceUrl=http://:8172/MSDeploy.axd <br />/p:DeployIisAppPath="VZWEUSApps/DEV-branch-branch1" <br />/p:UserName= <br />/p:Password=<br /><br /><br />I tried below way too (/p:MSDeployPublishMethod=RemoteAgent):-<br />__________________________________________<br />/p:DeployOnBuild=True <br />/p:DeployTarget=MsDeployPublish <br />/p:CreatePackageOnPublish=True <br />/p:MSDeployPublishMethod=RemoteAgent <br />/p:MSDeployServiceUrl=http://:8172/MSDeploy.axd <br />/p:DeployIisAppPath="VZWEUSApps/DEV-branch-branch1" <br />/p:UserName= <br />/p:Password=<br /><br />I created a "Add Application" in "Dev Server". See the below herirachy of my IIS<br /> <br />IIS Root<br /> Application Pools<br /> Sites<br /> Defalut WebSite<br /> Custom Web Site<br /> DEV-branch-brach1 (This is my web site whcih added as application)<br /><br />I did not see any errors in event log as well as "%SystemDrive%\Inetpub\logs\WMSvc" But even though my CI builds are successfull, i can not see my new changes in my IIS Website.Could you tell me what, i am missing or what i did wrong?<br /><br />Note:-<br />_______<br />Both my "Web Deployment Agent Service" and "Web Management Services are running all the time.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-37850726733852407672013-04-03T06:30:45.812-07:002013-04-03T06:30:45.812-07:00This is really an interesting piece of information...This is really an interesting piece of information here on your website. Keep up the good work and continue providing us more quality information from time to time.Vintage Furniturehttp://www.thebellacottage.com/noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-39934495984152062632013-02-13T06:34:14.816-08:002013-02-13T06:34:14.816-08:00Vishal,
I am using Default template as well as BR...Vishal,<br /><br />I am using Default template as well as BRDLite template to deploy our WCF services. We have Multiple services projects in a single solution, and I would like to deploy each service to its own Virtual Directory where the directory name should be the project Name. <br /><br />In BRDLite I tried to get the project name from Run MS Build step, from foreach project in BuildSettings.ProjectsToBuild. But the virtual directory created was with the name of my solution and all the services are deployed to the same directory one after another, so I end up with only one service in the virtual directory.<br /><br />Any ideas how to get project names and deploy each service to it's own virtual directory.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-49980839671627536812013-02-12T02:12:39.640-08:002013-02-12T02:12:39.640-08:00A good approach to web development and a nice step...A good approach to web development and a nice step wise guide to introduce well the whole process. There are now more things to consider while building a normal site. web development teamhttps://ntestechnologies.com/web-development.htmlnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-40717779654173826932012-12-12T02:58:18.185-08:002012-12-12T02:58:18.185-08:00The post is sharing team building for web deploym...The post is sharing team building for web deployment. Good post<br />Corporate team buildinghttp://www.superteams.com.au/noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-32439645613437931752012-12-12T02:31:20.476-08:002012-12-12T02:31:20.476-08:00If you install Web Deploy 3 by using the Windows U...If you install Web Deploy 3 by using the Windows UI, the Web Deploy remote service will listen on http://+:80/MsDeployAgentService/. <br /><br />http://technet.microsoft.com/en-us/library/dd569059(v=ws.10).aspxBieNorhttp://bienor.wordpress.comnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-30954566056823637792012-08-31T00:30:17.005-07:002012-08-31T00:30:17.005-07:00Very important, comprehensive and effective inform...Very important, comprehensive and effective information you shared with us and no doubt it is necessary for every firm to build an awesome team of professionals then the firm can get benefits and achieve the goals. jessica johnhttp://www.kooldesignmaker.com/noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-50092215051657616342012-08-14T12:10:56.734-07:002012-08-14T12:10:56.734-07:00Thanks Vishal for responding. The setparameters xm...Thanks Vishal for responding. The setparameters xml contains the original development config settings.<br /><br />The issue is that in the log files on my local it creates package after Web config transformation but on the TFS it is doing transformation after Package is created. I am using this in my deployment package :<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /><br /><br /> <br /> <br /> <br /> $(AfterBuildDependsOn);$(PrepareForRunDependsOn)<br /> <br /><br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-44173064694288041062012-08-14T11:57:23.441-07:002012-08-14T11:57:23.441-07:00Thanks Vishal for responding. The setparameters xm...Thanks Vishal for responding. The setparameters xml contains the original development config settings.<br /><br />The issue is that in the log files on my local it creates package after Web config transformation but on the TFS it is doing transformation after Package is created. I am using this in my deployment package :<br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /><br /><br /> <br /> <br /> <br /> $(AfterBuildDependsOn);$(PrepareForRunDependsOn)<br /> <br /><br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-9527462501465259652012-08-14T11:04:46.874-07:002012-08-14T11:04:46.874-07:00The package actually contains tokenized connection...The package actually contains tokenized connectionStrings so that you can replace them while deploying. Along with the package.zip file should also see setParameters.xml file which is where you can change connectionStrings on the fly. If you do not want that behavior then there should be a property to turn off auto connection string parameterization in package which can be found in the msbuild C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets<br />Hope this helps.<br />-VishalVishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-84151974555607781952012-08-14T11:00:31.584-07:002012-08-14T11:00:31.584-07:00Was anyone ever successful in creating a deploymen...Was anyone ever successful in creating a deployment package with the web.configs transformation happening in the packaged zip file. I have manged to get the transformation to be working in _PublishedWebsites folder and TempBuildDir also packagetmp but on TFS server the package is created before the transformation.<br /><br />tried everything that I could. I dont want to give up but not sure what else to do.<br /><br />Anyone ever successsful in doing it?<br /><br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-66605202060195247152012-06-14T05:23:47.744-07:002012-06-14T05:23:47.744-07:00I has IIS-6 internally. Can you please post the st...I has IIS-6 internally. Can you please post the steps how to BUILD and Configure.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5704450.post-45719274424466546792012-05-29T09:30:16.686-07:002012-05-29T09:30:16.686-07:00How do i specify the -UseCheckSum flag with Team B...How do i specify the -UseCheckSum flag with Team Build. I can always specify it from the package level with cmd deploy but when i go the ui or when i deploy using msbuild then i get all files deployed. It's because with team build the build machine's time stamps are different. I have a large package and a web cluster to sync across. I'd rather not deploy my whole package every time. Can i specify this flag from the UI of the IIS deploy? Can i specify it on Msbuild somehow?Jeremyhttps://www.blogger.com/profile/01914303343295364577noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-15307887722001969352012-04-04T15:40:16.780-07:002012-04-04T15:40:16.780-07:00Unfortunately Eric, you either have to run Publish...Unfortunately Eric, you either have to run Publish twice either via a new build definition or custom msbuild command.Vishal R Joshihttps://www.blogger.com/profile/05217117734084631137noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-4464768944758268082012-04-04T12:56:54.745-07:002012-04-04T12:56:54.745-07:00how do i deploy to multiple locations? i'm usi...how do i deploy to multiple locations? i'm using the MSDeployPublish method mentioned in this article. i'm deploying to a MSDeployServiceUrl, but basically i want to deploy to two different urls (actually two different machines in a farm).Erichttps://www.blogger.com/profile/01956839551518947126noreply@blogger.comtag:blogger.com,1999:blog-5704450.post-87210357397158925202012-03-12T15:19:43.261-07:002012-03-12T15:19:43.261-07:00Hi Vishal,
Thanks for the reply. There are no MSD...Hi Vishal,<br /><br />Thanks for the reply. There are no MSDeploy references anywhere in my build logs. I've pasted the contents of my latest build log below, for your information. Please note that due to the way my project is structured, only the build configuration Debug|.NET seems to result in a successful build. This is because my main project has a project reference to a project outside of its own TFS branch, and when I use the default configuration, it tries to find the assembly reference in a weird path that never gets resolved - something like this: C:\Builds\1\AwesomeSuite\Copy of CI Dev Build\Sources\Godzilla-Main\..\..\Annalect.Common\Annalect.Common-Main\Annalect.Common\Annalect.Common.csproj<br /><br />I've tried playing with the Workspace settings to manipulate where the Annalect.Common project is dumped on the build server, but because of the way the project reference is structured in my main project's csproj file, it always attempts to use relative paths to find that other assembly. Perhaps you can recommend a better way of building projects that have dependencies on projects in other TFS branches. "Annalect.Common" and "AwesomeSuite" are siblings under our site collection.<br /><br />MSBuild Arguments: /p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:CreatePackageOnPublish=True /p:MsDeployPublishMethod=WMSVC /p:MsDeployServiceUrl=https://anlctwebdev1.global.com:8172/MsDeploy.axd /p:DeployIisAppPath=tools.annalect.com/Scenario /p:Username=GLOBAL\service.tfsproxy /p:Password=[password]<br />MSBuild Platform: X86<br /><br />Here is the contents of my latest Build log:<br />Build started 3/12/2012 3:54:42 PM.<br />Project "C:\Builds\1\AwesomeSuite\CI Dev Build\Sources\Godzilla-Main\Godzilla.sln" on node 1 (default targets).<br />C:\Builds\1\AwesomeSuite\CI Dev Build\Sources\Godzilla-Main\Godzilla.sln.metaproj : warning MSB4126: The specified solution configuration "Debug|.NET" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration. [C:\Builds\1\AwesomeSuite\CI Dev Build\Sources\Godzilla-Main\Godzilla.sln]<br />Done Building Project "C:\Builds\1\AwesomeSuite\CI Dev Build\Sources\Godzilla-Main\Godzilla.sln" (default targets).<br /><br />Build succeeded.<br /><br />"C:\Builds\1\AwesomeSuite\CI Dev Build\Sources\Godzilla-Main\Godzilla.sln" (default target) (1) -><br />(ValidateSolutionConfiguration target) -> <br /> C:\Builds\1\AwesomeSuite\CI Dev Build\Sources\Godzilla-Main\Godzilla.sln.metaproj : warning MSB4126: The specified solution configuration "Debug|.NET" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration. [C:\Builds\1\AwesomeSuite\CI Dev Build\Sources\Godzilla-Main\Godzilla.sln]<br /><br /> 1 Warning(s)<br /> 0 Error(s)<br /><br />Time Elapsed 00:00:00.15<br /><br />Thank you again,<br />-SabrinaSabrina Vekslerhttps://www.blogger.com/profile/01216757411333151684noreply@blogger.com