Showing posts with label .NET C#. Show all posts
Showing posts with label .NET C#. Show all posts

Wednesday, February 11, 2009

WCF and ConfigurationErrorsException: This element is not currently assigned with any context.

This post by Zulfiqar Ahmed about the ConfigurationErrorsException when using Visual Studio saved my day.

This error suddently appeared when debugging a test case in Visual Studio and I didn't realize that this had something to do with activating the breakpoint on common language runtime exceptions.

Friday, December 14, 2007

Registering assemblies in GAC programmatically

Dmitry Pavlov found an very easy way to register assemblies in GAC programmatically without using the gacutil.

new System.EnterpriseServices.Internal.Publish().GacInstall(”myassembly.dll”);