Search
Removing xunitext.nunit.dll from distribution Wiki Link: [discussion:30463]
Coordinator
Jun 29 2008 at 7:41 PM

Summary

We've just checked in a change which moved xunitext.nunit.dll from Main to Samples. Starting with 1.0.2, we will no longer be including this DLL in the distribution ZIP file.

Reasoning

When we built the RunWithNUnit sample, we were forced to use NUnit APIs which are not documented and supported as a public API. We built this support against NUnit 2.4.3, and the version of the xunitext.nunit.dll that we shipped had a hard dependency on version 2.4.3 of the NUnit libraries.

When using this library against other versions of NUnit, you were forced into one of two situations: either use a binding redirect to turn 2.4.3 references into whatever version you had installed, or pull the source code and recompile it against the version of NUnit you're using.

Using a binding redirect was the less optimal choice, because the APIs that we're using might not be present in future versions of NUnit (especially as it goes to 2.5 and eventually 3.0), so this left you in a situation where you might be forced to recompile (and fix it) anyway.

The recompile step was less than ideal, also, since it forced you to build a custom version of xUnit simply because an extension doesn't work. The dependencies necessary to recompile xUnit included things people might not have on their systems (namely, TestDriven.net and ReSharper), and the steps necessary to get everything to build required a little bit of knowledge to get it working correct. Additionally, we felt that forcing people to recompile all of xUnit was an unnecessary burden just to fix a broken extension.

Therefore, we've moved this extension into the Samples project, along with its unit tests. Building the samples project should require no dependencies, save for NUnit.
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.2.15.18416