Hi, I'm trying to enhance a signed assembly with a MSBuild script using the "OpenAccessEnhancer" using the following statement
Output TaskParameter="Version" PropertyName="OpenAccessEnhancerVersion" />
When I run this I can see in the log that it enhances the class, but then it stops with the error "OpenAccess Enhancer error 0: Generated method is null. Usually this indicates, that assembly signing is used with an external key store. Please use an AssemblyKeyFileAttribute instead."
Because I keep getting te error message I tried the same thing using the commandline utility "venhance.exe". But this gives the same error message.
Using the "AssemblyKeyFileAttribute" I'm able to enhance the project. But I don't want to use a AssemblyKeyFileAttribute because that's relative to my file system and not the system on which the automated build will run.
My Visual Studio is able to build and enhance the assembly without this attribute. Therefore I've cut and past the command, used by Visual Studio (build output window), in a command prompt expecting a successfull enhancement. But even this give the same error as before.
Why is Visual Studio able to Enhance the project and is it not possible from the command line (or MSBuild script)? What am I doing wrong?
I'm using Visual Studio 2008 and 'Telerik OpenAccess Enhancer, Version 2009.1.311.1'