Link to home
Start Free TrialLog in
Avatar of TheAvenger
TheAvengerFlag for Switzerland

asked on

Conditional Assembly Signing in VS2005

Hello guys

I have a bunch of class libraries, which I use from two applications: a Windows and a Web application. I strong sign these assemblies because I deploy them to customer computers with the Windows application. However during development of the Web application I sometimes get strange errors, which according to MS KB are because the signed assemblies are put in the BIN folder of the Web application (which is not supported). I don't want to put the assemblies in the GAC, because I am changing them during development and I don't want to remove the assembly signing because I need it for the Windows application.

Is there a way I can make the signing conditional? Like in the Web solution - do not sign them, in the Windows solution - sign them?

TheAvenger
ASKER CERTIFIED SOLUTION
Avatar of AlexFM
AlexFM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TheAvenger

ASKER

I have to declare them Delay Signed then (otherwise signing with a batch will not work). And delay signed means no way to debug them or use them in the web solution.