c# - Reflection and strong named assemblies -


  1. i have created test project output strong named assembly. have specified snk file name in 'project -> properties - > signing' section assembly strong named. added reference of assembly not signed or strong named. expecting project not @ build since it's referencing unsigned assembly. however, built , install assembly in gac too! why so? (i'm using .net 4.0 , it's gacutil.exe) note: have ensured assembly being referenced not strong named.

  2. can programatically load 'unsigned' (i.e. non-strong named) assembly in program output going strong named assembly? if yes, why allowed when on other hand, .net don't allow add reference unsigned assemblies?

  3. if have multiple versions of same assembly in gac. in configuration file, if specify name of assembly, version loaded gac? latest version everytime? api useful? found many methods marked 'deprecated' in assembly class.

you can reference unsigned assembly in vs.net signed assembly. if call signed unsigned, build fail.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -