{"id":156,"date":"2010-07-15T15:36:04","date_gmt":"2010-07-15T19:36:04","guid":{"rendered":"http:\/\/pattersoncprod.wpengine.com\/?p=156"},"modified":"2010-07-15T15:36:04","modified_gmt":"2010-07-15T19:36:04","slug":"visual-studio-2010-publish-command-from-msbuild-command-line","status":"publish","type":"post","link":"https:\/\/pattersonc.com\/?p=156","title":{"rendered":"Visual Studio 2010 Publish Command from msbuild Command line"},"content":{"rendered":"<p>Seems like there a bunch of confusion about how to produce the &#8220;Publish&#8221; behavior provided by Visual Studio 2010 from msbuild 4 command line. The question I keep seeing over and over again is: How do I publsih the output of a web application with web.config tranformations included. This should get the job done:<\/p>\n<pre class=\"brush: csharp;\">msbuild solution.sln <br\/>\/p:Configuration=Release;DeployOnBuild=true;<br\/>DeployTarget=Package;_PackageTempDir=..\\publish<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Seems like there a bunch of confusion about how to produce the &#8220;Publish&#8221; behavior provided by Visual Studio 2010 from msbuild 4 command line. The question I keep seeing over and over again is: How do I publsih the output of a web application with web.config tranformations included. This should get the job done: msbuild &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_block_theme_hide_title":false,"footnotes":""},"categories":[1],"tags":[6],"class_list":{"0":"post-156","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-uncategorized","7":"tag-msbuild","9":"without-featured-image"},"featured_image_src":null,"featured_image_src_square":null,"author_info":{"display_name":"Christopher Patterson","author_link":"https:\/\/pattersonc.com\/?author=1"},"_links":{"self":[{"href":"https:\/\/pattersonc.com\/index.php?rest_route=\/wp\/v2\/posts\/156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pattersonc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pattersonc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pattersonc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pattersonc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=156"}],"version-history":[{"count":0,"href":"https:\/\/pattersonc.com\/index.php?rest_route=\/wp\/v2\/posts\/156\/revisions"}],"wp:attachment":[{"href":"https:\/\/pattersonc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pattersonc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pattersonc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}