Conditional Assembly Signing in VS2005
Posted on 2006-05-17
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?