{"id":8302,"date":"2020-06-25T21:32:11","date_gmt":"2020-06-25T21:32:11","guid":{"rendered":"http:\/\/putridparrot.com\/blog\/?p=8302"},"modified":"2020-06-25T21:33:10","modified_gmt":"2020-06-25T21:33:10","slug":"converting-old-style-csproj-to-new-style-sdk","status":"publish","type":"post","link":"https:\/\/putridparrot.com\/blog\/converting-old-style-csproj-to-new-style-sdk\/","title":{"rendered":"Converting old style csproj to new style sdk"},"content":{"rendered":"<p>This <a href=\"https:\/\/github.com\/hvanbakel\/CsprojToVs2017\">tool&#8217;s<\/a> pretty good for converting the old style csproj files to the new SDK style.<\/p>\n<p>Just install using<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\r\ndotnet tool install --global Project2015To2017.Migrate2019.Tool\r\n<\/pre>\n<p>Now navigate to where your solution is (that you want to convert) and from the command prompt run<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\r\ndotnet migrate-2019 wizard &quot;D:\\Path\\To\\My\\TestProject.sln&quot;\r\n<\/pre>\n<p>You&#8217;ll be asked if you want to backup things and whether you want to migrate, answer Y to the migrate question (backing up is up to you). This will then locate all the csproj&#8217;s in the solution and convert them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tool&#8217;s pretty good for converting the old style csproj files to the new SDK style. Just install using dotnet tool install &#8211;global Project2015To2017.Migrate2019.Tool Now navigate to where your solution is (that you want to convert) and from the command prompt run dotnet migrate-2019 wizard &quot;D:\\Path\\To\\My\\TestProject.sln&quot; You&#8217;ll be asked if you want to backup things [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[49,50],"tags":[],"class_list":["post-8302","post","type-post","status-publish","format-standard","hentry","category-net","category-visual-studio"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/8302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/comments?post=8302"}],"version-history":[{"count":3,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/8302\/revisions"}],"predecessor-version":[{"id":8305,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/8302\/revisions\/8305"}],"wp:attachment":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/media?parent=8302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/categories?post=8302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/tags?post=8302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}