I have more then 5 projects in one solution. (c# VS 2005)
GUI , BOL , DAL , Common Library , Extended Grid Component etc.
All are compiled as strongly named assemblies.
I am using public key(generating this key from public/private pair, securing
private key to later usage at release) and delay signing option.
Public methods declared as internal and in AssemblyInfo.cs file of each project
there are
[assembly: InternalsVisibleTo("XXXGUI,
PublicKey=0024000004800000940000000602000000240000 52534131000400000100010013496fab9d76bce0eeb3990999 1efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff6 46bac0d701abcc3a65058172fd82068ee91a850d03bda623fd 8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf88 2a70bf097f956d214cfad2676aee907e84181665cc59747688 5c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXBOL,
PublicKey=0024000004800000940000000602000000240000 52534131000400000100010013496fab9d76bce0eeb3990999 1efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff6 46bac0d701abcc3a65058172fd82068ee91a850d03bda623fd 8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf88 2a70bf097f956d214cfad2676aee907e84181665cc59747688 5c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXDAL,
PublicKey=0024000004800000940000000602000000240000 52534131000400000100010013496fab9d76bce0eeb3990999 1efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff6 46bac0d701abcc3a65058172fd82068ee91a850d03bda623fd 8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf88 2a70bf097f956d214cfad2676aee907e84181665cc59747688 5c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXCommon,
PublicKey=0024000004800000940000000602000000240000 52534131000400000100010013496fab9d76bce0eeb3990999 1efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff6 46bac0d701abcc3a65058172fd82068ee91a850d03bda623fd 8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf88 2a70bf097f956d214cfad2676aee907e84181665cc59747688 5c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXGrid,
PublicKey=0024000004800000940000000602000000240000 52534131000400000100010013496fab9d76bce0eeb3990999 1efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff6 46bac0d701abcc3a65058172fd82068ee91a850d03bda623fd 8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf88 2a70bf097f956d214cfad2676aee907e84181665cc59747688 5c56f731ccca4e6148710d3819e3c3")]
lines.
So all projects are fully trusted to each others.
After compiling i am using
sn -Vr assembly.dll/exe to skip verifying
and to add Global Assembly Cache :
gacutil -i assembly.dll/exe.
But it is not possible to debug projects.
Is this a bug , is there any workarround ? etc.