<?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</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 - 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>
<item>
    <title>T-SQL: Import csv in temp table</title>
    <link>http://blog.arogldarthu.nl/archives/13-T-SQL-Import-csv-in-temp-table.html</link>
            <category>SQL</category>
    
    <comments>http://blog.arogldarthu.nl/archives/13-T-SQL-Import-csv-in-temp-table.html#comments</comments>
    <wfw:comment>http://blog.arogldarthu.nl/wfwcomment.php?cid=13</wfw:comment>

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

    <author>nospam@example.com (Twan Jacobs)</author>
    <content:encoded>
    Seems pretty simple to do... Just execute a query like this one:&lt;br /&gt;
&lt;div style=&quot;font-family: Courier New&quot;&gt;&lt;div class=&quot;tsql geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;color: #808080;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: #0000FF;&quot;&gt;INTO&lt;/span&gt; #TESTCSV&lt;br /&gt;&lt;span style=&quot;color: #0000FF;&quot;&gt;FROM&lt;/span&gt; &lt;span style=&quot;color: #0000FF;&quot;&gt;OPENROWSET&lt;/span&gt; &lt;span style=&quot;color: #808080;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #FF0000;&quot;&gt;&#039;Microsoft.Jet.OLEDB.4.0&#039;&lt;/span&gt;,&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #FF0000;&quot;&gt;&#039;Text;Database=C:&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\;&lt;/span&gt;HDR=YES&#039;&lt;/span&gt;,&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #FF0000;&quot;&gt;&#039;SELECT * FROM test.csv&#039;&lt;/span&gt;&lt;span style=&quot;color: #808080;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;/div&gt;In my case I was getting the following error message, which got me baffled for quite some time:&lt;br /&gt;
&lt;div style=&quot;font-family: Courier New; color: red&quot;&gt;Msg 492, Level 16, State 1, Line 1&lt;br /&gt;
Duplicate column names are not allowed in result sets obtained through OPENQUERY and OPENROWSET. The column name &quot;test#csv.NoName&quot; is a duplicate.&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
This really didn&#039;t make any sense to me. There were no duplicate column names in the csv file and surely there were no columns named &#039;NoName&#039;, nor did I forget to name a column...&lt;br /&gt;
&lt;br /&gt;
Then it came to me: what if &lt;strong&gt;UNICODE&lt;/strong&gt; isn&#039;t parsed correctly? Maybe that could cause empty columns headers? The file was exported by ReportViewer and I had not looked at the encoding of the resulting csv file. Guess what!? The encoding was UNICODE. So, after saving the file in &lt;strong&gt;ANSI&lt;/strong&gt; encoding, the query executed like a charm. 
    </content:encoded>

    <pubDate>Wed, 13 Apr 2011 09:55:34 +0000</pubDate>
    <guid isPermaLink="false">http://blog.arogldarthu.nl/archives/13-guid.html</guid>
    
</item>
<item>
    <title>Proxy's Dispose results in Exception</title>
    <link>http://blog.arogldarthu.nl/archives/11-Proxys-Dispose-results-in-Exception.html</link>
            <category>WCF</category>
    
    <comments>http://blog.arogldarthu.nl/archives/11-Proxys-Dispose-results-in-Exception.html#comments</comments>
    <wfw:comment>http://blog.arogldarthu.nl/wfwcomment.php?cid=11</wfw:comment>

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

    <author>nospam@example.com (Twan Jacobs)</author>
    <content:encoded>
    A while ago I grabbed a WCF Membership example from &lt;a href=&quot;http://www.monstersgotmy.net/post/WCF-MembershipProvider-and-RoleProvider-Schweeeet.aspx&quot; title=&quot;Wcf Membership Provider&quot;&gt;here&lt;/a&gt;. Now that I&#039;ve been reading some more on WCF, I stumbled upon the following article: http://msdn.microsoft.com/en-us/library/aa355056.aspx&lt;br /&gt;
&lt;br /&gt;
How do you see this? Have you ever had these &#039;errors from IDisposable&#039; surface in production? Did you start rewriting every client call with try-catch-finally? Personally I&#039;m a bit appalled by the idea... Using the using statement keeps the code clean.&lt;br /&gt;
&lt;br /&gt;
So I started searching for a solution. This article (&lt;a href=&quot;http://old.iserviceoriented.com/blog/post/Indisposable+-+WCF+Gotcha+1.aspx&quot; title=&quot;Almost?&quot;&gt;WCF Gotcha #1&lt;/a&gt;) seems to provide a nice solution, but it&#039;s not exactly what I was hoping for.&lt;br /&gt;
&lt;br /&gt;
Ideas are very welcome! &lt;br /&gt;&lt;a href=&quot;http://blog.arogldarthu.nl/archives/11-Proxys-Dispose-results-in-Exception.html#extended&quot;&gt;Continue reading &quot;Proxy&#039;s Dispose results in Exception&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 27 Jan 2009 09:58:10 +0000</pubDate>
    <guid isPermaLink="false">http://blog.arogldarthu.nl/archives/11-guid.html</guid>
    
</item>

</channel>
</rss>
