msbuild-wpp

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

Build succeeds, but publish fails

♀尐吖头ヾ 提交于 2019-11-28 09:35:54
Up until two days ago, I was able to use Visual Studio 2010's "Publish Web" option by right clicking on my project and clicking the publish button on the context menu. Now when I try to do the same thing, I get the following output: ------ Build started: Project: ELMS, Configuration: Debug Any CPU ------ Build started 8/1/2011 3:08:03 PM. GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. _CopyOutOfDateSourceItemsToOutputDirectoryAlways: Copying file from "C:\SVN\TrakNet

MSBuild - Project-specific targets for solution does not work

痞子三分冷 提交于 2019-11-27 20:12:36
问题 I have a solution that has multiple projects in it, including a web application. I want MSBuild to execute "WebPublish" target against the web application project and "default target" for all other projects in the solution. This MSDN article says that I can do it specifying the command line msbuild SlnFolders.sln /t:NotInSlnfolder:Rebuild;NewFolder\InSolutionFolder:Clean But I never could make it work - MSBuild return an error, something like "NotInSlnFolder:Rebuild" target does not exist. It

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

Build succeeds, but publish fails

为君一笑 提交于 2019-11-27 03:02:53
问题 Up until two days ago, I was able to use Visual Studio 2010's "Publish Web" option by right clicking on my project and clicking the publish button on the context menu. Now when I try to do the same thing, I get the following output: ------ Build started: Project: ELMS, Configuration: Debug Any CPU ------ Build started 8/1/2011 3:08:03 PM. GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to

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

Visual Studio 2012 Web Publish doesn't copy files

倖福魔咒の 提交于 2019-11-26 06:56:02
问题 I have a Web Application project in VS 2012 and when I use the web publishing tool it builds successfully but doesn\'t copy any files to the publish target (File System in this case). If I look at the build output I can see everything gets copied over to obj\\Release\\Package\\PackageTmp\\ correctly but then all I see in the build output is this: 4>Done building project \"{Project}.csproj\". 4>Deleting existing files... 4>Publishing folder /... 4> ========== Build: 3 succeeded, 0 failed, 1 up