{"id":634,"date":"2016-11-21T11:48:29","date_gmt":"2016-11-21T11:48:29","guid":{"rendered":"https:\/\/ibex.tech\/windows-iot\/?p=106"},"modified":"2016-11-21T11:48:29","modified_gmt":"2016-11-21T11:48:29","slug":"running-on-target-device-doesnt-run-with-your-changes","status":"publish","type":"post","link":"https:\/\/ibex.tech\/csharp\/uwp-programming-in-c\/troubleshooting\/running-on-target-device-doesnt-run-with-your-changes","title":{"rendered":"Running on target device doesn&#8217;t run with your changes"},"content":{"rendered":"<p>\n\t2016-11 &#8211; We&#039;ve found that when changing XAML and then running on remote device our changes are not deployed to the remote device, resulting in an old version of our app being run. &nbsp;Its very odd as the build deploy text says its deploying, but it isn&#039;t. &nbsp;Our solution initially was to select menu &gt; Build &gt; Deploy Solution and then press the run on remote machine&nbsp;once thats done. &nbsp;However doing this solved it properly:\n<\/p>\n<p style=\"margin-left: 40px\">\n\tTools &gt; Options &gt; Projects and Solutions &gt; Build and Run\n<\/p>\n<p style=\"margin-left: 80px\">\n\t&#039;Only build startup projects and dependencies on run&#039; = unchecked\n<\/p>\n<p style=\"margin-left: 80px\">\n\t&#039;On Run, when project are out of date&#039; = Always build\n<\/p>\n<p>\n\tSome fixes to try and solve the issue are here:&nbsp;<a href=\"http:\/\/stackoverflow.com\/questions\/2646858\/visual-studio-2010-isnt-building-before-a-run-when-there-are-code-changes\">http:\/\/stackoverflow.com\/questions\/2646858\/visual-studio-2010-isnt-building-before-a-run-when-there-are-code-changes<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>2016-11 &#8211; We&#039;ve found that when changing XAML and then running on remote device our changes are not deployed to the remote device, resulting in an old version of our app being run. &nbsp;Its very odd as the build deploy text says its deploying, but it isn&#039;t. &nbsp;Our solution initially was to select menu &gt; [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72],"tags":[],"class_list":["post-634","post","type-post","status-publish","format-standard","hentry","category-troubleshooting"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/comments?post=634"}],"version-history":[{"count":0,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/634\/revisions"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/media?parent=634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/categories?post=634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/tags?post=634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}