I
inpuarg
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=002400000480000094000000060200000024000052534131000400000100010013496fab9d76bce0eeb39909991efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff646bac0d701abcc3a65058172fd82068ee91a850d03bda623fd8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf882a70bf097f956d214cfad2676aee907e84181665cc597476885c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXBOL,
PublicKey=002400000480000094000000060200000024000052534131000400000100010013496fab9d76bce0eeb39909991efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff646bac0d701abcc3a65058172fd82068ee91a850d03bda623fd8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf882a70bf097f956d214cfad2676aee907e84181665cc597476885c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXDAL,
PublicKey=002400000480000094000000060200000024000052534131000400000100010013496fab9d76bce0eeb39909991efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff646bac0d701abcc3a65058172fd82068ee91a850d03bda623fd8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf882a70bf097f956d214cfad2676aee907e84181665cc597476885c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXCommon,
PublicKey=002400000480000094000000060200000024000052534131000400000100010013496fab9d76bce0eeb39909991efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff646bac0d701abcc3a65058172fd82068ee91a850d03bda623fd8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf882a70bf097f956d214cfad2676aee907e84181665cc597476885c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXGrid,
PublicKey=002400000480000094000000060200000024000052534131000400000100010013496fab9d76bce0eeb39909991efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff646bac0d701abcc3a65058172fd82068ee91a850d03bda623fd8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf882a70bf097f956d214cfad2676aee907e84181665cc597476885c56f731ccca4e6148710d3819e3c3")]
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.
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=002400000480000094000000060200000024000052534131000400000100010013496fab9d76bce0eeb39909991efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff646bac0d701abcc3a65058172fd82068ee91a850d03bda623fd8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf882a70bf097f956d214cfad2676aee907e84181665cc597476885c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXBOL,
PublicKey=002400000480000094000000060200000024000052534131000400000100010013496fab9d76bce0eeb39909991efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff646bac0d701abcc3a65058172fd82068ee91a850d03bda623fd8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf882a70bf097f956d214cfad2676aee907e84181665cc597476885c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXDAL,
PublicKey=002400000480000094000000060200000024000052534131000400000100010013496fab9d76bce0eeb39909991efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff646bac0d701abcc3a65058172fd82068ee91a850d03bda623fd8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf882a70bf097f956d214cfad2676aee907e84181665cc597476885c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXCommon,
PublicKey=002400000480000094000000060200000024000052534131000400000100010013496fab9d76bce0eeb39909991efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff646bac0d701abcc3a65058172fd82068ee91a850d03bda623fd8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf882a70bf097f956d214cfad2676aee907e84181665cc597476885c56f731ccca4e6148710d3819e3c3")]
[assembly: InternalsVisibleTo("XXXGrid,
PublicKey=002400000480000094000000060200000024000052534131000400000100010013496fab9d76bce0eeb39909991efe6f18abb9107a0ed4d034d4aa393fa524e6033117f3cff646bac0d701abcc3a65058172fd82068ee91a850d03bda623fd8d9265d86cf511fe23be3e60663e0d4e5f61b04b833c39cf882a70bf097f956d214cfad2676aee907e84181665cc597476885c56f731ccca4e6148710d3819e3c3")]
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.