<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ref="http://purl.org/rss/1.0/modules/reference/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://joel.fjorden.se/rss.rdf">
		<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>
		<items>
			<rdf:Seq>
				<rdf:li resource="http://joel.fjorden.se/index.php?entry=entry110713-060945" />
				<rdf:li resource="http://joel.fjorden.se/index.php?entry=entry110710-201944" />
				<rdf:li resource="http://joel.fjorden.se/index.php?entry=entry110707-122916" />
				<rdf:li resource="http://joel.fjorden.se/index.php?entry=entry110707-072634" />
				<rdf:li resource="http://joel.fjorden.se/index.php?entry=entry110307-211205" />
				<rdf:li resource="http://joel.fjorden.se/index.php?entry=entry101212-194531" />
				<rdf:li resource="http://joel.fjorden.se/index.php?entry=entry101209-070453" />
				<rdf:li resource="http://joel.fjorden.se/index.php?entry=entry101117-175156" />
				<rdf:li resource="http://joel.fjorden.se/index.php?entry=entry101021-204718" />
				<rdf:li resource="http://joel.fjorden.se/index.php?entry=entry100901-154014" />
			</rdf:Seq>
		</items>
	</channel>
	<item rdf:about="http://joel.fjorden.se/index.php?entry=entry110713-060945">
		<title>SavePictureToCameraRoll throws InvalidOperationException in Windows Phone 7.1 (Mango)</title>
		<link>http://joel.fjorden.se/index.php?entry=entry110713-060945</link>
		<description><![CDATA[I recently upgraded my Windows Phone 7.0 project to 7.1 (Mango), by simply changing the Target Windows Phone Version setting in project properties.<br /><br />After that I wanted to utilize the SavePictureToCameraRoll feature, but this call always throw an InvalidOperationException simply stating, &quot;An unexpected error has occured.&quot;.<br /><br />Trying the same thing in a new project worked like a charm, so after some digging and file comparisons I found that the WMAppManifest.xml file is not &quot;upgraded&quot; when changing the target version to 7.1, and in order to be able to call this method the ID_CAP_ISV_CAMERA capability must be added.<br /><br />I hope this can save someone else&#039;s time!]]></description>
	</item>
	<item rdf:about="http://joel.fjorden.se/index.php?entry=entry110710-201944">
		<title>Code Style Enforcer 3.0.72 Supporting DXCore 11.1.5 </title>
		<link>http://joel.fjorden.se/index.php?entry=entry110710-201944</link>
		<description><![CDATA[Code Style Enforcer 3.0.72 rebuilt against new version of DXCore 11.1.5.<br /><br /><b>Download</b> <a href="http://joel.fjorden.se/download.php?file=CodeStyleEnforcer_3.0.72.msi" >Code Style Enforcer 3.0.72</a>]]></description>
	</item>
	<item rdf:about="http://joel.fjorden.se/index.php?entry=entry110707-122916">
		<title>Code Style Enforcer 3.0.71 Supporting DXCore 10.2.9</title>
		<link>http://joel.fjorden.se/index.php?entry=entry110707-122916</link>
		<description><![CDATA[Code Style Enforcer 3.0.71 rebuilt against new version of DXCore 10.2.9.<br /><br /><b>Download</b> <a href="http://joel.fjorden.se/download.php?file=CodeStyleEnforcer_3.0.71.msi" >Code Style Enforcer 3.0.71</a>]]></description>
	</item>
	<item rdf:about="http://joel.fjorden.se/index.php?entry=entry110707-072634">
		<title>Temporarily Disable Push in Mercurial (Hg)</title>
		<link>http://joel.fjorden.se/index.php?entry=entry110707-072634</link>
		<description><![CDATA[We use Mercurial and TeamCity as CI server and have been experiencing some problems lately when developers are pushing Hg change-sets to the server when a build is in progress. The problem is that TeamCity first pulls and updates before starting the build and then during the build some files are generated and/or updated, like help files and version files (but also the .hgtags file). Then as the final step in the build process when it’s time for TeamCity to commit and push the changes there will be a problem if a new push has been made since the start of the build process, i.e. we will get an error message like &quot;push creates new remote heads&quot;. <br /><br />One solution to this is of course to pull, update, merge (if needed) and commit, or the Hg Fetch extension, but what we really wanted was to somehow prevent developers to push change sets into the remote server repository during the build process of that specific project in TeamCity.<br /><br />After quite a lot of research on Google, I still couldn’t find any existing solution to this, so I started thinking about how we could manage this ourselves. The solution I came up with was to develop a very simple, but yet quite smart, REST service hosted on the same machine as the Hg repositories. The service exposes endpoints for EnablePush/DisablePush together with the name of the target repository. What the service implementation does is then to temporarily change the hgrc file in the repository to disable push, but not for everyone, since the automated build account used by TeamCity for Mercurial still needs Push access (allow_push = Mercurial). In order to enable Push again when the build is completed we then allow everyone with an account in the AD to Push again (allow_push = *).<br /><br />In order to use the REST service from TeamCity I discovered a very useful plugin called <a href="http://tcplugins.sourceforge.net/info/tcWebHooks" target="_blank" >tcWebHooks</a> that allows HTTP POST on TeamCity events like build started and build completed. Here is a <a href="http://joel.fjorden.se/images/tcWebHooks.png" target="_blank" >configuration example</a> of tcWebHooks for enabling/disabling Hg Push for a specific project and repository using the custom made RIA service.<br /><br />If you’re interested in the service install package or source code, let me know and I’ll send it to you!]]></description>
	</item>
	<item rdf:about="http://joel.fjorden.se/index.php?entry=entry110307-211205">
		<title>Code Style Enforcer 3.0.51 Supporting DXCore 10.2.5</title>
		<link>http://joel.fjorden.se/index.php?entry=entry110307-211205</link>
		<description><![CDATA[Code Style Enforcer 3.0.51 rebuilt against new version of DXCore 10.2.5.<br /><br /><b>Download</b> <a href="http://joel.fjorden.se/download.php?file=CodeStyleEnforcer_3.0.51.msi" >Code Style Enforcer 3.0.51</a>]]></description>
	</item>
	<item rdf:about="http://joel.fjorden.se/index.php?entry=entry101212-194531">
		<title>Code Style Enforcer 3.0.43 Supporting DXCore 10.2.3</title>
		<link>http://joel.fjorden.se/index.php?entry=entry101212-194531</link>
		<description><![CDATA[This is simply a rebuild of Code Style Enforcer version 3.0.32 in order to support the new version of DXCore 10.2.3.<br /><br /><b>Download</b> <a href="http://joel.fjorden.se/download.php?file=CodeStyleEnforcer_3.0.43.msi" >Code Style Enforcer 3.0.43</a>]]></description>
	</item>
	<item rdf:about="http://joel.fjorden.se/index.php?entry=entry101209-070453">
		<title>Code Style Enforcer is Currently Incompatible with DXCore 2010 vol 2.3</title>
		<link>http://joel.fjorden.se/index.php?entry=entry101209-070453</link>
		<description><![CDATA[Today I upgraded from DXCore 2010 vol 1.8 to version 2010 vol 2.3 and then I got an error message as soon as I loaded a solution.<br /><br />There seems to be some incompatibility issue with this new version of DXCore, but a new version of Code Style Enforcer targeting DXCore 2010 vol 2.3 will be released within the next couple of days!<br /><br /><a href="javascript:openpopup('http://joel.fjorden.se/images/ExtensionException.jpg',496,244,false);"><img src="http://joel.fjorden.se/images/ExtensionException.jpg" width="484" height="238" border="0" alt="" /></a>]]></description>
	</item>
	<item rdf:about="http://joel.fjorden.se/index.php?entry=entry101117-175156">
		<title>Code Style Enforcer v.Next</title>
		<link>http://joel.fjorden.se/index.php?entry=entry101117-175156</link>
		<description><![CDATA[I thought I was going to enlighten you all of what&#039;s currently going on with Code Style Enforcer.<br /><br />Right now I&#039;m looking into a more flexible code rule system, where it should be possible to fine tune rules based on a combination of code type (field, method, etc.), visibility (public, private, etc.) and keyword (static, readonly, const, virtual, etc.). <br /><br />My thought is that it should also be possible to choose the current standard, and easier, configuration of name rules, but that it also should be possible to specify custom regular expressions, probably resulting in the loss of automatic name corrections or suggestions.<br /><br />The other relatively large implementation feature is to enable Code Style Enforcer to enforce the rules during MSBuild, either inside Visual Studio or through the command-line, e.g. automatic build server. Inside Visual Studio the violations will be added to the Error List tool window as either warnings or errors depending on configuration.<br /><br />I think and hope these features are something you all have use for, but please let me know if anything else comes to your mind. ]]></description>
	</item>
	<item rdf:about="http://joel.fjorden.se/index.php?entry=entry101021-204718">
		<title>Code Style Enforcer 3.0.32 Beta for Visual Studio 2010 </title>
		<link>http://joel.fjorden.se/index.php?entry=entry101021-204718</link>
		<description><![CDATA[Here is the latest and so far the greatest version of Code Style Enforcer for Visual Studio 2010, closing in on all the features from Code Style Enforcer for Visual Studio 2008, but with some improvements of course.<br /><br />Code Style Enforcer 3.0.32 requires the latest version of DXCore, that is 10.1.7.<br /><br /><b>New Features</b><br /><br />• New UI for configuring code rules, utilizing grids to get a uniform view for all different rule types while also making the configuration easier to extend for a future and more flexible rule system.<br /><br />• Code rules, for a specific solution, are now configurable from within Visual Studio 2010, through Code Style Enforcer -&gt; Properties from the solution node&#039;s context menu in the Solution Explorer.<br /><br />• Code Style Enforcer Configurator converted to a WPF application using the new rule configuration pages.<br /><br />• Possible to configure different interface implementation rules for properties, methods and events.<br /><br /><b>Bug Fixes</b><br /><br />• Probable prefix, in a name rule violation, was not removed from name when automatically suggesting a new name.<br /><br />• Loading the default rules did not work when the local rules were the same as the global rules, i.e. the global rules were linked into the solution.<br /><br /><b>Breaking Changes</b><br /><br />• Due to changes in the code rule definitions, any old customized code rules will get backed up and the default rules will instead be loaded, when opening Code Style Enforcer Configurator or a previously Code Style Enforcer activated solution.<br /><br /><b>Download</b> <a href="http://joel.fjorden.se/download.php?file=CodeStyleEnforcer_3.0.32.msi" >Code Style Enforcer 3.0.32</a>]]></description>
	</item>
	<item rdf:about="http://joel.fjorden.se/index.php?entry=entry100901-154014">
		<title>Code Style Enforcer 3.0.17 Beta for Visual Studio 2010</title>
		<link>http://joel.fjorden.se/index.php?entry=entry100901-154014</link>
		<description><![CDATA[Since I&#039;m now back at work, since a couple of weeks, after a very relaxing vacation, I&#039;ve also managed to get the time to add some missing, and improved, features to Code Style Enforcer for Visual Studio 2010.<br /><br />Code Style Enforcer 3.0.17 Beta<br /><br />New Features<br /><br />• Activation/Deactivation of Code Style Enforcer can now be done for the complete solution and for specific projects. The &quot;Active&quot; command is available from the context menu when right-clicking on the solution node or a project node in the Solution Explorer.<br /><br />• Generate reports functionality added for generating an XML file containing all rule violations for the complete solution. Different XSL style sheets can then be used for a proper presentation of the data. The &quot;Generate Report...&quot; command is available from the context menu when right-clicking on the solution node in the Solution Explorer.<br /><br />Bug Fixes<br /><br />• Code Style Enforcer Configurator could crash when trying to save rules to a read-only location.<br /><br />• The wrong violation description was presented for name rules where no prefix was allowed.<br /><br />Known Issues (some missing features from the previous releases)<br /><br />• No user interface for changing the code rules inside Visual Studio, but it can still be done using the Code Style Enforcer Configurator application or manually by editing the XML rule files.<br /><br /><a href="http://joel.fjorden.se/download.php?file=CodeStyleEnforcer_3.0.17.msi" >Download Code Style Enforcer 3.0.17 Beta</a>]]></description>
	</item>
</rdf:RDF>

