{"id":9849,"date":"2016-01-27T19:05:37","date_gmt":"2016-01-28T00:05:37","guid":{"rendered":"https:\/\/thecapeblog.com\/?p=9849"},"modified":"2016-01-28T09:46:35","modified_gmt":"2016-01-28T14:46:35","slug":"visual-studio-nonsense","status":"publish","type":"post","link":"https:\/\/thecapeblog.com\/?p=9849","title":{"rendered":"Visual Studio Nonsense"},"content":{"rendered":"<p>This works: CodeBehind=&#8221;~\/Schedule2016.aspx.cs&#8221;<br \/>\nThis doesn&#8217;t: CodeBehind=&#8221;Schedule2016.aspx.cs&#8221;<\/p><p>From &#8220;Tortures of the Damned&#8221;:<\/p><p>This option is no longer available in VS2013, but you can accomplish the same thing by selecting your project in the Solution Explorer, then going to the Project option on the Menu Bar. Near the bottom you will see the Convert to Web Application option. This will generate designer files for all the *.aspx pages in your project that don&#8217;t have them, but be aware that this may not be what you want if you have a mix of CodeFile *.aspx pages and CodeBehind files. This will also convert CodeFile pages to CodeBehind files. (Courtesy Joisey Mike)<\/p><p>shareimprove this answer<br \/>\nedited Sep 28 &#8217;15 at 12:50<\/p><p>RubberDuck<br \/>\n4,70611447<br \/>\nanswered Feb 22 &#8217;11 at 8:05<\/p><p>bAN<br \/>\n4,76263459<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This works: CodeBehind=&#8221;~\/Schedule2016.aspx.cs&#8221; This doesn&#8217;t: CodeBehind=&#8221;Schedule2016.aspx.cs&#8221;From &#8220;Tortures of the Damned&#8221;:This option is no longer available in VS2013, but you can accomplish the same thing by selecting your project in the Solution Explorer, then going to the Project option on the &hellip; <a href=\"https:\/\/thecapeblog.com\/?p=9849\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9849","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/thecapeblog.com\/index.php?rest_route=\/wp\/v2\/posts\/9849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecapeblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecapeblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecapeblog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thecapeblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9849"}],"version-history":[{"count":3,"href":"https:\/\/thecapeblog.com\/index.php?rest_route=\/wp\/v2\/posts\/9849\/revisions"}],"predecessor-version":[{"id":9853,"href":"https:\/\/thecapeblog.com\/index.php?rest_route=\/wp\/v2\/posts\/9849\/revisions\/9853"}],"wp:attachment":[{"href":"https:\/\/thecapeblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecapeblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecapeblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}