<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Jimmy Lewis' blog</title><subtitle type="html" /><id>http://blogs.msdn.com/jamlew/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/jamlew/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2008-10-28T11:43:29Z</updated><entry><title>MSBuilding Web Site Projects doesn’t Copy Silverlight XAP (and How to Fix It)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/11/02/msbuilding-web-site-projects-doesn-t-copy-silverlight-xap-and-how-to-fix-it.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/11/02/msbuilding-web-site-projects-doesn-t-copy-silverlight-xap-and-how-to-fix-it.aspx</id><published>2009-11-03T01:27:19Z</published><updated>2009-11-03T01:27:19Z</updated><content type="html">&lt;p&gt;If you have a Silverlight application that is consumed by a Web Site Project in Visual Studio (not to be confused with a Web Application Project), and you use msbuild on your solution, you may find that the XAP file is not copied to the website.&amp;#160; This will also happen if your solution is building via Team Foundation Server’s Team Build, or another similar tool.&amp;#160; &lt;/p&gt;  &lt;p&gt;The issue is that since Web Site Projects (WSPs) do not have a project file associated, they are dumb about copying the XAP file.&amp;#160; When you build from Visual Studio, we wrap some extra smarts into the process to make sure it happens correctly.&lt;/p&gt;  &lt;p&gt;You can work around this by creating an AfterBuild command for the Silverlight project to copy the XAP file to the WSP (normally the web project consumes the Silverlight output on its own).&amp;#160; This can be done by editing the project file for the Silverlight app.&amp;#160; The project file contains the following section towards the bottom:&lt;/p&gt;  &lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;   &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;     &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;&amp;lt;!-- To modify your build process, add your task inside one of the targets below and uncomment it. &lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;     Other similar extension points exist, see Microsoft.Common.targets.&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;&amp;lt;Target Name=&amp;quot;BeforeBuild&amp;quot;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;&amp;lt;/Target&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;&amp;lt;Target Name=&amp;quot;AfterBuild&amp;quot;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;&amp;lt;/Target&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #008000"&gt;--&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;You can hook the AfterBuild target to do the work of copying the XAP file, like this:&lt;/p&gt;

&lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; height: 75px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;
  &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;
    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Target&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;AfterBuild&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;Copy&lt;/span&gt; &lt;span style="color: #ff0000"&gt;Condition&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;SourceFiles&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;bin\Debug\SampleSilverlight.xap&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;DestinationFolder&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;..\SampleSilverlight.Web\ClientBin&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;Target&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;SourceFiles should point at the XAP file, and DestinationFolder should be a path to the WSP.&amp;#160; Since the Silverlight app will build before the WSP, you don’t need to worry about lining it up right with the PrecompiledWeb folder – the WSP compilation will copy the XAP for you.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9916510" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Silverlight" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight/default.aspx" /><category term="Visual Studio" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Studio/default.aspx" /><category term="msbuild" scheme="http://blogs.msdn.com/jamlew/archive/tags/msbuild/default.aspx" /><category term="Team Build" scheme="http://blogs.msdn.com/jamlew/archive/tags/Team+Build/default.aspx" /></entry><entry><title>Refactoring Root namespace Breaks Silverlight Applications (and How to Fix It)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/10/28/refactoring-root-namespace-breaks-silverlight-applications-and-how-to-fix-it.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/10/28/refactoring-root-namespace-breaks-silverlight-applications-and-how-to-fix-it.aspx</id><published>2009-10-28T17:50:18Z</published><updated>2009-10-28T17:50:18Z</updated><content type="html">&lt;p&gt;One scenario that happens fairly often for new apps is to create a new project and then part way through decide you want to rename it, or at least the default namespace.&amp;#160; With Silverlight apps, when you do this and try to run your project, you’ll see an error:&lt;/p&gt;  &lt;div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper"&gt;   &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;Line: 56&lt;br /&gt;Error: Unhandled Error in Silverlight Application &lt;br /&gt;Code: 2103    &lt;br /&gt;Category: InitializeError       &lt;br /&gt;Message: Invalid or malformed application: Check manifest     &lt;br /&gt;&lt;/pre&gt;

  &lt;br /&gt;&lt;/div&gt;

&lt;p&gt;This happens because the EntryPointType in the AppManifest.xaml file is not updated when the refactoring occurs.&amp;#160; This value is generated at build time from the Startup Object in the project properties.&amp;#160; You can fix this issue by updating the Startup Object for your project:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/RefactoringRootnamespaceBreaksSilverligh_9850/Silverlight_StartupObject_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Silverlight_StartupObject" border="0" alt="Silverlight_StartupObject" src="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/RefactoringRootnamespaceBreaksSilverligh_9850/Silverlight_StartupObject_thumb.jpg" width="612" height="209" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9914226" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Silverlight" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight/default.aspx" /><category term="Visual Studio" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Studio/default.aspx" /></entry><entry><title>Silverlight 3 Support in VS2010 Beta 2</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/10/27/silverlight-3-support-in-vs2010-beta-2.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/10/27/silverlight-3-support-in-vs2010-beta-2.aspx</id><published>2009-10-28T04:47:50Z</published><updated>2009-10-28T04:47:50Z</updated><content type="html">&lt;p&gt;This evening I put up a &lt;a href="http://blogs.msdn.com/webdevtools/archive/2009/10/27/new-silverlight-tooling-support-in-visual-studio-2010-beta-2.aspx"&gt;blog post&lt;/a&gt; on my &lt;a href="http://blogs.msdn.com/webdevtools/"&gt;team’s blog&lt;/a&gt; to summarize some of the changes that have come in the Beta 2 release of VS2010 with regards to Silverlight development.&amp;#160; Check it out and leave any feedback.&lt;/p&gt;  &lt;p&gt;If you’re trying out the new beta, please give feedback and tell us what you think.&amp;#160; While we can’t address everything for the final VS2010 release, we do make customer bugs and suggestions a priority.&amp;#160; You can file bugs or new suggestions on the &lt;a href="http://connect.microsoft.com/"&gt;Microsoft Connect&lt;/a&gt; website, under the Visual Studio and .NET Framework connection.&amp;#160; Also, feel free to post on the &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/category/visualstudioprerelease"&gt;MSDN forums for VS2010 Beta 2&lt;/a&gt;, the &lt;a href="http://forums.asp.net/1213.aspx"&gt;ASP.NET forum for Beta 2&lt;/a&gt;, or on the &lt;a href="http://forums.silverlight.net/forums/18.aspx"&gt;Silverlight forum for Visual Studio&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Hope you’re enjoying the new release!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9913888" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Silverlight" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight/default.aspx" /><category term="Visual Studio 2010" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Studio+2010/default.aspx" /></entry><entry><title>VS2010 Beta 2 installation issue with Silverlight 3 SDK</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/10/21/vs2010-beta-2-installation-issue-with-silverlight-3-sdk.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/10/21/vs2010-beta-2-installation-issue-with-silverlight-3-sdk.aspx</id><published>2009-10-22T00:14:21Z</published><updated>2009-10-22T00:14:21Z</updated><content type="html">&lt;p&gt;Some folks have already started trying out the latest VS2010 release, and have been receiving installation failures for the Silverlight 3 SDK.&amp;#160; This is a known issue, and fairly easy to work around.&lt;/p&gt;  &lt;p&gt;The problem is caused by having the Silverlight 3 RTW version of the SDK installed (3.0.40624.0).&amp;#160; VS2010 tries to install the Silverlight 3 GDR2 version (3.0.40818.0), which doesn’t automatically upgrade in place.&amp;#160; The GDR version fails to install, giving this error.&lt;/p&gt;  &lt;p&gt;This does not completely break Silverlight development scenarios, as some people are already reporting.&amp;#160; However, there may be some minor issues that come up if you’re using the Silverlight 3 RTW SDK.&amp;#160; To fix this issue, you can uninstall the Silverlight 3 SDK, and install the latest version from &lt;a title="-LinkID=157102" href="http://go2.microsoft.com/fwlink/?LinkID=157102"&gt;http://go2.microsoft.com/fwlink/?LinkID=157102&lt;/a&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;We are working on providing a smooth experience for the VS2010 RTM release.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9911015" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Silverlight 3" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+3/default.aspx" /><category term="Visual Studio 2010" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Studio+2010/default.aspx" /></entry><entry><title>Debugging Silverlight Applications in Out Of Browser Mode</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/07/28/debugging-silverlight-applications-in-out-of-browser-mode.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/07/28/debugging-silverlight-applications-in-out-of-browser-mode.aspx</id><published>2009-07-28T20:57:55Z</published><updated>2009-07-28T20:57:55Z</updated><content type="html">&lt;p&gt;On an internal mailing list yesterday, someone asked how to debug their Silverlight 3 application as it runs Out of Browser.&amp;#160; They were seeing some behavior that would only reproduce in the first few seconds and only in OOB mode.&amp;#160; Fortunately, you can install your app locally and then debug it directly in the Out of Browser window.&lt;/p&gt;  &lt;p&gt;In the Silverlight project properties, on the debug tab, you can enable launching it as an OOB application:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/enableOOBdebugging_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="enableOOBdebugging" border="0" alt="enableOOBdebugging" src="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/enableOOBdebugging_thumb.jpg" width="663" height="323" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The drop down box contains all of the web projects in the solution which consume your Silverlight application.&amp;#160; Because they are treated as different installs by the runtime, you may want to change this setting if issues occur when installing from one web project but not another.&amp;#160; The notice below the dropdown simply indicates that you haven’t installed the Silverlight application in the context of that web project yet.&amp;#160; If the notice does not appear, then you’re good to go.&lt;/p&gt;  &lt;p&gt;The next step after enabling OOB debugging is to set your Silverlight app to the startup project.&amp;#160; Normally the web project is the startup project, and it hosts the Silverlight app; in this case, we don’t want to run the website.&amp;#160; To set the startup project, just right-click the project in Solution Explorer and select ‘Set as Startup Project’.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/setStartupProject_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="setStartupProject" border="0" alt="setStartupProject" src="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/setStartupProject_thumb.jpg" width="362" height="429" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;You’ll know which project is set as it will be in bold in Solution Explorer.&lt;/p&gt;  &lt;p&gt;Now when you start debugging, the application will launch in Out of Browser mode.&amp;#160; To go back to debugging in the web site’s context, simply change the web project back to being the startup project.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9851218" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Visual Studio 2008" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Studio+2008/default.aspx" /><category term="Silverlight 3" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+3/default.aspx" /><category term="Out Of Browser" scheme="http://blogs.msdn.com/jamlew/archive/tags/Out+Of+Browser/default.aspx" /></entry><entry><title>Upgrading to Silverlight 3 Tools for VS2008 (RTW)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/07/11/upgrading-to-silverlight-3-tools-for-vs2008-rtw.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/07/11/upgrading-to-silverlight-3-tools-for-vs2008-rtw.aspx</id><published>2009-07-11T21:10:55Z</published><updated>2009-07-11T21:10:55Z</updated><content type="html">&lt;p&gt;With the release to web (RTW) of Silverlight 3, a lot of folks will [hopefully] be upgrading to take advantage of the new features now offered.&amp;#160; The first question that will come up probably is, “how do I upgrade?”&amp;#160; Upgrading should actually be a very easy experience.&amp;#160; The &lt;a href="http://go.microsoft.com/fwlink/?LinkID=143571"&gt;Silverlight 3 Tools installer&lt;/a&gt; will do most of the work for you:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Update your developer runtime to the latest version (Silverlight 3 RTW, or newer if Silverlight is ever patched)&lt;/li&gt;    &lt;li&gt;Install the Silverlight 3 SDK&lt;/li&gt;    &lt;li&gt;Uninstall Silverlight 2 Tools for VS2008&lt;/li&gt;    &lt;li&gt;Install Silverlight 3 Tools for VS2008&lt;/li&gt;    &lt;li&gt;Install a new patch to VS2008 for Silverlight&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Note that it will not uninstall the Silverlight 2 SDK.&amp;#160; It is perfectly fine to have these both installed together; you may even desire this if you wish to continue using the ASP.NET controls for hosting Silverlight in your web page (note: the ASP.NET controls probably will not work correctly if you’re taking advantage of the new browser navigation features).&lt;/p&gt;  &lt;p&gt;You will need to update your installed version of the &lt;a href="http://go.microsoft.com/fwlink/?LinkID=157133"&gt;Silverlight 3 Toolkit Controls&lt;/a&gt; manually.&amp;#160; Since this is not part of the basic set of tools for Silverlight development in VS, we don’t manage the upgrade for it.&lt;/p&gt;  &lt;p&gt;Hope this clears up any confusion!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9829675" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Visual Studio 2008" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Studio+2008/default.aspx" /><category term="installation" scheme="http://blogs.msdn.com/jamlew/archive/tags/installation/default.aspx" /><category term="Silverlight 3" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+3/default.aspx" /></entry><entry><title>Setting up Silverlight Development in Visual Studio 2010 Beta 1</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/07/06/setting-up-silverlight-development-in-visual-studio-2010-beta-1.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/07/06/setting-up-silverlight-development-in-visual-studio-2010-beta-1.aspx</id><published>2009-07-06T23:16:12Z</published><updated>2009-07-06T23:16:12Z</updated><content type="html">&lt;p&gt;There’s been some confusion with setting up Silverlight development the VS 2010 Beta 1 release, since the Silverlight SDK and developer runtime are part of the installation.&amp;#160; In order for Silverlight to work in VS2010, you need to install both the SDK and developer runtime, but there is not a separate package for the Silverlight Tools itself.&amp;#160; This will be fixed in the next beta of VS2010.&lt;/p&gt;  &lt;p&gt;For now, if you want to install these packages, here’s some links:&lt;/p&gt;  &lt;table border="0" cellspacing="0" cellpadding="2" width="500"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="166"&gt;Silverlight 2:&lt;/td&gt;        &lt;td valign="top" width="166"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=8D933343-038F-499C-986C-C3C7E87A60B3"&gt;SDK&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="166"&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=119972"&gt;Developer Runtime&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="166"&gt;Silverlight 3 Beta:&lt;/td&gt;        &lt;td valign="top" width="166"&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=143435"&gt;SDK&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="166"&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=143433"&gt;Developer Runtime&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="166"&gt;Silverlight 3 RTW:&lt;/td&gt;        &lt;td valign="top" width="166"&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=157102"&gt;SDK&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="166"&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=150228"&gt;Developer Runtime&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;Note that there are some issues when using Dev10 Beta 1 with Silverlight 3 RTW, but most of these can be worked around.&amp;#160; We’ll have more info on that soon.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9820547" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author></entry><entry><title>Using Silverlight 3 beta’s Transparent Platform Extension and Out of Browser Features in Dev10 Beta 1</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/05/20/using-silverlight-3-beta-s-transparent-platform-extension-and-out-of-browser-features-in-dev10-beta-1.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/05/20/using-silverlight-3-beta-s-transparent-platform-extension-and-out-of-browser-features-in-dev10-beta-1.aspx</id><published>2009-05-21T01:38:00Z</published><updated>2009-05-21T01:38:00Z</updated><content type="html">&lt;P&gt;In Dev10 Beta 1, which was just released, there isn’t any way to enable the Transparent Platform Extensions (aka Assembly Caching) or Out of Browser features for Silverlight 3 Beta.&amp;nbsp; To enable these manually is pretty straight forward.&amp;nbsp; However, you should note that &lt;STRONG&gt;they are currently incompatible with each other&lt;/STRONG&gt;; you can use one or the other, but not both in the same Silverlight application.&lt;/P&gt;
&lt;P&gt;To enable TPE, you need to edit the project file and add a new property:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Right-click the project in the Solution Explorer window and select Unload project. &lt;/LI&gt;
&lt;LI&gt;Right-click it again and select Edit &amp;lt;yourprojectname&amp;gt;.proj &lt;/LI&gt;
&lt;LI&gt;Under the first &amp;lt;PropertyGroup&amp;gt; add the following: &lt;/LI&gt;&lt;/OL&gt;
&lt;DIV&gt;
&lt;DIV style="BORDER-BOTTOM-STYLE: none; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;PRE style="BORDER-BOTTOM-STYLE: none; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;UsePlatformExtensions&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;true&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;UsePlatformExtensions&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Now, right-click the project again and choose Reload Project.&amp;nbsp; Save the changes if prompted.&lt;/P&gt;
&lt;P&gt;Enabling the Out of Browser feature is the same as in the Silverlight 3 Beta Tools for VS2008 SP1.&amp;nbsp; You need to paste a chunk into the AppManifest.xml file used as a template when generating the AppManifest.xaml file.&amp;nbsp; The file is located under the Properties node in Visual Studio:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/HowtouseSilverlight3betaFeaturesinDev10B_10C71/appManifestXml_VB.jpg" mce_href="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/HowtouseSilverlight3betaFeaturesinDev10B_10C71/appManifestXml_VB.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=appManifestXml_VB border=0 alt=appManifestXml_VB src="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/HowtouseSilverlight3betaFeaturesinDev10B_10C71/appManifestXml_VB_thumb.jpg" width=237 height=140 mce_src="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/HowtouseSilverlight3betaFeaturesinDev10B_10C71/appManifestXml_VB_thumb.jpg"&gt;&lt;/A&gt; &lt;A href="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/HowtouseSilverlight3betaFeaturesinDev10B_10C71/appManifestXml_CS.jpg" mce_href="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/HowtouseSilverlight3betaFeaturesinDev10B_10C71/appManifestXml_CS.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=appManifestXml_CS border=0 alt=appManifestXml_CS src="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/HowtouseSilverlight3betaFeaturesinDev10B_10C71/appManifestXml_CS_thumb.jpg" width=236 height=146 mce_src="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/HowtouseSilverlight3betaFeaturesinDev10B_10C71/appManifestXml_CS_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To enable the OOB settings, paste the following snippet into the file (usually after the &amp;lt;Deployment.Parts&amp;gt; node):&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV style="BORDER-BOTTOM-STYLE: none; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;PRE style="BORDER-BOTTOM-STYLE: none; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;Deployment.ApplicationIdentity&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="BORDER-BOTTOM-STYLE: none; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;    &lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;ApplicationIdentity&lt;/SPAN&gt; &lt;/PRE&gt;&lt;PRE style="BORDER-BOTTOM-STYLE: none; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;        &lt;SPAN style="COLOR: #ff0000"&gt;ShortName&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="Your Out of Browser Silverlight Application"&lt;/SPAN&gt; &lt;/PRE&gt;&lt;PRE style="BORDER-BOTTOM-STYLE: none; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;        &lt;SPAN style="COLOR: #ff0000"&gt;Title&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="Window Title of Your Silverlight Application"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="BORDER-BOTTOM-STYLE: none; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;        &lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;ApplicationIdentity.Blurb&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;Description of your Silverlight application&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;ApplicationIdentity.Blurb&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="BORDER-BOTTOM-STYLE: none; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;    &lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;ApplicationIdentity&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="BORDER-BOTTOM-STYLE: none; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;Deployment.ApplicationIdentity&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9632989" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Visual Studio" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Studio/default.aspx" /><category term="Silverlight 3" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+3/default.aspx" /><category term="Out Of Browser" scheme="http://blogs.msdn.com/jamlew/archive/tags/Out+Of+Browser/default.aspx" /><category term="Transparent Platform Extensions" scheme="http://blogs.msdn.com/jamlew/archive/tags/Transparent+Platform+Extensions/default.aspx" /><category term="Visual Studio 2010" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Studio+2010/default.aspx" /></entry><entry><title>Making the Silverlight-Enabled WCF Service in Dev10 Beta 1 Work with Silverlight 2</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/05/20/making-the-silverlight-enabled-wcf-service-in-dev10-beta-1-work-with-silverlight-2.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/05/20/making-the-silverlight-enabled-wcf-service-in-dev10-beta-1-work-with-silverlight-2.aspx</id><published>2009-05-20T23:03:00Z</published><updated>2009-05-20T23:03:00Z</updated><content type="html">&lt;p&gt;In Dev10 Beta 1, the Silverlight-enabled WCF Service template is the version used for Silverlight 3 beta.&amp;#160; This uses a custom binding to enable binary encoding, and is incompatible with Silverlight 2 applications.&amp;#160; If you attempt to add a reference to it, you’ll see errors like the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/MakingtheSilverlightEnabledWCFServiceinD_ABD0/wcf_warnings.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="wcf_warnings" border="0" alt="wcf_warnings" src="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/MakingtheSilverlightEnabledWCFServiceinD_ABD0/wcf_warnings_thumb.jpg" width="457" height="281" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;(note that you might also see this error if you &lt;a href="http://blogs.msdn.com/jamlew/archive/2009/03/16/silverlight-3-tools-issue-new-wcf-template-is-broken-by-silverlight-2-sdk.aspx"&gt;are using Silverlight 3 beta and have the Silverlight 2 SDK installed&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;To make it work with Silverlight 2, however, you can just tweak to the web.config where the service is hosted to use basicHttpBinding without the custom bindingConfiguration.&amp;#160; In the web.config file, under the &amp;lt;system.serviceModel&amp;gt; node change the configuration from something like:&lt;/p&gt;  &lt;div&gt;   &lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;     &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;services&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;service&lt;/span&gt; &lt;span style="color: #ff0000"&gt;behaviorConfiguration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;UseSilverlightWcfTemplate.Web.Service1Behavior&amp;quot;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;UseSilverlightWcfTemplate.Web.Service1&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;endpoint&lt;/span&gt; &lt;span style="color: #ff0000"&gt;address&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;customBinding&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;bindingConfiguration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;UseSilverlightWcfTemplate.Web.Service1.customBinding0&amp;quot;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;            &lt;span style="color: #ff0000"&gt;contract&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;UseSilverlightWcfTemplate.Web.Service1&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;endpoint&lt;/span&gt; &lt;span style="color: #ff0000"&gt;address&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;mex&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;mexHttpBinding&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;contract&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;IMetadataExchange&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;service&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;services&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;to:&lt;/p&gt;

&lt;div&gt;
  &lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;
    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;services&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;service&lt;/span&gt; &lt;span style="color: #ff0000"&gt;behaviorConfiguration&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;UseSilverlightWcfTemplate.Web.Service1Behavior&amp;quot;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #ff0000"&gt;name&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;UseSilverlightWcfTemplate.Web.Service1&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;endpoint&lt;/span&gt; &lt;span style="color: #ff0000"&gt;address&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;basicHttpBinding&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;contract&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;UseSilverlightWcfTemplate.Web.Service1&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;        &lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;endpoint&lt;/span&gt; &lt;span style="color: #ff0000"&gt;address&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;mex&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;binding&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;mexHttpBinding&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;contract&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;IMetadataExchange&amp;quot;&lt;/span&gt; &lt;span style="color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;    &lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;service&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;

    &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000"&gt;services&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Then rebuild the web project and update your service reference.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9630630" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="WCF" scheme="http://blogs.msdn.com/jamlew/archive/tags/WCF/default.aspx" /><category term="Silverlight 2" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+2/default.aspx" /><category term="Visual Studio 2010" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Studio+2010/default.aspx" /></entry><entry><title>Understanding Issues Installing Silverlight 3 via Web Platform Installer</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/03/24/understanding-issues-installing-silverlight-3-via-web-platform-installer.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/03/24/understanding-issues-installing-silverlight-3-via-web-platform-installer.aspx</id><published>2009-03-25T03:40:32Z</published><updated>2009-03-25T03:40:32Z</updated><content type="html">&lt;p&gt;With the release of the &lt;a href="http://www.microsoft.com/web/downloads/platform.aspx"&gt;Web Platform Installer&lt;/a&gt; 2.0 beta at MIX last week, you can now install any of the cool development packages we’ve been releasing with a single combined application.&amp;#160; However, there are a couple issues that can come up, especially around the Silverlight Tools packages.&amp;#160; &lt;/p&gt;  &lt;p&gt;If your Silverlight Tools package fails to install, WebPI unfortunately doesn’t give you a very useful message.&amp;#160; You’ll probably see something in the log file that looks like: &lt;/p&gt;  &lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;   &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;DownloadManager Information: 0 : Adding product Silverlight 3 Tools for Visual Studio Beta (www.microsoft.com/web/webpi/2.0/WebProductList.xml?121) to cart
DownloadManager Information: 0 : Product 'www.microsoft.com/web/webpi/2.0/WebProductList.xml?121' was already in cart.
DownloadManager Information: 0 : No SQL to configure
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : downloading file 'http://go.microsoft.com/fwlink/?LinkId=146358' to: D:\Foo\Silverlight3_Tools.exe
DownloadManager Information: 0 : Starting EXE install for product 'Silverlight 3 Tools for Visual Studio Beta'. Commandline is: 'D:\Foo\Silverlight3_Tools.exe /q'
DownloadManager Information: 0 : Waiting for process: 220 - D:\Foo\Silverlight3_Tools.exe
DownloadManager Information: 0 : Install exit code for product 'Silverlight 3 Tools for Visual Studio Beta' is 1
DownloadManager Error: 0 : Install return code for product 'Silverlight 3 Tools for Visual Studio Beta' is Failure
DownloadManager Information: 0 : Product Silverlight 3 Tools for Visual Studio Beta done install completed&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;This really only tells you that the installation failed.&amp;#160; For some possibilities as to the problem, see Amy Dullard’s blog post about &lt;a href="http://blogs.msdn.com/amyd/archive/2009/03/19/silverlight-tools-installation-error-codes.aspx"&gt;Silverlight Tools Installation Error Codes&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If your problem is not listed, you’ll need to look at the Silverlight Tools installation log, which is located under your temp directory.&amp;#160; The file name will look something like: &lt;font color="#ffff00"&gt;Silverlight 3.0 Tools Beta 1_&amp;lt;date&amp;gt;_&amp;lt;timestamp&amp;gt;.html&lt;/font&gt;.&amp;#160; If you open this and then scroll to the bottom, it should give some information about the error.&lt;/p&gt;

&lt;p&gt;If you can’t figure out the problem from the Silverlight Tools installer log, leave a comment and I’ll help you resolve the issue.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9505861" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="installation" scheme="http://blogs.msdn.com/jamlew/archive/tags/installation/default.aspx" /><category term="Silverlight 3" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+3/default.aspx" /><category term="WebPI" scheme="http://blogs.msdn.com/jamlew/archive/tags/WebPI/default.aspx" /></entry><entry><title>Switching Your Visual Studio Environment Between Silverlight 2 and Silverlight 3</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/03/18/switching-your-visual-studio-environment-between-silverlight-2-and-silverlight-3.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/03/18/switching-your-visual-studio-environment-between-silverlight-2-and-silverlight-3.aspx</id><published>2009-03-18T21:52:00Z</published><updated>2009-03-18T21:52:00Z</updated><content type="html">&lt;P&gt;With the release of Silverlight 3 Beta, you’ll may want to try out the new features.&amp;nbsp; Unfortunately, Silverlight 3 Beta is a developer only release (no end-user runtime, no GoLive license), so you might end up going back and forth.&amp;nbsp; Even more unfortunate is that Visual Studio 2008 doesn’t have much room to create a multi-targeting environment for developers, so you’ll have to switch between which packages are installed.&lt;/P&gt;
&lt;P&gt;To upgrade from Silverlight 2 to Silverlight 3, simply run the new installer (found &lt;A href="http://www.microsoft.com/downloads/info.aspx?na=40&amp;amp;p=3&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=c22d6a7b-546f-4407-8ef6-d60c8ee221ed&amp;amp;u=http%3a%2f%2fgo.microsoft.com%2ffwlink%2f%3fLinkID%3d143571" mce_href="http://www.microsoft.com/downloads/info.aspx?na=40&amp;amp;p=3&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=c22d6a7b-546f-4407-8ef6-d60c8ee221ed&amp;amp;u=http%3a%2f%2fgo.microsoft.com%2ffwlink%2f%3fLinkID%3d143571"&gt;here&lt;/A&gt;).&amp;nbsp; It will automatically remove the Silverlight 2 Tools for VS package, which is incompatible with the Silverlight 3 package, and then install the new packages you’ll need for Silverlight 3 development.&amp;nbsp; (Note: If you’re looking to take advantage of the binary encoding for WCF services now available in Silverlight 3, you’ll have to remove the Silverlight 2 SDK manually; see &lt;A href="http://blogs.msdn.com/jamlew/archive/2009/03/18/silverlight-3-tools-issue-new-wcf-template-is-broken-by-silverlight-2-sdk.aspx" mce_href="http://blogs.msdn.com/jamlew/archive/2009/03/18/silverlight-3-tools-issue-new-wcf-template-is-broken-by-silverlight-2-sdk.aspx"&gt;here&lt;/A&gt; for more info.)&lt;/P&gt;
&lt;P&gt;To downgrade from Silverlight 3 to Silverlight 2, there’s a couple extra steps required.&amp;nbsp; The Silverlight 2 installer doesn’t know to check for the Silverlight 3 packages, so you’ll have to remove them by hand.&amp;nbsp; This can be done through the Add/Remove Programs applet in the Control Panel.&amp;nbsp; The packages which need to be removed are:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Microsoft Silverlight 3 Tools for Visual Studio/Visual Web Developer (this needs to be removed because the Silverlight Tools packages are incompatible; if both are installed, VS/VWD will use the Silverlight 3 version) &lt;/LI&gt;
&lt;LI&gt;Microsoft Silverlight (the version 3 runtime causes the Silverlight 2 Tools installer to fail; we’re working on a solution) &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;After that, run the Silverlight 2 Tools installer again (found &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=c22d6a7b-546f-4407-8ef6-d60c8ee221ed&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=c22d6a7b-546f-4407-8ef6-d60c8ee221ed&amp;amp;displaylang=en"&gt;here&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;To make this easier, Amy Dullard (one of our team members) has put together some scripts to automate this process.&amp;nbsp; See her blog post &lt;A href="http://blogs.msdn.com/amyd/archive/2009/03/18/switching-from-silverlight-3-tools-to-silverlight-2-tools.aspx" mce_href="http://blogs.msdn.com/amyd/archive/2009/03/18/switching-from-silverlight-3-tools-to-silverlight-2-tools.aspx"&gt;here&lt;/A&gt; for more info.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9484198" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Visual Studio 2008" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Studio+2008/default.aspx" /><category term="Silverlight Tools" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+Tools/default.aspx" /><category term="Visual Web Developer Express" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Web+Developer+Express/default.aspx" /><category term="Silverlight 3" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+3/default.aspx" /><category term="Silverlight 2" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+2/default.aspx" /></entry><entry><title>Want Help (files) With Silverlight 3?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/03/18/want-help-with-silverlight-3.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/03/18/want-help-with-silverlight-3.aspx</id><published>2009-03-18T21:40:00Z</published><updated>2009-03-18T21:40:00Z</updated><content type="html">&lt;P&gt;In Silverlight 3, the help files are shipping as a separate CHM file, instead of integrating with the offline Visual Studio documentation.&amp;nbsp; We received a lot of feedback during Silverlight 2 about the installation time being very long, and one of the main culprits was merging the help files.&amp;nbsp; If you want to keep a copy of the help files locally (i.e. you don’t want to use online help), you can download the offline CHM &lt;A href="http://go.microsoft.com/fwlink/?LinkId=144350" mce_href="http://go.microsoft.com/fwlink/?LinkId=144350"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9484893" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Silverlight Tools" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+Tools/default.aspx" /><category term="Silverlight 3" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+3/default.aspx" /></entry><entry><title>Silverlight 3 Tools Issue: New WCF Template is Broken by Silverlight 2 SDK</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2009/03/18/silverlight-3-tools-issue-new-wcf-template-is-broken-by-silverlight-2-sdk.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2009/03/18/silverlight-3-tools-issue-new-wcf-template-is-broken-by-silverlight-2-sdk.aspx</id><published>2009-03-18T21:35:00Z</published><updated>2009-03-18T21:35:00Z</updated><content type="html">&lt;P&gt;In Silverlight 3, we’ve introduced support for binary message encoding for WCF services, which should give a performance boost.&amp;nbsp; Silverlight 2, as you may recall, only supports basicHttpBinding.&amp;nbsp; The new binding is the default for Silverlight-enabled WCF services created with the Silverlight 3 Tools.&lt;/P&gt;
&lt;P&gt;If you’ve upgraded from the Silverlight 2 Tools for Visual Studio to the Silverlight 3 Tools for Visual Studio, you may run into the following warnings when adding a reference to a newly created WCF service (i.e. using the new template in Silverlight 3 Tools):&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/SL3WCFissuetitle_A5D3/wcfIssue_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/SL3WCFissuetitle_A5D3/wcfIssue_2.jpg"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=wcfIssue border=0 alt=wcfIssue src="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/SL3WCFissuetitle_A5D3/wcfIssue_thumb.jpg" width=651 height=217 mce_src="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/SL3WCFissuetitle_A5D3/wcfIssue_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you continue to run your Silverlight application, it will throw an exception when you try to instantiate a client for your service.&amp;nbsp; The stack trace will look like the following:&lt;/P&gt;
&lt;DIV&gt;&lt;PRE style="BORDER-BOTTOM-STYLE: none; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 115.51%; PADDING-RIGHT: 0px; FONT-FAMILY: consolas, 'Courier New', courier, monospace; BORDER-TOP-STYLE: none; HEIGHT: 272px; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;The given key was not present in the dictionary.

   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at System.ServiceModel.Configuration.ServiceModelSectionGroup.get_Client()
   at System.ServiceModel.Description.ConfigLoader.LookupChannel(String configurationName, String contractName, Boolean wildcard)
   at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName)
   at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName)
   at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address)
   at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName, EndpointAddress remoteAddress)
   at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName)
   at System.ServiceModel.EndpointTrait`1.CreateSimplexFactory()
   at System.ServiceModel.EndpointTrait`1.CreateChannelFactory()
   at System.ServiceModel.ClientBase`1.CreateChannelFactoryRef(EndpointTrait`1 endpointTrait)
   at System.ServiceModel.ClientBase`1.InitializeChannelFactoryRef()
   at System.ServiceModel.ClientBase`1..ctor()
   at Somewhere.In.Your.Silverlight.Application()&lt;/PRE&gt;&lt;/DIV&gt;
&lt;P&gt;This is caused by a bug where the Microsoft.Silverlight.ServiceReference.dll assembly is loaded into VS from the Silverlight 2 SDK instead of the Silverlight 3 SDK.&amp;nbsp; Since Silverlight 3 adds support for binary encoding in WCF services, when you add a service reference to such a service using the Silverlight &lt;STRONG&gt;2&lt;/STRONG&gt; assembly it fails and the generated ServiceReferences.ClientConfig is non-functional.&lt;/P&gt;
&lt;P&gt;To work around this issue for now, uninstall the Silverlight 2 SDK, update your service reference, and rebuild your Silverlight application.&lt;/P&gt;
&lt;P&gt;If you want your service to be consumable by both Silverlight 2 and Silverlight 3 applications, you can change the binding back to basicHttpBinding.&amp;nbsp; To do that, edit the web.config file for the web project containing the service.&amp;nbsp; Then update the service reference and rebuild your Silverlight application.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9481830" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Silverlight Tools" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+Tools/default.aspx" /><category term="Silverlight 3" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+3/default.aspx" /><category term="WCF" scheme="http://blogs.msdn.com/jamlew/archive/tags/WCF/default.aspx" /><category term="Silverlight 2" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+2/default.aspx" /></entry><entry><title>Silverlight Tools 2 Issue: Hosting Pages Broken from Beta 2 to RTW</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2008/11/06/silverlight-tools-2-issue-hosting-pages-broken-from-beta-2-to-rtw.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2008/11/06/silverlight-tools-2-issue-hosting-pages-broken-from-beta-2-to-rtw.aspx</id><published>2008-11-07T07:54:13Z</published><updated>2008-11-07T07:54:13Z</updated><content type="html">&lt;p&gt;A fair number of people are having issues with the ASP.NET control used to host Silverlight applications ceasing to work when they upgrade from Silverlight Beta 2 to Silverlight 2 RTW.&amp;#160; If the HTML page is also broken, the first thing to check is that the HTML markup is correct, since the MIME types have changed between the two releases.&amp;#160; In RTW, the HTML &amp;lt;object&amp;gt; snippet now looks like this:&lt;/p&gt;  &lt;div&gt;   &lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, &amp;#39;Courier New&amp;#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000"&gt;object&lt;/span&gt; &lt;span style="color: #ff0000"&gt;data&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;data:application/&lt;span style="background-color: #ffff00"&gt;x-silverlight-2&lt;/span&gt;,&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;type&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;application/&lt;span style="background-color: #ffff00"&gt;x-silverlight-2&lt;/span&gt;&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;width&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;100%&amp;quot;&lt;/span&gt; &lt;span style="color: #ff0000"&gt;height&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;100%&amp;quot;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;p&gt;Note that both the data type and the application type have end with -2.&amp;#160; The reason for changing the data type was to resolve an issue on Firefox.&amp;#160; That scenario was that Firefox with Silverlight 1 (but not Silverlight 2) would try to run the application with the wrong plug-in; it was not an obvious issue when debugging, so do double check both types.&lt;/p&gt;

&lt;p&gt;If the HTML page is still not working, then it's possible that the Silverlight application is broken.&amp;#160; Review the &lt;a href="http://msdn.microsoft.com/en-us/library/cc645049(VS.95).aspx"&gt;breaking changes&lt;/a&gt; (or see Mike Snow's post on it &lt;a href="http://silverlight.net/blogs/msnow/archive/2008/09/25/silverlight-version-2-rc0-release.aspx"&gt;here&lt;/a&gt;) to make sure that your code is correct.&lt;/p&gt;

&lt;p&gt;Once the HTML page is working, if the ASPX page is still not working, the issue is most likely caused because the System.Web.Silverlight.dll on the server is out of date.&amp;#160; The assembly from Beta 2 would output the incorrect MIME types; if you purge it from the server and replace it with the version in the RTW SDK (2.0.30825.0), it should begin to work correctly.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9051549" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Silverlight" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight/default.aspx" /><category term="Silverlight Tools" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+Tools/default.aspx" /></entry><entry><title>Silverlight Tools RTW is out! (for English)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jamlew/archive/2008/10/28/silverlight-tools-rtw-is-out-for-english.aspx" /><id>http://blogs.msdn.com/jamlew/archive/2008/10/28/silverlight-tools-rtw-is-out-for-english.aspx</id><published>2008-10-28T21:43:29Z</published><updated>2008-10-28T21:43:29Z</updated><content type="html">&lt;p&gt;The RTW release of Silverlight Tools for VS 2008 is out!&amp;#160; There are no functional changes from RC1, and hence no upgrade prompts or breaking changes.&amp;#160; The hot-fix was re-built for servicing reasons, so please do upgrade.&amp;#160; If you are upgrading from RC1, you should see the following packages being updated:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/SilverlightToolsRTWisoutforEnglish_A4DE/sltoolsrc1_to_rtw_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" title="sltoolsrc1_to_rtw" border="0" alt="sltoolsrc1_to_rtw" src="http://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/SilverlightToolsRTWisoutforEnglish_A4DE/sltoolsrc1_to_rtw_thumb.png" width="544" height="510" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The non-English releases are still being translated; since there are no functional changes between RC1 and RTW, there should be no issues with continuing to use those RC1 releases.&amp;#160; We will release the localized RTW as soon as we have the translations done.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9020705" width="1" height="1"&gt;</content><author><name>jamlew</name><uri>http://blogs.msdn.com/members/jamlew.aspx</uri></author><category term="Visual Studio 2008" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Studio+2008/default.aspx" /><category term="Silverlight Tools" scheme="http://blogs.msdn.com/jamlew/archive/tags/Silverlight+Tools/default.aspx" /><category term="Visual Web Developer Express" scheme="http://blogs.msdn.com/jamlew/archive/tags/Visual+Web+Developer+Express/default.aspx" /></entry></feed>