{"id":452,"date":"2015-06-14T10:15:10","date_gmt":"2015-06-14T14:15:10","guid":{"rendered":"http:\/\/kennywu.info\/?p=452"},"modified":"2015-06-14T10:19:01","modified_gmt":"2015-06-14T14:19:01","slug":"error-deploy-to-azure","status":"publish","type":"post","link":"http:\/\/kennywu.info\/?p=452","title":{"rendered":"Error Deploy to Azure"},"content":{"rendered":"<p>After successfully deploy an app to my own web hosting site (IIS) , I tried to do it again to Microsoft Azure, but got this strange error message from Visual Studio at the end of running the publish wizard.<br \/>\n<code>Sequence contains more than one matching element<\/code><br \/>\nIt turns out that if you have switched your publish targets or if you have manually updated\/removed settings from your <strong>.lsxtproj<\/strong> or\u00a0<strong>.lsproj<\/strong>\u00a0for previous version of lightswitch, you need to manually update\u00a0the setting of &#8220;<strong>.lsxtproj&#8221;<\/strong><\/p>\n<p><code>&lt;RemotePublish&gt;False&lt;\/RemotePublish&gt;\u00a0<\/code><\/p>\n<p><code>&lt;RemotePublish&gt;True&lt;\/RemotePublish&gt;<\/code><\/p>\n<div style=\"width: 415px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"http:\/\/www.finalcircuit.com\/wp-content\/uploads\/2013\/11\/vserror1.png\" alt=\"Deploy to Azure error\" width=\"405\" height=\"175\" \/><p class=\"wp-caption-text\">Deploy to Azure error<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>After successfully deploy an app to my own web hosting site (IIS) , I tried to do it again to Microsoft Azure, but got this strange error message from Visual Studio at the end of running the publish wizard. Sequence &hellip; <a href=\"http:\/\/kennywu.info\/?p=452\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,98],"tags":[],"class_list":["post-452","post","type-post","status-publish","format-standard","hentry","category-database","category-lightswitch"],"_links":{"self":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=452"}],"version-history":[{"count":4,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/452\/revisions"}],"predecessor-version":[{"id":455,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/452\/revisions\/455"}],"wp:attachment":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=452"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}