<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   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/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Arogl Darthu's Blog - WTF</title>
    <link>http://blog.arogldarthu.nl/</link>
    <description>profound astoundment</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.4 - http://www.s9y.org/</generator>
    <pubDate>Wed, 01 Jun 2011 12:43:55 GMT</pubDate>

    <image>
        <url>http://blog.arogldarthu.nl/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Arogl Darthu's Blog - WTF - profound astoundment</title>
        <link>http://blog.arogldarthu.nl/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>MSBuild Exec task - IgnoreStandardErrorWarningFormat</title>
    <link>http://blog.arogldarthu.nl/archives/15-MSBuild-Exec-task-IgnoreStandardErrorWarningFormat.html</link>
            <category>WTF</category>
    
    <comments>http://blog.arogldarthu.nl/archives/15-MSBuild-Exec-task-IgnoreStandardErrorWarningFormat.html#comments</comments>
    <wfw:comment>http://blog.arogldarthu.nl/wfwcomment.php?cid=15</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.arogldarthu.nl/rss.php?version=2.0&amp;type=comments&amp;cid=15</wfw:commentRss>
    

    <author>nospam@example.com (Twan Jacobs)</author>
    <content:encoded>
    If you are using MSBuild 4.0.30319 and try to set the property &lt;strong&gt;IgnoreStandardErrorWarningFormat&lt;/strong&gt; on the Exec task you might run into the following message error:&lt;br /&gt;
&lt;blockquote&gt;&lt;strong&gt;&lt;font color=&quot;maroon&quot;&gt;error MSB4064: The &quot;IgnoreStandardErrorWarningFormat&quot; parameter is not supported by the &quot;Exec&quot; task.&lt;/font&gt;&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;
The solution is very, very simple: be sure to add &lt;strong&gt;ToolsVersion=&quot;4.0&quot;&lt;/strong&gt; to the Project tag.&lt;br /&gt;
&lt;div class=&quot;xml geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;Project&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;DefaultTargets&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Bla&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;xmlns&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;http://schemas.microsoft.com/developer/msbuild/2003&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;ToolsVersion&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;4.0&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;Target&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;Name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Bla&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;Exec&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;IgnoreStandardErrorWarningFormat&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;true&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;Command&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;dir /w&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/Target&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/Project&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 01 Jun 2011 12:27:00 +0000</pubDate>
    <guid isPermaLink="false">http://blog.arogldarthu.nl/archives/15-guid.html</guid>
    
</item>
<item>
    <title>Upgrade test project from VS2005 to VS2010</title>
    <link>http://blog.arogldarthu.nl/archives/14-Upgrade-test-project-from-VS2005-to-VS2010.html</link>
            <category>WTF</category>
    
    <comments>http://blog.arogldarthu.nl/archives/14-Upgrade-test-project-from-VS2005-to-VS2010.html#comments</comments>
    <wfw:comment>http://blog.arogldarthu.nl/wfwcomment.php?cid=14</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.arogldarthu.nl/rss.php?version=2.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    

    <author>nospam@example.com (Twan Jacobs)</author>
    <content:encoded>
    The solution contains several projects, including test projects. All of which now target .Net Framework 2.0 (although some already reference .Net Framework 3.0 or 3.5 assemblies). We do not want to upgrade to .Net Framework 4.0 just yet. Goal of the upgrade is to have every project in the solution target .Net Framework 3.5.&lt;br /&gt;
&lt;br /&gt;
After converting the solution to VS2010 most of the projects reference .Net Framework 2.0. Some of which do not build, because of references to assemblies targeted at a higher .Net Framework. Visual Studio 2010 does not allow cross-referencing to higher .Net Framework assemblies. Fixing this problem is quite simple: just re-target the project to .Net Framework 3.5.&lt;br /&gt;
&lt;br /&gt;
All of the test projects have been set to .Net Framework 4.0. One could discuss if this is acceptable for test projects as these will not be released. But for now it was decided to keep every project targeted at .Net Framework 3.5. Fortunately most of the test projects were easily re-targeted to .Net Framework 3.5. Hint: if you run into problems here, make sure VS2010 SP1Rel is installed.&lt;br /&gt;
&lt;br /&gt;
For one of the test projects the solution just would not load it if re-targeted at .Net Framework 3.5. Each time the project was re-targeted, the conversion wizard would just pop up and set it back to .Net Framework 4.0. Eventually we found a workaround by editing the project file by hand after the conversion.&lt;br /&gt;
&lt;br /&gt;
Two manual fixes were needed:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Change reference of &lt;strong&gt;&quot;Microsoft.QualityTools.UnitTestFramework&quot;&lt;/strong&gt; to &lt;br /&gt;&lt;code&gt;&amp;lt;Reference Include=&quot;Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL&quot; /&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Remove contents of the tag &lt;code&gt;&amp;lt;FileUpgradeFlags&amp;gt;0&amp;lt;/FileUpgradeFlags&amp;gt;&lt;/code&gt;, which hints VS2010 to start the conversion wizard.&lt;/li&gt;
&lt;/ul&gt; 
    </content:encoded>

    <pubDate>Mon, 09 May 2011 13:06:49 +0000</pubDate>
    <guid isPermaLink="false">http://blog.arogldarthu.nl/archives/14-guid.html</guid>
    
</item>

</channel>
</rss>
