Shawn Wildermuth's Rants and Raves
Thanks for visiting my blog! See more about me here: About Me
![Converting ASP.NET 2.0 to 3.5 for sites that use Silverlight 1.0](/img/headers/mechkeyboard-mouse.jpg)
Converting ASP.NET 2.0 to 3.5 for sites that use Silverlight 1.0
March 22, 2008
Quick fix for a problem that was haunting me today:
If you upgrade an ASP.NET 2.0 app to 3.5 and have .xaml files in your project that are part of a Silverlight 1.0 or 1.1 project, the conversion wizard converters them to Build-type: “Page” and adds a custom build for building the WPF files. If this happens you’ll get a cryptic error:
“error MC6000: Project file must include the .NET Framework assembly ‘WindowsBase, PresentationCore, PresentationFramework’ in the reference list.”
Go through your xaml files and mark them as “Content” and remove any custom tools and it will fix it.
![Creative Commons License](http://i.creativecommons.org/l/by-nc-nd/3.0/88x31.png)
This work by
Shawn Wildermuth
is licensed under a
Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License
. Based on a work at
wildermuth.com.