<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Jimmy Lewis' blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/jamlew/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/jamlew/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 05:11:29 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>VS2008 SP1: Issues Changing Your Installed Features</title>
      <link>https://docs.microsoft.com/archive/blogs/jamlew/vs2008-sp1-issues-changing-your-installed-features</link>
      <pubDate>Fri, 30 Jul 2010 12:08:42 GMT</pubDate>
      <dc:creator><![CDATA[Jimmy Lewis]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamlew/2010/07/30/vs2008-sp1-issues-changing-your-installed-features/</guid>
      <description><![CDATA[We’ve had many users report issues when trying to change their installed features in VS2008...]]></description>
      <content:encoded><![CDATA[<p>We’ve had many users report issues when trying to change their installed features in VS2008 SP1.&#160; The error looks like the following:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/08/74/metablogapi/6052.vs2008_changefeatures.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-08-74-metablogapi/6052.vs2008_5F00_changefeatures.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="Error dialog" border="0" alt="A selected drive is no longer valid.  Please review your installation path settings before continuing with setup." src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/08/74/metablogapi/7115.vs2008_changefeatures_thumb.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-08-74-metablogapi/7115.vs2008_5F00_changefeatures_5F00_thumb.png" width="506" height="387" /></a></p>  <p>This is a bug not in SP1 itself, but shared in several other hotfixes released after SP1.&#160; Some notable culprits are KB971092, KB972222, and KB973675, all of which show up on Microsoft update.&#160; There is a setup authoring bug in these patches which prevents the user from changing the set of installed features.&#160; </p>  <p>This setup authoring bug has been fixed and can be installed via later hotfixes.&#160; One of these is KB979576, which can be found at <a title="https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=27638" href="https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=27638">https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=27638</a>.&#160; This hotfix is for an unrelated issue, but also contains the setup authoring fix.&#160; </p>  <p>The alternative to installing the additional KB is to uninstall any other KBs which may have the bug (not including SP1/KB945140, since it’s clean); however, this is several hundreds of MB of patches, whereas the above patch is just under 7MB.</p>]]></content:encoded>
    </item>
    <item>
      <title>Silverlight 4 Upgrade Breaks Silverlight Debugging Experience</title>
      <link>https://docs.microsoft.com/archive/blogs/jamlew/silverlight-4-upgrade-breaks-silverlight-debugging-experience</link>
      <pubDate>Thu, 22 Apr 2010 10:22:44 GMT</pubDate>
      <dc:creator><![CDATA[Jimmy Lewis]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamlew/2010/04/22/silverlight-4-upgrade-breaks-silverlight-debugging-experience/</guid>
      <description><![CDATA[A design change in the Silverlight 4 installer now causes older developer runtime to be upgraded...]]></description>
      <content:encoded><![CDATA[<p>A design change in the Silverlight 4 installer now causes older developer runtime to be upgraded when a newer client runtime installer is executed.&#160; This causes the Silverlight debugging components to be uninstalled, and breaks the debugging experience:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/Silverlight4UpgradeBreaksSilverlightDebu_91F3/sl_managed_debugging_components.png" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/Silverlight4UpgradeBreaksSilverlightDebu_91F3/sl_managed_debugging_components.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="sl_managed_debugging_components" border="0" alt="sl_managed_debugging_components" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/Silverlight4UpgradeBreaksSilverlightDebu_91F3/sl_managed_debugging_components_thumb.png" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/Silverlight4UpgradeBreaksSilverlightDebu_91F3/sl_managed_debugging_components_thumb.png" width="469" height="163" /></a> </p>  <p>The workaround for this is to install the latest Silverlight developer runtime, which you can find at <a href="https://go.microsoft.com/fwlink/?LinkID=188039">https://go.microsoft.com/fwlink/?LinkID=188039</a></p>  <p>Sorry for the inconvenience; we’ll review this design decision for SL 5 and determine how to improve the experience.</p>]]></content:encoded>
    </item>
    <item>
      <title>Finding the Visual Studio Activity Log</title>
      <link>https://docs.microsoft.com/archive/blogs/jamlew/finding-the-visual-studio-activity-log</link>
      <pubDate>Fri, 26 Feb 2010 16:40:24 GMT</pubDate>
      <dc:creator><![CDATA[Jimmy Lewis]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamlew/2010/02/26/finding-the-visual-studio-activity-log/</guid>
      <description><![CDATA[Sometimes when something goes wrong in Visual Studio, you might see the following dialog:     We’ve...]]></description>
      <content:encoded><![CDATA[<p>Sometimes when something goes wrong in Visual Studio, you might see the following dialog:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/activitylog_1.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/activitylog_1.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Visual Studio has encountered an exception..." border="0" alt="Visual Studio has encountered an exception..." src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/activitylog_thumb_1.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/activitylog_thumb_1.jpg" width="491" height="238" /></a> </p>  <p>We’ve had a number of users comment that the couldn’t find the file.&#160; This is because the file is only written when you run Visual Studio’s executable (devenv.exe) with the /log parameter.&#160; If you are reporting an issue to us (especially through the <a href="https://connect.microsoft.com/VisualStudio">Connect site</a>), the contents of the log file are very useful.&#160; If you’re developing a custom extension to Visual Studio, this can also be useful for determining when and why something doesn’t work.</p>  <p>There are two easy ways to run Visual Studio with the /log parameter.&#160; First, from the command line: </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/devenv_cmd.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/devenv_cmd.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Run devenv from the command line" border="0" alt="Run devenv from the command line" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/devenv_cmd_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/devenv_cmd_thumb.jpg" width="681" height="166" /></a> </p>  <p>And second by editing the shortcut you use to run it:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/devenv_shortcut.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/devenv_shortcut.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="add /log to an existing shortcut" border="0" alt="add /log to an existing shortcut" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/devenv_shortcut_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/FindingtheVisualStudioActivityLog_EA75/devenv_shortcut_thumb.jpg" width="381" height="537" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>64-Bit Team Build Fails on Silverlight Projects (and How to Fix It)</title>
      <link>https://docs.microsoft.com/archive/blogs/jamlew/64-bit-team-build-fails-on-silverlight-projects-and-how-to-fix-it</link>
      <pubDate>Fri, 22 Jan 2010 11:04:44 GMT</pubDate>
      <dc:creator><![CDATA[Jimmy Lewis]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamlew/2010/01/22/64-bit-team-build-fails-on-silverlight-projects-and-how-to-fix-it/</guid>
      <description><![CDATA[If you have a Silverlight project under source control, and try to build it on a 64-bit Team Build...]]></description>
      <content:encoded><![CDATA[<p>If you have a Silverlight project under source control, and try to build it on a 64-bit Team Build (or similar) server, you may encounter the following error:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/64BitTeamBuildFailsonSilverlightProjects_10FCD/sl_teamBuild_failure.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/64BitTeamBuildFailsonSilverlightProjects_10FCD/sl_teamBuild_failure.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Error: The Silverlight 3 SDK is not installed." border="0" alt="Error: The Silverlight 3 SDK is not installed." src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/64BitTeamBuildFailsonSilverlightProjects_10FCD/sl_teamBuild_failure_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/64BitTeamBuildFailsonSilverlightProjects_10FCD/sl_teamBuild_failure_thumb.jpg" width="603" height="113" /></a> </p>  <p>After checking the immediately obvious (i.e. is the SDK installed), you might wonder why this is happening.&#160; It has to do with the build running under 64-bit MSBuild.&#160; The Silverlight build tasks determine which versions of the framework are installed by reading from the registry.&#160; This key in 32-bit Windows is under <font color="#ffff00">HKLM\Software\Microsoft\</font>….&#160; On a 64-bit system, however, it’s under <font color="#ffff00">HKLM\Software\<strong>Wow6432Node\</strong>Microsoft\</font>…, and the build tasks fail to find the values they’re looking for.</p>  <p>To work around this issue, you need to set your project to build under the x86 toolset.&#160; To do that in TFS, you need to edit your build configuration to build for the x86 platform:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/64BitTeamBuildFailsonSilverlightProjects_10FCD/sl_teamBuild_platform_3.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/64BitTeamBuildFailsonSilverlightProjects_10FCD/sl_teamBuild_platform_3.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Editing the build configuration" border="0" alt="Editing the build configuration" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/64BitTeamBuildFailsonSilverlightProjects_10FCD/sl_teamBuild_platform_thumb_3.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/64BitTeamBuildFailsonSilverlightProjects_10FCD/sl_teamBuild_platform_thumb_3.jpg" width="654" height="492" /></a> </p>  <p></p>  <p></p>  <p>We do not have a fix for this at this time, but we are tracking the issue for an upcoming release.</p>]]></content:encoded>
    </item>
    <item>
      <title>MSBuilding Web Site Projects doesn’t Copy Silverlight XAP (and How to Fix It)</title>
      <link>https://docs.microsoft.com/archive/blogs/jamlew/msbuilding-web-site-projects-doesnt-copy-silverlight-xap-and-how-to-fix-it</link>
      <pubDate>Mon, 02 Nov 2009 17:27:19 GMT</pubDate>
      <dc:creator><![CDATA[Jimmy Lewis]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamlew/2009/11/02/msbuilding-web-site-projects-doesnt-copy-silverlight-xap-and-how-to-fix-it/</guid>
      <description><![CDATA[If you have a Silverlight application that is consumed by a Web Site Project in Visual Studio (not...]]></description>
      <content:encoded><![CDATA[<p>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.&#160; This will also happen if your solution is building via Team Foundation Server’s Team Build, or another similar tool.&#160; </p>  <p>The issue is that since Web Site Projects (WSPs) do not have a project file associated, they are dumb about copying the XAP file.&#160; When you build from Visual Studio, we wrap some extra smarts into the process to make sure it happens correctly.</p>  <p>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).&#160; This can be done by editing the project file for the Silverlight app.&#160; The project file contains the following section towards the bottom:</p>  <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: &#39;Courier New&#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">   <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: &#39;Courier New&#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">     <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: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #008000">&lt;!-- To modify your build process, add your task inside one of the targets below and uncomment it. </span></pre>
<!--CRLF-->

    <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: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #008000">     Other similar extension points exist, see Microsoft.Common.targets.</span></pre>
<!--CRLF-->

    <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: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #008000">&lt;Target Name=&quot;BeforeBuild&quot;&gt;</span></pre>
<!--CRLF-->

    <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: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #008000">&lt;/Target&gt;</span></pre>
<!--CRLF-->

    <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: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #008000">&lt;Target Name=&quot;AfterBuild&quot;&gt;</span></pre>
<!--CRLF-->

    <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: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #008000">&lt;/Target&gt;</span></pre>
<!--CRLF-->

    <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: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #008000">--&gt;</span></pre>
<!--CRLF--></div>
</div>

<p>You can hook the AfterBuild target to do the work of copying the XAP file, like this:</p>

<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: &#39;Courier New&#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">
  <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: &#39;Courier New&#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">
    <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: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;</span><span style="color: #800000">Target</span> <span style="color: #ff0000">Name</span><span style="color: #0000ff">=&quot;AfterBuild&quot;</span><span style="color: #0000ff">&gt;</span></pre>
<!--CRLF-->

    <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: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">&lt;</span><span style="color: #800000">Copy</span> <span style="color: #ff0000">Condition</span><span style="color: #0000ff">=&quot;&quot;</span> <span style="color: #ff0000">SourceFiles</span><span style="color: #0000ff">=&quot;bin\Debug\SampleSilverlight.xap&quot;</span> <span style="color: #ff0000">DestinationFolder</span><span style="color: #0000ff">=&quot;..\SampleSilverlight.Web\ClientBin&quot;</span> <span style="color: #0000ff">/&gt;</span></pre>
<!--CRLF-->

    <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: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;/</span><span style="color: #800000">Target</span><span style="color: #0000ff">&gt;</span></pre>
<!--CRLF--></div>
</div>

<p>SourceFiles should point at the XAP file, and DestinationFolder should be a path to the WSP.&#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.</p>]]></content:encoded>
    </item>
    <item>
      <title>Refactoring Root namespace Breaks Silverlight Applications (and How to Fix It)</title>
      <link>https://docs.microsoft.com/archive/blogs/jamlew/refactoring-root-namespace-breaks-silverlight-applications-and-how-to-fix-it</link>
      <pubDate>Wed, 28 Oct 2009 10:50:18 GMT</pubDate>
      <dc:creator><![CDATA[Jimmy Lewis]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamlew/2009/10/28/refactoring-root-namespace-breaks-silverlight-applications-and-how-to-fix-it/</guid>
      <description><![CDATA[One scenario that happens fairly often for new apps is to create a new project and then part way...]]></description>
      <content:encoded><![CDATA[<p>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.&#160; With Silverlight apps, when you do this and try to run your project, you’ll see an error:</p>  <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: &#39;Courier New&#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">   <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: &#39;Courier New&#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">Line: 56<br />Error: Unhandled Error in Silverlight Application <br />Code: 2103    <br />Category: InitializeError       <br />Message: Invalid or malformed application: Check manifest     <br /></pre>

  <br /></div>

<p>This happens because the EntryPointType in the AppManifest.xaml file is not updated when the refactoring occurs.&#160; This value is generated at build time from the Startup Object in the project properties.&#160; You can fix this issue by updating the Startup Object for your project:</p>

<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/RefactoringRootnamespaceBreaksSilverligh_9850/Silverlight_StartupObject_2.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/RefactoringRootnamespaceBreaksSilverligh_9850/Silverlight_StartupObject_2.jpg"><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="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/RefactoringRootnamespaceBreaksSilverligh_9850/Silverlight_StartupObject_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/RefactoringRootnamespaceBreaksSilverligh_9850/Silverlight_StartupObject_thumb.jpg" width="612" height="209" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Silverlight 3 Support in VS2010 Beta 2</title>
      <link>https://docs.microsoft.com/archive/blogs/jamlew/silverlight-3-support-in-vs2010-beta-2</link>
      <pubDate>Tue, 27 Oct 2009 21:47:50 GMT</pubDate>
      <dc:creator><![CDATA[Jimmy Lewis]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamlew/2009/10/27/silverlight-3-support-in-vs2010-beta-2/</guid>
      <description><![CDATA[This evening I put up a blog post on my team’s blog to summarize some of the changes that have come...]]></description>
      <content:encoded><![CDATA[<p>This evening I put up a <a href="https://blogs.msdn.com/webdevtools/archive/2009/10/27/new-silverlight-tooling-support-in-visual-studio-2010-beta-2.aspx">blog post</a> on my <a href="https://blogs.msdn.com/webdevtools/">team’s blog</a> to summarize some of the changes that have come in the Beta 2 release of VS2010 with regards to Silverlight development.&#160; Check it out and leave any feedback.</p>  <p>If you’re trying out the new beta, please give feedback and tell us what you think.&#160; While we can’t address everything for the final VS2010 release, we do make customer bugs and suggestions a priority.&#160; You can file bugs or new suggestions on the <a href="https://connect.microsoft.com/">Microsoft Connect</a> website, under the Visual Studio and .NET Framework connection.&#160; Also, feel free to post on the <a href="https://social.msdn.microsoft.com/Forums/en-US/category/visualstudioprerelease">MSDN forums for VS2010 Beta 2</a>, the <a href="https://forums.asp.net/1213.aspx">ASP.NET forum for Beta 2</a>, or on the <a href="https://forums.silverlight.net/forums/18.aspx">Silverlight forum for Visual Studio</a>.</p>  <p>Hope you’re enjoying the new release!</p>]]></content:encoded>
    </item>
    <item>
      <title>VS2010 Beta 2 installation issue with Silverlight 3 SDK</title>
      <link>https://docs.microsoft.com/archive/blogs/jamlew/vs2010-beta-2-installation-issue-with-silverlight-3-sdk</link>
      <pubDate>Wed, 21 Oct 2009 17:14:21 GMT</pubDate>
      <dc:creator><![CDATA[Jimmy Lewis]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamlew/2009/10/21/vs2010-beta-2-installation-issue-with-silverlight-3-sdk/</guid>
      <description><![CDATA[Some folks have already started trying out the latest VS2010 release, and have been receiving...]]></description>
      <content:encoded><![CDATA[<p>Some folks have already started trying out the latest VS2010 release, and have been receiving installation failures for the Silverlight 3 SDK.&#160; This is a known issue, and fairly easy to work around.</p>  <p>The problem is caused by having the Silverlight 3 RTW version of the SDK installed (3.0.40624.0).&#160; VS2010 tries to install the Silverlight 3 GDR2 version (3.0.40818.0), which doesn’t automatically upgrade in place.&#160; The GDR version fails to install, giving this error.</p>  <p>This does not completely break Silverlight development scenarios, as some people are already reporting.&#160; However, there may be some minor issues that come up if you’re using the Silverlight 3 RTW SDK.&#160; To fix this issue, you can uninstall the Silverlight 3 SDK, and install the latest version from <a title="-LinkID=157102" href="https://go2.microsoft.com/fwlink/?LinkID=157102">https://go2.microsoft.com/fwlink/?LinkID=157102</a>.&#160; </p>  <p>We are working on providing a smooth experience for the VS2010 RTM release.</p>]]></content:encoded>
    </item>
    <item>
      <title>Debugging Silverlight Applications in Out Of Browser Mode</title>
      <link>https://docs.microsoft.com/archive/blogs/jamlew/debugging-silverlight-applications-in-out-of-browser-mode</link>
      <pubDate>Tue, 28 Jul 2009 13:57:55 GMT</pubDate>
      <dc:creator><![CDATA[Jimmy Lewis]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamlew/2009/07/28/debugging-silverlight-applications-in-out-of-browser-mode/</guid>
      <description><![CDATA[On an internal mailing list yesterday, someone asked how to debug their Silverlight 3 application as...]]></description>
      <content:encoded><![CDATA[<p>On an internal mailing list yesterday, someone asked how to debug their Silverlight 3 application as it runs Out of Browser.&#160; They were seeing some behavior that would only reproduce in the first few seconds and only in OOB mode.&#160; Fortunately, you can install your app locally and then debug it directly in the Out of Browser window.</p>  <p>In the Silverlight project properties, on the debug tab, you can enable launching it as an OOB application:</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/enableOOBdebugging_2.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/enableOOBdebugging_2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="enableOOBdebugging" border="0" alt="enableOOBdebugging" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/enableOOBdebugging_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/enableOOBdebugging_thumb.jpg" width="663" height="323" /></a> </p>  <p>The drop down box contains all of the web projects in the solution which consume your Silverlight application.&#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.&#160; The notice below the dropdown simply indicates that you haven’t installed the Silverlight application in the context of that web project yet.&#160; If the notice does not appear, then you’re good to go.</p>  <p>The next step after enabling OOB debugging is to set your Silverlight app to the startup project.&#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.&#160; To set the startup project, just right-click the project in Solution Explorer and select ‘Set as Startup Project’.&#160; </p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/setStartupProject_2.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/setStartupProject_2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="setStartupProject" border="0" alt="setStartupProject" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/setStartupProject_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/jamlew/WindowsLiveWriter/DebuggingSilverlightApplicationsinOutOfB_9A2E/setStartupProject_thumb.jpg" width="362" height="429" /></a> </p>  <p>You’ll know which project is set as it will be in bold in Solution Explorer.</p>  <p>Now when you start debugging, the application will launch in Out of Browser mode.&#160; To go back to debugging in the web site’s context, simply change the web project back to being the startup project.</p>]]></content:encoded>
    </item>
    <item>
      <title>Upgrading to Silverlight 3 Tools for VS2008 (RTW)</title>
      <link>https://docs.microsoft.com/archive/blogs/jamlew/upgrading-to-silverlight-3-tools-for-vs2008-rtw</link>
      <pubDate>Sat, 11 Jul 2009 14:10:55 GMT</pubDate>
      <dc:creator><![CDATA[Jimmy Lewis]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/jamlew/2009/07/11/upgrading-to-silverlight-3-tools-for-vs2008-rtw/</guid>
      <description><![CDATA[With the release to web (RTW) of Silverlight 3, a lot of folks will [hopefully] be upgrading to take...]]></description>
      <content:encoded><![CDATA[<p>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.&#160; The first question that will come up probably is, “how do I upgrade?”&#160; Upgrading should actually be a very easy experience.&#160; The <a href="https://go.microsoft.com/fwlink/?LinkID=143571">Silverlight 3 Tools installer</a> will do most of the work for you:</p>  <ol>   <li>Update your developer runtime to the latest version (Silverlight 3 RTW, or newer if Silverlight is ever patched)</li>    <li>Install the Silverlight 3 SDK</li>    <li>Uninstall Silverlight 2 Tools for VS2008</li>    <li>Install Silverlight 3 Tools for VS2008</li>    <li>Install a new patch to VS2008 for Silverlight</li> </ol>  <p>Note that it will not uninstall the Silverlight 2 SDK.&#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).</p>  <p>You will need to update your installed version of the <a href="https://go.microsoft.com/fwlink/?LinkID=157133">Silverlight 3 Toolkit Controls</a> manually.&#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.</p>  <p>Hope this clears up any confusion!</p>]]></content:encoded>
    </item>
  </channel>
</rss>