Category Archives: .Net

The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail

Today I got a comment from Vitor, Vitor is getting an exception like this while starting application. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, Visual Studio, Windows 7 | Tagged , , , , | 1 Comment

How to write an NUnit Addin

From version 2.2.x NUnit supports AddIns. Addins can customize NUnit’s internal behavior such as the creation of tests and their execution. An Addin should to implement the interface NUnit.Core.Extensibility.IAddin, which can be found in the assembly nunit.core.interfaces. Also the NUnit.Core.Extensibility.NUnitAddinAttribute … Continue reading

Posted in .Net, Miscellaneous, Unit Testing | Tagged , , , , | 1 Comment

How to add MEX endpoints programmatically

The Metadata Exchange Endpoint (MEX) is a special endpoint in WCF that exposes metadata used to describe a service.Without the MEX, you will not be able to use svcutil.exe to automatically generate a proxy class. Fortunately, it is a simply … Continue reading

Posted in .Net, .Net 4.0, WCF | Tagged , , , , , | 1 Comment

How to execute ms tests in parallel on multi-cpu / core machines

VS 2010 supports running MS Tests in parallel. Most of the machines available in the market are multi-cpu / core machines. This will help us to increase the number of tests executing in same time, which will reduce total test … Continue reading

Posted in .Net, Unit Testing, Visual Studio | Tagged , , , , , | 1 Comment

How to queue a new build using TFS API

Another post on TFS API, my last post was related to how to get build Definitions and Build Details from TFS 2010, and this post is about how to queue a new build in TFS 2010 Server. As earlier you … Continue reading

Posted in .Net, .Net 4.0, Version Control | Tagged , , , , , | 1 Comment