<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
	<channel>
		<title>Blog by Joel Fjordén a.k.a. Will o Wisp</title>
		<link>http://joel.fjorden.se/index.php</link>
		<description><![CDATA[No Footer]]></description>
		<copyright>Copyright 2010, Joel Fjordén</copyright>
		<managingEditor>Joel Fjordén</managingEditor>
		<language>en-US</language>
		<generator>SPHPBLOG 0.4.8</generator>
<br />
<b>Deprecated</b>:  Function split() is deprecated in <b>/customers/fjorden.se/fjorden.se/httpd.www/joel/scripts/sb_feed.php</b> on line <b>82</b><br />
		<item>
			<title>MSBuild 4 Fails Building Device Projects Outside Visual Studio 2010</title>
			<link>http://joel.fjorden.se/index.php?entry=entry100111-084525</link>
			<description><![CDATA[I recently wrote a <a href="http://joel.fjorden.se/index.php?m=12&amp;y=09&amp;entry=entry091228-170025" target="_blank" >blog post</a> about a workaround for building .NET Compact Framework (Smart Device) projects in Visual Studio 2010 Beta 2.<br /><br />This workes perfectly fine when building it inside Visual Studio 2010, but when building it from the command line using MSBuild 4.0 it fails, complaining about not finding the GetDeviceFrameworkPath in the Microsoft.CompactFramework.Build.Tasks. This has to do with an error in the configuration file for MSBuild.<br /><br />The solution is to edit the msbuild.exe.config file in the [Windows]\Microsoft.NET\Framework\v4.0.21006 folder and to remove the binding redirect for Microsoft.CompactFramework.Build.Tasks  to version 10.0.0.0, which does not exist yet.<br /><br />Lines to remove:<br /><i>&lt;dependentAssembly&gt;<br />&lt;assemblyIdentity name=&quot;Microsoft.CompactFramework.Build.Tasks&quot; publicKeyToken=&quot;b03f5f7f11d50a3a&quot; culture=&quot;neutral&quot;/&gt;<br />  &lt;bindingRedirect oldVersion=&quot;0.0.0.0-99.9.9.9&quot; newVersion=&quot;10.0.0.0&quot;/&gt;<br />&lt;/dependentAssembly&gt;</i>]]></description>
			<category>Visual Studio</category>
			<guid isPermaLink="true">http://joel.fjorden.se/index.php?entry=entry100111-084525</guid>
			<author>Joel Fjordén</author>
			<pubDate>Mon, 11 Jan 2010 07:45:25 GMT</pubDate>
			<comments>http://joel.fjorden.se/comments.php?y=10&amp;m=01&amp;entry=entry100111-084525</comments>
		</item>
<br />
<b>Deprecated</b>:  Function split() is deprecated in <b>/customers/fjorden.se/fjorden.se/httpd.www/joel/scripts/sb_feed.php</b> on line <b>82</b><br />
		<item>
			<title>TestDriven.NET Complains About Apartment State Not Being STA in Visual Studio 2010</title>
			<link>http://joel.fjorden.se/index.php?entry=entry091230-171404</link>
			<description><![CDATA[Today I installed TestDriven.NET version 3 Alpha which works great in Visual Studio 2010 Beta 2, except for one thing. Many tests failed due to an InvalidOperationException being thrown, stating that the calling thread must be STA.<br /><br />I know that I had configured the apartment state to STA in the NUnit config file corresponding to the NUnit project file (or assembly). TestDriven.NET states that it defaults to run with STA as apartment state, but still it complained about not being STA.<br /><br />The solution for me was to explicitly add the RequiresSTA attribute to the class being tested. The RequiresSTA attribute can be added to individual test methods, an entire test fixture or the whole assembly.]]></description>
			<category>Visual Studio</category>
			<guid isPermaLink="true">http://joel.fjorden.se/index.php?entry=entry091230-171404</guid>
			<author>Joel Fjordén</author>
			<pubDate>Wed, 30 Dec 2009 16:14:04 GMT</pubDate>
			<comments>http://joel.fjorden.se/comments.php?y=09&amp;m=12&amp;entry=entry091230-171404</comments>
		</item>
<br />
<b>Deprecated</b>:  Function split() is deprecated in <b>/customers/fjorden.se/fjorden.se/httpd.www/joel/scripts/sb_feed.php</b> on line <b>82</b><br />
		<item>
			<title>Making Visual Studio 2010 Perform Better in VMWare.</title>
			<link>http://joel.fjorden.se/index.php?entry=entry091228-172255</link>
			<description><![CDATA[Are you experiencing very bad performance, crashes or painting problems when running Visual Studio 2010 Beta 2 in a virtual machine, like VMWare? I did experience this in VMWare, e.g.  VS 2010 crashed when creating new projects, painting problems in the new project dialog, etc.<br /><br />I found this <a href="http://social.msdn.microsoft.com/Forums/en-US/vseditorprerelease/thread/9864b82e-2ab5-4bf8-aebe-de9b30d4d7de" target="_blank" >blog post</a> describing the issue and a workaround that not only is specific for Visual Studio 2010, but for all WPF application.<br /><br />Simply disable hardware acceleration by creating a registry value HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration, as a DWORD with a value of 1.]]></description>
			<category>Visual Studio</category>
			<guid isPermaLink="true">http://joel.fjorden.se/index.php?entry=entry091228-172255</guid>
			<author>Joel Fjordén</author>
			<pubDate>Mon, 28 Dec 2009 16:22:55 GMT</pubDate>
			<comments>http://joel.fjorden.se/comments.php?y=09&amp;m=12&amp;entry=entry091228-172255</comments>
		</item>
<br />
<b>Deprecated</b>:  Function split() is deprecated in <b>/customers/fjorden.se/fjorden.se/httpd.www/joel/scripts/sb_feed.php</b> on line <b>82</b><br />
		<item>
			<title>Open and Build .NET Compact Framework Projects in Visual Studio 2010</title>
			<link>http://joel.fjorden.se/index.php?entry=entry091228-170025</link>
			<description><![CDATA[.NET Compact Framework (Smart Device) projects are still not supported in Beta 2 of Visual Studio 2010, but there is a workaround until support is added in the final version.<br /><br /><b>Things to change in VS 2008 .NET Compact Framework (Smart Device) projects to make them load and build in VS 2010 while still targeting the .NET Compact Framework.</b><br /><br />1) Edit the project file (*.csproj) for your smart device project.<br /><br />2) Make sure the ToolsVersion attribute is set to 4.0.<br /><br />3) Remove the ProjectTypeGuids property item from the main property group.<br /><br />4) Both PlatformFamilyName and PlatformID are important for the project to correctly target the .NET Compact Framework.<br /><br />5) Change the import item for the Compact Framework build task to specify the location of the Microsoft.CompactFramework.CSharp.targets file. Either hard-code the path in the task or add the path to a property item in the main property group and reference that in the import item.<br />	<br />Example #1:<br /><i>&lt;Import Condition=&quot;&#039;$(TargetFrameworkVersion)&#039; == &#039;v3.5&#039;&quot; Project=&quot;C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.CSharp.targets&quot; /&gt;</i><br /><br />Example #2:<br /><i>&lt;PropertyGroup&gt;<br />	&lt;MSBuildBinPathCF Condition=&quot; &#039;$(MSBuildBinPathCF)&#039; == &#039;&#039; &quot;&gt;C:\Windows\Microsoft.NET\Framework\v3.5&lt;/MSBuildBinPathCF&gt;<br />&lt;/PropertyGroup&gt;<br />	<br />&lt;Import Condition=&quot;&#039;$(TargetFrameworkVersion)&#039; == &#039;v3.5&#039;&quot; Project=&quot;$(MSBuildBinPathCF)\Microsoft.CompactFramework.CSharp.targets&quot; /&gt;</i><br />	<br />6) Remove the import tasks for older versions of the .NET Compact Framework or configure them correctly. <br />  <br />7) Copy the &quot;Microsoft.CompactFramework.Common.targets&quot; file from [Windows]\Microsoft.NET\Framework\v3.5 to [Windows]\Microsoft.NET\Framework\v4.0.21006.<br /> <br />8) Reload the project. It might still ask for a conversion but this time it will load the project correctly.<br /><br /><br /><b>Things to change in VS 2010 project files, targeting .NET 3.5, to make them target the .NET Compact Framework 3.5.</b><br /><br />1) Replace the MSBuild project task targeting the .NET Framework to the one targeting the .NET Compact Framework, i.e. Microsoft.CompactFramework.CSharp.targets. Either hard-code the path in the task or add the path to a property item in the main property group and reference that in the import item.<br />	<br />Example #1:<br /><i>&lt;Import Condition=&quot;&#039;$(TargetFrameworkVersion)&#039; == &#039;v3.5&#039;&quot; Project=&quot;C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.CSharp.targets&quot; /&gt;</i><br /><br />Example #2:<br /><i>&lt;PropertyGroup&gt;<br />	&lt;MSBuildBinPathCF Condition=&quot; &#039;$(MSBuildBinPathCF)&#039; == &#039;&#039; &quot;&gt;C:\Windows\Microsoft.NET\Framework\v3.5&lt;/MSBuildBinPathCF&gt;<br />&lt;/PropertyGroup&gt;<br /><br />&lt;Import Condition=&quot;&#039;$(TargetFrameworkVersion)&#039; == &#039;v3.5&#039;&quot; Project=&quot;$(MSBuildBinPathCF)\Microsoft.CompactFramework.CSharp.targets&quot; /&gt;</i><br /><br />2) Add the following property items to the main property group:<br /><i>	&lt;PlatformFamilyName&gt;WindowsCE&lt;/PlatformFamilyName&gt;<br />	&lt;PlatformID&gt;E2BECB1F-8C8C-41ba-B736-9BE7D946A398&lt;/PlatformID&gt;</i>	<br /><br />3) Copy the &quot;Microsoft.CompactFramework.Common.targets&quot; MSBuild .NET Compact Framework target file, from [Windows]\Microsoft.NET\Framework\v3.5 to [Windows]\Microsoft.NET\Framework\v4.0.21006: <br />	<br />4) Reload the project.]]></description>
			<category>Visual Studio</category>
			<guid isPermaLink="true">http://joel.fjorden.se/index.php?entry=entry091228-170025</guid>
			<author>Joel Fjordén</author>
			<pubDate>Mon, 28 Dec 2009 16:00:25 GMT</pubDate>
			<comments>http://joel.fjorden.se/comments.php?y=09&amp;m=12&amp;entry=entry091228-170025</comments>
		</item>
<br />
<b>Deprecated</b>:  Function split() is deprecated in <b>/customers/fjorden.se/fjorden.se/httpd.www/joel/scripts/sb_feed.php</b> on line <b>82</b><br />
		<item>
			<title>Support is Coming for DXCore 9.1.3</title>
			<link>http://joel.fjorden.se/index.php?entry=entry090424-100703</link>
			<description><![CDATA[DevExpress recently released new versions of DXCore, CodeRush &amp; Refactor, where they have a new versioning and installation structure. <br /><br />A new version of Code Style Enforcer is on the way, with support for the latest DXCore. The only difference, really, is the installation path of the CSE plug-in, so until I&#039;ve fixed this you can simply copy the DX_CodeStyleEnforcer DLL from the &quot;C:\Program Files\Code Style Enforcer&quot; folder, to the DXCore plug-ins folder located in something like &quot;Documents\DevExpress\IDE Tools\Community\PlugIns&quot;.]]></description>
			<category>Code Style Enforcer</category>
			<guid isPermaLink="true">http://joel.fjorden.se/index.php?entry=entry090424-100703</guid>
			<author>Joel Fjordén</author>
			<pubDate>Fri, 24 Apr 2009 08:07:03 GMT</pubDate>
			<comments>http://joel.fjorden.se/comments.php?y=09&amp;m=04&amp;entry=entry090424-100703</comments>
		</item>
<br />
<b>Deprecated</b>:  Function split() is deprecated in <b>/customers/fjorden.se/fjorden.se/httpd.www/joel/scripts/sb_feed.php</b> on line <b>82</b><br />
		<item>
			<title>Sony Sucks When It Comes to Support and Guarantee for Playstation 3</title>
			<link>http://joel.fjorden.se/index.php?entry=entry090225-124146</link>
			<description><![CDATA[I write this to inform you all about my experiences with the horrible Sony support in Sweden. It all started when the blueray drive in my one year old PS3 (40 Gb) stopped reading blueray discs, games and movies. I then contacted the support in order to try to get it fixed, guarantee or no guarantee. After some phone calls, which by the way cost about 1$ per minute, and a lot of e-mails, I understood that they were not interested in trying to find a solution, and I was told that a simple diagnose would probably cost more than a new console. I know for sure what the problem is, so why not simply exchange the drive or let me buy it as a replacement part so that I could replace it myself?!<br /><br />The problem with the blueray drive is so very common, that I really think Sony should extend the guarantee period for these units, or at least try to be a little more professional in handling these issues. If you google for this problem you will find hundreds of hits in forums and YouTube also has an insane number of videos where people show you how to try to fix it or exchange it.<br /><br /><a href="http://blogg.idg.se/teknikprylar" target="_blank" >This blog article</a>, that describes my experiences with Sony in more detail, is unfortunately in Swedish, but I guess you can always use a translation tool if you&#039;re interested in reading more about it.]]></description>
			<category>General</category>
			<guid isPermaLink="true">http://joel.fjorden.se/index.php?entry=entry090225-124146</guid>
			<author>Joel Fjordén</author>
			<pubDate>Wed, 25 Feb 2009 11:41:46 GMT</pubDate>
			<comments>http://joel.fjorden.se/comments.php?y=09&amp;m=02&amp;entry=entry090225-124146</comments>
		</item>
<br />
<b>Deprecated</b>:  Function split() is deprecated in <b>/customers/fjorden.se/fjorden.se/httpd.www/joel/scripts/sb_feed.php</b> on line <b>82</b><br />
		<item>
			<title>Quick Navigation in CodeRush</title>
			<link>http://joel.fjorden.se/index.php?entry=entry081126-101107</link>
			<description><![CDATA[A lot of Resharper people are complaining about the lack of CTRL + T (Go to type) feature in CodeRush, but I can now happily announce that a similar feature does exist.<br /><br />The feature is called QuickNav in CodeRush and it must be manually configured in the DevExpress Options menu. Below the IDE category, you&#039;ll find Shortcuts where it&#039;s possible to change the key combination for a certain Command or add new ones. In order for the QuickNav to work optimal for both finding types and members to Shortcuts must be added. <br /><br />I&#039;ve mapped the &quot;Go to type&quot; feature to &quot;CTRL + T&quot;, with <b>QuickNav</b> as command and <b>AllTypes, , AllVisibilities, CurrentSolution</b> as parameters (note the empty members param).<br /><br />In order to get the &quot;Go to member&quot; feature, I&#039;ve mapped it to &quot;CTRL + .&quot; with <b>QuickNav</b> as command and <b>AllTypes, AllMembers, AllVisibilities, CurrentFile</b> as parameters.<br /><br /><a href="javascript:openpopup('images/QuickNav.jpg',816,588,false);"><img src="images/QuickNav.jpg" width="484" height="349" border="0" alt="" /></a>]]></description>
			<category>CodeRush/Refactor!</category>
			<guid isPermaLink="true">http://joel.fjorden.se/index.php?entry=entry081126-101107</guid>
			<author>Joel Fjordén</author>
			<pubDate>Wed, 26 Nov 2008 09:11:07 GMT</pubDate>
			<comments>http://joel.fjorden.se/comments.php?y=08&amp;m=11&amp;entry=entry081126-101107</comments>
		</item>
<br />
<b>Deprecated</b>:  Function split() is deprecated in <b>/customers/fjorden.se/fjorden.se/httpd.www/joel/scripts/sb_feed.php</b> on line <b>82</b><br />
		<item>
			<title>New Version Finally Here!</title>
			<link>http://joel.fjorden.se/index.php?entry=entry081112-213744</link>
			<description><![CDATA[The new Code Style Enforcer version is 2.2.10.<br /><br /><b>New Features</b> <br /><br />• Settings file and default location for custom rules is changed to the user&#039;s documents folder. UAC should no longer be an issue.<br /><br />• Rules are now only enforced for C# and VB projects/documents.<br /><br />• Possible to activate/deactivate Code Style Enforcer for each individual project in a solution.<br /><br /><b>Bug Fixes</b> <br /><br />• Method parameters are now checked for violations again.<br /><br />• Implicit and explicit cast operators no longer report invalid violations.]]></description>
			<category>Code Style Enforcer</category>
			<guid isPermaLink="true">http://joel.fjorden.se/index.php?entry=entry081112-213744</guid>
			<author>Joel Fjordén</author>
			<pubDate>Wed, 12 Nov 2008 20:37:44 GMT</pubDate>
			<comments>http://joel.fjorden.se/comments.php?y=08&amp;m=11&amp;entry=entry081112-213744</comments>
		</item>
<br />
<b>Deprecated</b>:  Function split() is deprecated in <b>/customers/fjorden.se/fjorden.se/httpd.www/joel/scripts/sb_feed.php</b> on line <b>82</b><br />
		<item>
			<title>New Version on its Way!</title>
			<link>http://joel.fjorden.se/index.php?entry=entry080926-152025</link>
			<description><![CDATA[It&#039;s been way to long since I released a new version of Code Style Enforcer, but now I&#039;ve finally took the time to get back into the code.<br /><br />A new version can be expected really soon, it will mainly contain some fixes for reported bugs, e.g. invalid violations reported for implicit and explicit cast operators, and similar things.<br /><br />I&#039;m also going to have a look at the UAC issue and change where settings and rules are stored, since now it happens below the Program Files folder, which is no good.<br /><br />Stay tuned!]]></description>
			<category>Code Style Enforcer</category>
			<guid isPermaLink="true">http://joel.fjorden.se/index.php?entry=entry080926-152025</guid>
			<author>Joel Fjordén</author>
			<pubDate>Fri, 26 Sep 2008 13:20:25 GMT</pubDate>
			<comments>http://joel.fjorden.se/comments.php?y=08&amp;m=09&amp;entry=entry080926-152025</comments>
		</item>
<br />
<b>Deprecated</b>:  Function split() is deprecated in <b>/customers/fjorden.se/fjorden.se/httpd.www/joel/scripts/sb_feed.php</b> on line <b>82</b><br />
		<item>
			<title>There is no Virus!</title>
			<link>http://joel.fjorden.se/index.php?entry=entry080923-185722</link>
			<description><![CDATA[Today when I got back home from work I saw that Avast updated its virus definitions, so now it doesn&#039;t report a virus/worm anymore.<br /><br />I must say that Avast took this false positive very seriously, since they fixed it within 24 hours.<br /><br />Happy Enforcing!]]></description>
			<category>Code Style Enforcer</category>
			<guid isPermaLink="true">http://joel.fjorden.se/index.php?entry=entry080923-185722</guid>
			<author>Joel Fjordén</author>
			<pubDate>Tue, 23 Sep 2008 16:57:22 GMT</pubDate>
			<comments>http://joel.fjorden.se/comments.php?y=08&amp;m=09&amp;entry=entry080923-185722</comments>
		</item>
	</channel>
</rss>
