Eoin

Author's details

Name: Eoin Campbell
Date registered: October 4, 2010
URL: http://trycatch.me

Biography

Husband, son, brother, I grok technologiy. I write code. I take photos. I teach & practice Krav Maga. I play football. I eat good-food. I drink nice-wine.

Latest posts

  1. When’s a Deep Dive not a Deep Dive ? — April 29, 2013
  2. Could not load type ‘System.Runtime.CompilerServices. ExtensionAttribute’ from assembly mscorlib when using ILMerge — March 6, 2013
  3. Automatically update the AssemblyFileVersion attribute of a .NET Assembly — January 25, 2013
  4. Adding Custom Message Headers to a WCF Service using Inspectors & Behaviors — December 14, 2012
  5. Unexpected Variable Behaviour in DOS Batch and Delayed Expansion — December 4, 2012

Most commented posts

  1. InstallUtil, Windows Services & ProjectInstallers with App.Config Settings — 8 comments
  2. Adding Custom Message Headers to a WCF Service using Inspectors & Behaviors — 7 comments
  3. Combinatorics in .NET – Part I – Permutations, Combinations & Variations — 4 comments
  4. The future of UX & UI Innovations — 4 comments
  5. Converting to Base62 & URL Shortening — 3 comments

Author's posts listings

Apr 29 2013

When’s a Deep Dive not a Deep Dive ?

Global Windows Azure Bootcamp

This weekend, I attended the Global Windows Azure Deep Dive conference in the National College of Ireland, Dublin. Microsoft in conjunction This was a community organised event where Local & National IT Organisations, Educational Institutions & .NET Communities were running a series of events in parallel in a number of cities around the world. The purpose; …

Continue reading »

Permanent link to this article: http://trycatch.me/whens-a-deep-dive-not-a-deep-dive/

Mar 06 2013

Could not load type ‘System.Runtime.CompilerServices. ExtensionAttribute’ from assembly mscorlib when using ILMerge

Works On My Machine

I ran into a pretty horrible problem with ILMerge this week when attempting to build and deploy a windows service I’d been working on. While the merged executable & subsequently created MSI worked fine on my own machine, it gave the following rather nasty problem when run on a colleagues machine. It turns out that …

Continue reading »

Permanent link to this article: http://trycatch.me/could-not-load-type-system-runtime-compilerservices-extensionattribute-from-assembly-mscorlib-when-using-ilmerge/

Jan 25 2013

Automatically update the AssemblyFileVersion attribute of a .NET Assembly

There is support in .NET for automatically incrementing the AssemblyVersion of a project by using the “.*” notation. e.g. [assembly: AssemblyVersion("0.1.*")] Unfortunately the same functionality isn’t available for the AssemblyFileVersion. Often times, I don’t want to bump the AssemblyVersion of an assembly as it will effect the strong name signature of the assembly, and perhaps …

Continue reading »

Permanent link to this article: http://trycatch.me/automatically-update-the-assemblyfileversion-attribute-of-a-net-assembly/

Dec 14 2012

Adding Custom Message Headers to a WCF Service using Inspectors & Behaviors

CustomHeader

Often, you’ll need to pass some piece of information on some or all of your  WCF Service operations. For my team, we had recently exposed some functionality in an old WCF Endpoint via a Web Front End and wanted to log some auditing information on each and every Service Call. Obviously modifying every single method …

Continue reading »

Permanent link to this article: http://trycatch.me/adding-custom-message-headers-to-a-wcf-service-using-inspectors-behaviors/

Dec 04 2012

Unexpected Variable Behaviour in DOS Batch and Delayed Expansion

cmd

What would you expect the following piece of Code to print. if the directory ‘A’ doesn’t exist @ECHO OFF IF ’1′==’1′ ( CD a ECHO %ERRORLEVEL% ) CD a ECHO %ERRORLEVEL% Not very intuitive right? This is because the DOS batch processor treats the whole if statement as one command, expanding the variables only once, before …

Continue reading »

Permanent link to this article: http://trycatch.me/unexpected-variable-behaviour-in-dos-batch-and-delayed-expansion/

Older posts «