{"id":665,"date":"2008-06-09T10:28:18","date_gmt":"2008-06-09T09:28:18","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/?p=665"},"modified":"2008-06-09T10:28:18","modified_gmt":"2008-06-09T09:28:18","slug":"more-silverlight-visual-studio-setup-hassles","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/665-more-silverlight-visual-studio-setup-hassles.html","title":{"rendered":"More Silverlight, Visual Studio setup hassles"},"content":{"rendered":"<p>I thought I\u2019d fixed my Silverlight 2 Beta 2 installation; but I had not.<\/p>\n<p>I ran into the issues <a href=\"http:\/\/silverlight.net\/forums\/t\/17500.aspx\" target=\"_blank\">described here<\/a>, specifically:<\/p>\n<ol>\n<li>Error \u201cObject reference not set to an instance of an object\u201d when adding a WCF service <\/li>\n<li>Silverlight app cannot see WCF services in same solution <\/li>\n<li>Error \u201cUnable to find \u2018DynamicTypeService\u2019\u201d when clicking the Advanced button in the Add Service Reference dialog. <\/li>\n<li>Visual Studio crashing on exit <\/li>\n<\/ol>\n<p>Here\u2019s what fixed it for me. First, I attempted to debug Visual Studio while adding a WCF service and spotted an exception related to version control. I discovered that Visual Studio was set to use Team Foundation Server as the Source Control plug-in, even though my Team Foundation Server is offline. I don\u2019t know if the Silverlight install somehow reset this, as I thought I\u2019d set it to None in Tools \u2013 Options \u2013 Source Control \u2013 Plug-in Selector; but I changed it back to None and that fixed the Object Reference error.<\/p>\n<p>Unfortunately it did not fix the second problem. Following a tip in the thread mentioned above, I moved the file:<\/p>\n<p>\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\Microsoft.VisualStudio.ServicesProxy.dll<\/p>\n<p>Then I uninstalled Microsoft Silverlight Tools Beta 2 for Visual Studio 2008. Then I reinstalled it (no reboot). Everything works.<\/p>\n<p>The Microsoft.VisualStudio.ServicesProxy.dll is replaced with a new version.<\/p>\n<p>An indicator of this problem is the size of your Silverlight Tools install in Control Panel \u2013 Programs and Features. If it is 1.14MB you may have the problem. If it is 1.17 or 1.18MB you probably do not have the problem. The size of my install increased from 1.14MB to 1.17MB on reinstall. A theory is that if the Silverlight Tools installer sees the ServicesProxy.dll, it doesn\u2019t install some other stuff that in fact it should install.<\/p>\n<div class=\"wlWriterSmartContent\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a6b1649e-bc07-4fd8-b393-9a9cc7778001\" style=\"padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px\">Technorati tags: <a href=\"http:\/\/technorati.com\/tags\/silverlight\" rel=\"tag\">silverlight<\/a>, <a href=\"http:\/\/technorati.com\/tags\/wcf\" rel=\"tag\">wcf<\/a>, <a href=\"http:\/\/technorati.com\/tags\/beta+2\" rel=\"tag\">beta 2<\/a>, <a href=\"http:\/\/technorati.com\/tags\/visual+studio+2008\" rel=\"tag\">visual studio 2008<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I thought I\u2019d fixed my Silverlight 2 Beta 2 installation; but I had not. I ran into the issues described here, specifically: Error \u201cObject reference not set to an instance of an object\u201d when adding a WCF service Silverlight app cannot see WCF services in same solution Error \u201cUnable to find \u2018DynamicTypeService\u2019\u201d when clicking the &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/665-more-silverlight-visual-studio-setup-hassles.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">More Silverlight, Visual Studio setup hassles<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55,77,80],"tags":[],"class_list":["post-665","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-silverlight","category-software-development"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=665"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/665\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}