{"id":371,"date":"2010-05-16T14:57:30","date_gmt":"2010-05-16T12:57:30","guid":{"rendered":"http:\/\/www.itidea.nl\/?p=371"},"modified":"2015-09-08T20:32:11","modified_gmt":"2015-09-08T18:32:11","slug":"how-to-add-sharepoint-dll-reference-to-windows-forms-application-project-in-visual-studio-2010","status":"publish","type":"post","link":"https:\/\/www.itidea.nl\/index.php\/how-to-add-sharepoint-dll-reference-to-windows-forms-application-project-in-visual-studio-2010\/","title":{"rendered":"How to add Sharepoint dll reference to Windows Forms application project in Visual Studio 2010?"},"content":{"rendered":"<p>When trying to add SharePoint.dll reference to a Windows Forms application in Visual Studio 2010 make sure you set the target framework to a non client profile.<br \/>\nIf you don&#8217;t you&#8217;ll get the error message:<br \/>\nThe type or namespace name &#8216;SharePoint&#8217; does not exist in the namespace &#8216;Microsoft&#8217; (are you missing an assembly reference?)<br \/>\nAlso set the platform target to x64 at the Project Properties, Build section.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When trying to add SharePoint.dll reference to a Windows Forms application in Visual Studio 2010 make sure you set the target framework to a non client profile. If you don&#8217;t you&#8217;ll get the error message: The type or namespace name &#8230; <a class=\"more-link\" href=\"https:\/\/www.itidea.nl\/index.php\/how-to-add-sharepoint-dll-reference-to-windows-forms-application-project-in-visual-studio-2010\/\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[42,6],"class_list":["post-371","post","type-post","status-publish","format-standard","hentry","category-sharepoint-2010","tag-sharepoint-2010","tag-visual-studio"],"_links":{"self":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/comments?post=371"}],"version-history":[{"count":5,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/371\/revisions"}],"predecessor-version":[{"id":425,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/371\/revisions\/425"}],"wp:attachment":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/media?parent=371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/categories?post=371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/tags?post=371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}