{"id":140,"date":"2010-12-12T16:43:00","date_gmt":"2010-12-12T22:43:00","guid":{"rendered":"https:\/\/www.chrystalsander.com\/blog\/?p=140"},"modified":"2010-12-12T16:43:00","modified_gmt":"2010-12-12T22:43:00","slug":"dwp-vs-webpart","status":"publish","type":"post","link":"https:\/\/www.chrystalsander.com\/blog\/?p=140","title":{"rendered":".DWP vs .WEBPART"},"content":{"rendered":"<p>1.  .DWP is for a SharePoint webpart<\/p>\n<ul>\n<li>The post-build command line can use SafeGAC and go into the content site, not central admin.  For example:\n<p>set DllInstallTarget=SafeGAC<br \/>set WspDeployTarget=http:\/\/Moss1<br \/>set QuickModeTarget=Upgrade<\/li>\n<\/ul>\n<p>    2   .WEBPART is for an asp.net webpart<\/p>\n<p>    3.  Both .dwp and .webpart have properties to be set for the &#8220;Custom&#8221; portion of the webpart&#8217;s edit tool pane<\/p>\n<p>    4.  Both have a Features section containing:<\/p>\n<ul>\n<li>A class<\/li>\n<li>A Feature.xml<\/li>\n<li>Another .xml that corresponds to the Feature.xml and holds .resx properties.<\/li>\n<\/ul>\n<p>     5.  Both .dwp and .webpart go into the web part gallery<\/p>\n<p>     6.  With the .dwp, if a property changes then the webpart must be deleted and the feature de-activated before deploying the new version.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. .DWP is for a SharePoint webpart The post-build command line can use SafeGAC and go into the content site, not central admin. For example: set DllInstallTarget=SafeGACset WspDeployTarget=http:\/\/Moss1set QuickModeTarget=Upgrade 2 .WEBPART is for an asp.net webpart 3. Both .dwp and .webpart have properties to be set for the &#8220;Custom&#8221; portion of the webpart&#8217;s edit tool &hellip; <a href=\"https:\/\/www.chrystalsander.com\/blog\/?p=140\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;.DWP vs .WEBPART&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"_links":{"self":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/140"}],"collection":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=140"}],"version-history":[{"count":0,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}