Assembly Validator

Due to a really subtle problem with our build scripts and project settings at work, we were releasing a debug assembly.

So I built this MSBuild task to validate the assemblies after they have been built.

Download Source

It is very simple to use.

Create a property called ExpectedConfiguration that has the configuration.

Create inclusion and exclusion item groups called AssemblyInclusions and AssemblyExceptions.

Then use the ValidateAssemblies target.

It will then look for all assemblies and validate each ones configuration attribute.

This could be extended to validate assemblies much more extensively, like checking publisher and copyrigth details etc

Leave a Reply