{"id":222,"date":"2009-09-17T15:52:16","date_gmt":"2009-09-17T13:52:16","guid":{"rendered":"http:\/\/dev.flauschig.ch\/wordpress\/?p=222"},"modified":"2009-09-17T15:52:16","modified_gmt":"2009-09-17T13:52:16","slug":"fix-the-following-web-projects-must-be-converted-to-the-new-web-site-format-error","status":"publish","type":"post","link":"http:\/\/dev.flauschig.ch\/wordpress\/?p=222","title":{"rendered":"Fix &#8220;The following Web projects must be converted to the new Web Site format.&#8221; Error"},"content":{"rendered":"<p>Some old Visual Studio Solutions may come up with this little annoying error on startup.<\/p>\n<p>Here&#8217;s how to fix it:<\/p>\n<p>Open the <code>&lt;yourproject&gt;.vspscc<\/code> File for the defect Project.<br \/>\nIt will look like:<\/p>\n<blockquote><p><code>\"\"<br \/>\n{<br \/>\n\"FILE_VERSION\" = \"9237\"<br \/>\n\"ENLISTMENT_CHOICE\" = \"COMPULSORY\"<br \/>\n\"PROJECT_FILE_RELATIVE_PATH\" = \"\"<br \/>\n\"NUMBER_OF_EXCLUDED_FILES\" = \"0\"<br \/>\n\"ORIGINAL_PROJECT_FILE_PATH\" = \"http:\/\/localhost\/&lt;yourproject&gt;.vbproj\"<br \/>\n\"NUMBER_OF_NESTED_PROJECTS\" = \"0\"<br \/>\n\"SOURCE_CONTROL_SETTINGS_PROVIDER\" = \"PROVIDER\"<br \/>\n}<\/code><\/p><\/blockquote>\n<p>Change the Value from <code>ENLISTMENT_CHOICE<\/code> from <code>COMPULSORY<\/code> to <code>NEVER<\/code> and remove the Value from <code>ORIGINAL_PROJECT_FILE_PATH<\/code>.<\/p>\n<p>The File now looks something like:<\/p>\n<blockquote><p><code>\"\"<br \/>\n{<br \/>\n\"FILE_VERSION\" = \"9237\"<br \/>\n<span style=\"color: #ff0000;\">\"ENLISTMENT_CHOICE\" = \"NEVER\"<\/span><br \/>\n\"PROJECT_FILE_RELATIVE_PATH\" = \"\"<br \/>\n\"NUMBER_OF_EXCLUDED_FILES\" = \"0\"<br \/>\n<span style=\"color: #ff0000;\">\"ORIGINAL_PROJECT_FILE_PATH\" = \"\"<\/span><br \/>\n\"NUMBER_OF_NESTED_PROJECTS\" = \"0\"<br \/>\n\"SOURCE_CONTROL_SETTINGS_PROVIDER\" = \"PROVIDER\"<br \/>\n}<\/code><\/p><\/blockquote>\n<p>Save the File.<\/p>\n<p>Now remove the defect Project from your Solution and re-add it. This basically removes the Line <code>SccProjectEnlistmentChoice&lt;xx&gt; = &lt;yy&gt;<\/code> from your Solution File and possibly some other legacy Lines.<\/p>\n<p>Now you&#8217;re done! Finally got rid of that annoying Message!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some old Visual Studio Solutions may come up with this little annoying error on startup. Here&#8217;s how to fix it: Open the &lt;yourproject&gt;.vspscc File for the defect Project. It will look like: &#8220;&#8221; { &#8220;FILE_VERSION&#8221; = &#8220;9237&#8221; &#8220;ENLISTMENT_CHOICE&#8221; = &#8220;COMPULSORY&#8221; &#8220;PROJECT_FILE_RELATIVE_PATH&#8221; = &#8220;&#8221; &#8220;NUMBER_OF_EXCLUDED_FILES&#8221; = &#8220;0&#8221; &#8220;ORIGINAL_PROJECT_FILE_PATH&#8221; = &#8220;http:\/\/localhost\/&lt;yourproject&gt;.vbproj&#8221; &#8220;NUMBER_OF_NESTED_PROJECTS&#8221; = &#8220;0&#8221; &#8220;SOURCE_CONTROL_SETTINGS_PROVIDER&#8221; = &#8220;PROVIDER&#8221; &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-roemer","4":"post-222","6":"format-standard","7":"category-programming"},"acf":[],"views":29504,"_links":{"self":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/222"}],"collection":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=222"}],"version-history":[{"count":0,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/222\/revisions"}],"wp:attachment":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}