<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Studio &amp; Silverlight Development Tools</title><link>http://forums.silverlight.net/forums/18.aspx</link><description>Discussions around using Visual Studio and other development tools to create Silverlight applications</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Convert a .NET 2.0 Project to a SilverLight library project</title><link>http://forums.silverlight.net/forums/thread/182970.aspx</link><pubDate>Wed, 04 Mar 2009 20:31:30 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:182970</guid><dc:creator>surielb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/182970.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=18&amp;PostID=182970</wfw:commentRss><description>&lt;p&gt;You can check out my article at the codeproject:&lt;/p&gt;
&lt;p&gt;&lt;span class="ArticleTopTitle" id="ctl00_ArticleTopHeader_ArticleTitle"&gt;&lt;strong&gt;Converting .NET Assemblies to Silverlight Assemblies&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;a href="http://www.codeproject.com/KB/silverlight/SLAssemblies.aspx"&gt;http://www.codeproject.com/KB/silverlight/SLAssemblies.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Convert a .NET 2.0 Project to a SilverLight library project</title><link>http://forums.silverlight.net/forums/thread/57582.aspx</link><pubDate>Thu, 05 Jun 2008 23:51:27 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:57582</guid><dc:creator>Neil Mosafi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/57582.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=18&amp;PostID=57582</wfw:commentRss><description>&lt;p&gt;Can you try adding the following lines in the PropertyGroups for Debug and Release, and let me know how you get on?&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;  &amp;lt;NoStdLib&amp;gt;true&amp;lt;/NoStdLib&amp;gt;&lt;br /&gt;  &amp;lt;NoConfig&amp;gt;true&amp;lt;/NoConfig&amp;gt;&lt;/pre&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Neil&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Convert a .NET 2.0 Project to a SilverLight library project</title><link>http://forums.silverlight.net/forums/thread/56667.aspx</link><pubDate>Mon, 02 Jun 2008 11:43:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:56667</guid><dc:creator>Yi-Lun Luo - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/56667.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=18&amp;PostID=56667</wfw:commentRss><description>&lt;p&gt;You can&amp;nbsp;share code, but not assembly. See &lt;a href="http://silverlight.net/forums/p/16573/55296.aspx#55296"&gt;http://silverlight.net/forums/p/16573/55296.aspx#55296&lt;/a&gt;&amp;nbsp;for more information.&lt;/p&gt;</description></item><item><title>Re: Convert a .NET 2.0 Project to a SilverLight library project</title><link>http://forums.silverlight.net/forums/thread/56664.aspx</link><pubDate>Mon, 02 Jun 2008 11:08:54 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:56664</guid><dc:creator>phobos7</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/56664.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=18&amp;PostID=56664</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;Yi-Lun Luo - MSFT:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Hello, I think it&amp;#39;s easier to update assembly references in Visual Studio than manually modifying the project file. Just remove a reference and add the Silverlight version.&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;p&gt;I&amp;#39;m afraid that manually doing the referencing isn&amp;#39;t a viable solution in the long term. As I mentioned in my post I&amp;#39;m looking for a way of sharing project contents between two projects. I was hoping that I could automatically convert a project file - maybe as part of a build step&lt;/p&gt;&lt;p&gt;Another solution would be to share files between the projects using source control. However, whenever a new file is added to the .NET 2.0 project it will also have to be manually added to the SilverLight project. I want to avoid this.&lt;/p&gt;&lt;p&gt;Is there any way of sharing an assembly between a .NET 2.0 project and a SilverLight project or can a SilverLight project only reference another SilverLight assembly? I really need a project that can be used by both SilverLight and a normal .NET 2.0 project.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Convert a .NET 2.0 Project to a SilverLight library project</title><link>http://forums.silverlight.net/forums/thread/56661.aspx</link><pubDate>Mon, 02 Jun 2008 10:42:08 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:56661</guid><dc:creator>Yi-Lun Luo - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/56661.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=18&amp;PostID=56661</wfw:commentRss><description>&lt;p&gt;Hello, I think it&amp;#39;s easier to update assembly references in Visual Studio than manually modifying the project file. Just remove a reference and add the Silverlight version.&lt;/p&gt;</description></item><item><title>Convert a .NET 2.0 Project to a SilverLight library project</title><link>http://forums.silverlight.net/forums/thread/56106.aspx</link><pubDate>Thu, 29 May 2008 14:19:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:56106</guid><dc:creator>phobos7</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/56106.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=18&amp;PostID=56106</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m looking into converting an existing .NET 2.0 project created with Visual Studio into a SilverLight library project. I want to make this an automatable task as we have a lot of code that we would prefer to share between the two projects in addition to avoiding the overhead of manually managing project contents. I&amp;#39;ve followed the steps outlined in a very useful post on &lt;a href="http://neilmosafi.blogspot.com/2008/03/silverlight-projects-vs-normal-projects.html"&gt;converting a project to a SilverLight project by Neil Mosafi&lt;/a&gt; and with a few tweaks I have the project opening up in VS2008 (with SilverLight Beta 1 Development tools). However I still have a problem. I have two questions:&lt;/p&gt;
&lt;p&gt;1) Is there any standard way of doing the .NET 2.0 to SilverLight Library project conversion?&lt;/p&gt;
&lt;p&gt;2) During my attempted conversion process (I&amp;#39;ve written a small app which I&amp;#39;m happy to share) I update the &amp;quot;System&amp;quot; reference to &amp;quot;system&amp;quot; but VS2008 still thinks I&amp;#39;m trying to use &amp;quot;System.Uri&amp;quot; from &amp;quot;System&amp;quot;. See the following error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Error&amp;nbsp;&amp;nbsp; &amp;nbsp;56&amp;nbsp;&amp;nbsp; &amp;nbsp;The type &amp;#39;System.Uri&amp;#39; is defined in an assembly that is not referenced. You must add a reference to assembly &amp;#39;System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#39;.&amp;nbsp;&amp;nbsp; &amp;nbsp;D:\Research\StreamLinkSilverlight\SilverlightApplication\Page.xaml.cs&amp;nbsp;&amp;nbsp; &amp;nbsp;27&amp;nbsp;&amp;nbsp; &amp;nbsp;13&amp;nbsp;&amp;nbsp; &amp;nbsp;SilverlightApplication&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;This suggests to me that the project is still referencing the full &amp;quot;System&amp;quot; namespace even though I&amp;#39;ve updated the project to reference the SilverLight reduced &amp;quot;system&amp;quot; one. Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Phil Leggetter&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>