web-publishing

VS2010 Web Publish command line version of File System deploy

强颜欢笑 提交于 2019-11-28 16:11:50
Folks, In a nutshell, I want to replicate this dialog: It's a Visual Studio 2010 ASP.Net MVC project. If I execute this command, I get all the files I want, including the transformed web.configs in the "C:\ToDeploy" directory. I want to replicate this on the command line so I can use it for a QA environment build. I've seen various articles on how to do this on the command line for Remote Deploys, but I just want to do it for File System deploys. I know I could replicate this functionality using nAnt tasks or rake scripts, but I want to do it using this mechanism so I'm not repeating myself. I

Deploying an existing package using publish profiles

南笙酒味 提交于 2019-11-27 17:52:58
I'm trying to use the new publish profile support (available in VS2012 and in VS2010 via an update) to create a continuous delivery "deployment pipeline", whereby a package/zip is made in the first "stage" and the same package is deployed to various environments using different configurations. What tasks/properties are involved in deploying an existing package using settings defined in a pubxml file, from the command line, and without causing a build? Put another way, I'd like to "publish" to a package , then later "publish" that same package to another profile without rebuilding it. (I know I

VS2013 publish Web deployment task failed The file is in use

心不动则不痛 提交于 2019-11-27 11:20:54
问题 I am using VS2013 Premium to publish a site to Windows Server 2012. All files publish ok except these: SqlServerTypes\x64\msvcr100.dll SqlServerTypes\x64\SqlServerSpatial110.dll SqlServerTypes\x86\msvcr100.dll SqlServerTypes\x86\SqlServerSpatial110.dll I get this kind of errors for each of the above files I tried to publish: Web deployment task failed. (The file 'msvcr100.dll' is in use. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE.) Interrestingly, these

Deploying an existing package using publish profiles

主宰稳场 提交于 2019-11-26 22:36:42
问题 I'm trying to use the new publish profile support (available in VS2012 and in VS2010 via an update) to create a continuous delivery "deployment pipeline", whereby a package/zip is made in the first "stage" and the same package is deployed to various environments using different configurations. What tasks/properties are involved in deploying an existing package using settings defined in a pubxml file, from the command line, and without causing a build? Put another way, I'd like to "publish" to

Exclude files from web site publish in Visual Studio

ε祈祈猫儿з 提交于 2019-11-26 19:44:36
Can I exclude a folder or files when I publish a web site in Visual Studio 2005? I have various resources that I want to keep at hand in the Solution Explorer, such as alternate config files for various environments, but I don't really want to publish them to the server. Is there some way to exclude them? When using other project types, such as a .dll assembly, I can set a file's Build Action property to "None" and its Copy to Output Directory property to "Do not copy". I cannot find any similar settings for files in a web site. If the IDE does not offer this feature, does anyone have good

Exclude files from web site publish in Visual Studio

时光总嘲笑我的痴心妄想 提交于 2019-11-26 08:02:17
问题 Can I exclude a folder or files when I publish a web site in Visual Studio 2005? I have various resources that I want to keep at hand in the Solution Explorer, such as alternate config files for various environments, but I don\'t really want to publish them to the server. Is there some way to exclude them? When using other project types, such as a .dll assembly, I can set a file\'s Build Action property to \"None\" and its Copy to Output Directory property to \"Do not copy\". I cannot find