{"id":3283,"date":"2011-04-08T20:42:34","date_gmt":"2011-04-08T20:42:34","guid":{"rendered":"https:\/\/test.simple-talk.com\/uncategorized\/enabling-web-editor-support-in-class-library-projects\/"},"modified":"2016-07-28T10:50:23","modified_gmt":"2016-07-28T10:50:23","slug":"enabling-web-editor-support-in-class-library-projects","status":"publish","type":"post","link":"https:\/\/www.red-gate.com\/simple-talk\/blogs\/enabling-web-editor-support-in-class-library-projects\/","title":{"rendered":"Enabling Web Editor Support in Class Library Projects"},"content":{"rendered":"<p>One of the things that has bothered me for a while is that it&#8217;s tough to edit web files (.aspx \/ .ascx files) in non-web projects.&#160; I think you can edit them if they are in the root directory (I may be recalling wrong, it&#8217;s been a while) but the minute you put them in a directory the editor won&#8217;t open up for them.&#160; <strong>Jeff Burt<\/strong> informed me this morning that if this bothers you, you can fix it!&#160; Just open up your project file, locate the line containing the <strong>&lt;ProjectGuid&gt;<\/strong> element and add the following line under it:    <\/p>\n<p><strong>&lt;ProjectTypeGuids&gt;{349c5851-65df-11da-9384-00065b846f21};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}&lt;\/ProjectTypeGuids&gt;<\/strong><\/p>\n<p>This enables web editing functionality in non-web projects.&#160; If your project already has a <strong>ProjectTypeGuids<\/strong> element then you may just have to add those entries to the existing list.&#160; Thanks Jeff!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the things that has bothered me for a while is that it&#8217;s tough to edit web files (.aspx \/ .ascx files) in non-web projects.&#160; I think you can edit them if they are in the root directory (I may be recalling wrong, it&#8217;s been a while) but the minute you put them in&#8230;&hellip;<\/p>\n","protected":false},"author":46738,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"coauthors":[],"class_list":["post-3283","post","type-post","status-publish","format-standard","hentry","category-blogs"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/3283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/users\/46738"}],"replies":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/comments?post=3283"}],"version-history":[{"count":2,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/3283\/revisions"}],"predecessor-version":[{"id":42021,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/3283\/revisions\/42021"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=3283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/categories?post=3283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=3283"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/coauthors?post=3283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}