<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Downgrade a VS 2008 .sln or .csproj to VS 2005</title> <atom:link href="http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html/feed" rel="self" type="application/rss+xml" /><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html</link> <description>This is a collection of interesting stuff that I found on the web or stuff I worked on at the time.</description> <lastBuildDate>Tue, 07 Feb 2012 20:01:32 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.1</generator> <item><title>By: Me, myself and I</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html/comment-page-1#comment-332600</link> <dc:creator>Me, myself and I</dc:creator> <pubDate>Mon, 26 Oct 2009 18:49:20 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html#comment-332600</guid> <description>Just had to use your advice, and discovered another incompatibility - in code. The shortcut property syntax (public int someProp { get; set; }) doesn&#039;t compile in VS 2005. Thought I mention this for whoever is interested.Completely off topic: did you know there is a Toby Sharp at MS? Your T# made me look for T#, Tobi sharp, Tsharp, so I finally found him here: http://research.microsoft.com/en-us/people/tsharp/</description> <content:encoded><![CDATA[<p>Just had to use your advice, and discovered another incompatibility &#8211; in code. The shortcut property syntax (public int someProp { get; set; }) doesn&#8217;t compile in VS 2005. Thought I mention this for whoever is interested.</p><p>Completely off topic: did you know there is a Toby Sharp at MS? Your T# made me look for T#, Tobi sharp, Tsharp, so I finally found him here: <a
href="http://research.microsoft.com/en-us/people/tsharp/" rel="nofollow">http://research.microsoft.com/en-us/people/tsharp/</a></p> ]]></content:encoded> </item> <item><title>By: FreidnlyDude</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html/comment-page-1#comment-324717</link> <dc:creator>FreidnlyDude</dc:creator> <pubDate>Thu, 30 Jul 2009 15:16:56 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html#comment-324717</guid> <description>thanks! works fine!</description> <content:encoded><![CDATA[<p>thanks! works fine!</p> ]]></content:encoded> </item> <item><title>By: Hemant</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html/comment-page-1#comment-324480</link> <dc:creator>Hemant</dc:creator> <pubDate>Tue, 28 Jul 2009 15:25:25 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html#comment-324480</guid> <description>Firstly, change the &quot;Target Framework&quot; property from the 2009 proj properties. Then compiled the 2009 proj and fix issues id any (i.e. mostly issues related to the dataset xsd representing the database) - it can be solved easily by refreshing and rebinding it.Then create a new 2005 proj and paste the whole 2009 proj (except the .csproj and .sln) file in to the directory of 2005 proj. From the solution explorer - click &quot;Show all items&quot; and then include everything into your proj. For the dataset xsd mapping the database - you might have to remap the database. Clean the solution and recompile it.bingo .. its done ! hope this helps :-)</description> <content:encoded><![CDATA[<p>Firstly, change the &#8220;Target Framework&#8221; property from the 2009 proj properties. Then compiled the 2009 proj and fix issues id any (i.e. mostly issues related to the dataset xsd representing the database) &#8211; it can be solved easily by refreshing and rebinding it.</p><p>Then create a new 2005 proj and paste the whole 2009 proj (except the .csproj and .sln) file in to the directory of 2005 proj. From the solution explorer &#8211; click &#8220;Show all items&#8221; and then include everything into your proj. For the dataset xsd mapping the database &#8211; you might have to remap the database. Clean the solution and recompile it.</p><p>bingo .. its done ! hope this helps <img
src='http://www.fsmpi.uni-bayreuth.de/~dun3/tsharp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Matthew @ pelsys</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html/comment-page-1#comment-320939</link> <dc:creator>Matthew @ pelsys</dc:creator> <pubDate>Mon, 29 Jun 2009 07:07:26 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html#comment-320939</guid> <description>A small tool to allow you to covert your projects...I added it as a post build event to my vs2008 projectusing System;using System.Collections.Generic;using System.Text;using System.IO;using System.Xml;namespace VS2008ToVS2005{class Program{static void Main(string[] args){if (args.Length == 2){if (File.Exists(args[0])){XmlNamespaceManager nameSpaceManager = null;XmlDocument doc = new XmlDocument();doc.Load(args[0]);nameSpaceManager = new XmlNamespaceManager(doc.NameTable);nameSpaceManager.AddNamespace(&quot;msb&quot;, @&quot;http://schemas.microsoft.com/developer/msbuild/2003&quot;);//&lt;Project ToolsVersion=&quot;3.5&quot;XmlElement el = doc.SelectSingleNode(@&quot;//msb:ProductVersion&quot;,nameSpaceManager) as XmlElement;if (el != null &amp;&amp; el.InnerText == @&quot;9.0.30729&quot;){el.InnerText = @&quot;8.0.50727&quot;;}el = doc.SelectSingleNode(@&quot;//msb:Project&quot;, nameSpaceManager) as XmlElement;if (el != null &amp;&amp; el.Attributes[&quot;ToolsVersion&quot;] != null){el.Attributes.Remove(el.Attributes[&quot;ToolsVersion&quot;]);}el = doc.SelectSingleNode(@&quot;//msb:Import&quot;, nameSpaceManager) as XmlElement;if(el != null &amp;&amp; el.Attributes[@&quot;Project&quot;] != null){el.Attributes[&quot;Project&quot;].InnerText = @&quot;$(MSBuildBinPath)\Microsoft.CSharp.targets&quot;;}if (File.Exists(args[1])){File.Delete(args[1]);}doc.Save(args[1]);return;}}Console.WriteLine(&quot;Usage :&quot;);Console.WriteLine(&quot;VS2008ToVS2005  &quot;);Console.WriteLine(&quot;eg. &quot;);Console.WriteLine(&quot;    VS2008ToVS2005 stuff_2k8.csproj stuff_2k5.csproj &quot;);}}}</description> <content:encoded><![CDATA[<p>A small tool to allow you to covert your projects&#8230;</p><p>I added it as a post build event to my vs2008 project</p><p>using System;</p><p>using System.Collections.Generic;</p><p>using System.Text;</p><p>using System.IO;</p><p>using System.Xml;</p><p>namespace VS2008ToVS2005</p><p>{</p><p> class Program</p><p> {</p><p> static void Main(string[] args)</p><p> {</p><p> if (args.Length == 2)</p><p> {</p><p> if (File.Exists(args[0]))</p><p> {</p><p> XmlNamespaceManager nameSpaceManager = null;</p><p> XmlDocument doc = new XmlDocument();</p><p> doc.Load(args[0]);</p><p> nameSpaceManager = new XmlNamespaceManager(doc.NameTable);</p><p> nameSpaceManager.AddNamespace(&#8220;msb&#8221;, @&#8221;http://schemas.microsoft.com/developer/msbuild/2003&#8243;);</p><p> //&lt;Project ToolsVersion=&#8221;3.5&#8243;</p><p> XmlElement el = doc.SelectSingleNode(@&#8221;//msb:ProductVersion&#8221;,nameSpaceManager) as XmlElement;</p><p> if (el != null &amp;&amp; el.InnerText == @&#8221;9.0.30729&#8243;)</p><p> {</p><p> el.InnerText = @&#8221;8.0.50727&#8243;;</p><p> }</p><p> el = doc.SelectSingleNode(@&#8221;//msb:Project&#8221;, nameSpaceManager) as XmlElement;</p><p> if (el != null &amp;&amp; el.Attributes["ToolsVersion"] != null)</p><p> {</p><p> el.Attributes.Remove(el.Attributes["ToolsVersion"]);</p><p> }</p><p> el = doc.SelectSingleNode(@&#8221;//msb:Import&#8221;, nameSpaceManager) as XmlElement;</p><p> if(el != null &amp;&amp; el.Attributes[@"Project"] != null)</p><p> {</p><p> el.Attributes["Project"].InnerText = @&#8221;$(MSBuildBinPath)\Microsoft.CSharp.targets&#8221;;</p><p> }</p><p> if (File.Exists(args[1]))</p><p> {</p><p> File.Delete(args[1]);</p><p> }</p><p> doc.Save(args[1]);</p><p> return;</p><p> }</p><p> }</p><p> Console.WriteLine(&#8220;Usage :&#8221;);</p><p> Console.WriteLine(&#8220;VS2008ToVS2005  &#8220;);</p><p> Console.WriteLine(&#8220;eg. &#8220;);</p><p> Console.WriteLine(&#8221;    VS2008ToVS2005 stuff_2k8.csproj stuff_2k5.csproj &#8220;);</p><p> }</p><p> }</p><p>}</p> ]]></content:encoded> </item> <item><title>By: Convert VS 2008 Solution/Project to VS 2005 &#171; JaMaj&#8217;s World</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html/comment-page-1#comment-313167</link> <dc:creator>Convert VS 2008 Solution/Project to VS 2005 &#171; JaMaj&#8217;s World</dc:creator> <pubDate>Tue, 14 Apr 2009 03:33:13 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html#comment-313167</guid> <description>[...] http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project...       Blogroll [...]</description> <content:encoded><![CDATA[<p>[...] <a
href="http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project.." rel="nofollow">http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project..</a>.       Blogroll [...]</p> ]]></content:encoded> </item> <item><title>By: VS2008 e VS2005 &#124; hilpers</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html/comment-page-1#comment-295801</link> <dc:creator>VS2008 e VS2005 &#124; hilpers</dc:creator> <pubDate>Sat, 17 Jan 2009 20:45:47 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html#comment-295801</guid> <description>[...] : &gt; devo seguire qualche accorgimento? esportare/salvare in qualche modo &gt; particoalre?  http://saftsack.fs.uni-bayreuth.de/~...ution/139.html  -- Lorenzo Barbieri Developer Evangelist - Microsoft Italia Blog: http://www.geniodelmale.info [...]</description> <content:encoded><![CDATA[<p>[...] : &gt; devo seguire qualche accorgimento? esportare/salvare in qualche modo &gt; particoalre? <a
href="http://saftsack.fs.uni-bayreuth.de/~...ution/139.html" rel="nofollow">http://saftsack.fs.uni-bayreuth.de/~&#8230;ution/139.html</a> &#8212; Lorenzo Barbieri Developer Evangelist &#8211; Microsoft Italia Blog: <a
href="http://www.geniodelmale.info" rel="nofollow">http://www.geniodelmale.info</a> [...]</p> ]]></content:encoded> </item> <item><title>By: Joe S</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html/comment-page-1#comment-272599</link> <dc:creator>Joe S</dc:creator> <pubDate>Tue, 28 Oct 2008 01:13:15 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html#comment-272599</guid> <description>The project converter posted by graye works like a charm.</description> <content:encoded><![CDATA[<p>The project converter posted by graye works like a charm.</p> ]]></content:encoded> </item> <item><title>By: graye</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html/comment-page-1#comment-189097</link> <dc:creator>graye</dc:creator> <pubDate>Sat, 19 Apr 2008 13:38:31 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html#comment-189097</guid> <description>I&#039;ve got a ProjectConveter utility that will convert solution files between VS2005 and VS2008: http://home.hot.rr.com/graye/Articles/ProjectConverter.htm</description> <content:encoded><![CDATA[<p>I&#8217;ve got a ProjectConveter utility that will convert solution files between VS2005 and VS2008: <a
href="http://home.hot.rr.com/graye/Articles/ProjectConverter.htm" rel="nofollow">http://home.hot.rr.com/graye/Articles/ProjectConverter.htm</a></p> ]]></content:encoded> </item> <item><title>By: Glenn</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html/comment-page-1#comment-158503</link> <dc:creator>Glenn</dc:creator> <pubDate>Tue, 26 Feb 2008 15:26:23 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html#comment-158503</guid> <description>Tobi,I had to worry about the same thing where I work.  We have a source control project in VS2005 and the people here weren&#039;t too thrilled to switch to VS2008 if it meant that everyone had to switch at the same time.Thanks for the info above.  The SLN file was indeed found to be incompatible.  PRJ files and Typed Datasets went through some conversions too.  But these were found to be compatible with VS2005.Hope Microsoft can fully appreciate the difficulties developers can face when trying to introduce new Versions of Visual Studio.  They did a much better job this time.  But it&#039;s funny how even very small items can become &quot;show-stoppers&quot; in an environment using the latest software that they are licensed for.</description> <content:encoded><![CDATA[<p>Tobi,</p><p>I had to worry about the same thing where I work.  We have a source control project in VS2005 and the people here weren&#8217;t too thrilled to switch to VS2008 if it meant that everyone had to switch at the same time.</p><p>Thanks for the info above.  The SLN file was indeed found to be incompatible.  PRJ files and Typed Datasets went through some conversions too.  But these were found to be compatible with VS2005.</p><p>Hope Microsoft can fully appreciate the difficulties developers can face when trying to introduce new Versions of Visual Studio.  They did a much better job this time.  But it&#8217;s funny how even very small items can become &#8220;show-stoppers&#8221; in an environment using the latest software that they are licensed for.</p> ]]></content:encoded> </item> <item><title>By: Dag H. Baardsen</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html/comment-page-1#comment-158444</link> <dc:creator>Dag H. Baardsen</dc:creator> <pubDate>Tue, 26 Feb 2008 13:12:08 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html#comment-158444</guid> <description>Hmmm. Useful! I guess converting .csproj files from another project type than Library will have other challenges.Thanks!</description> <content:encoded><![CDATA[<p>Hmmm. Useful! I guess converting .csproj files from another project type than Library will have other challenges.</p><p>Thanks!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 1/17 queries in 0.012 seconds using disk

Served from: btfmx2.fs.uni-bayreuth.de @ 2012-02-12 08:53:08 -->
