problem assigning strong name to assembly -winapp
- From: Raghu Raman <raghuraman_ace@xxxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 11:41:23 -0800
Hi
It is a windowsapplication . i have created the srongname using sn key
and it has been set in the assemblyinfo file .If i build the application
2 folders are created called bin ,obj .
It is natural the bin folder is created and i thought the exe file
inside the bin folder should have been assigned the strongname .
I went to mscorcfg.msc to create the code groups for this assembly .If i
refer the assembly(exe) from the bin folder of my app ,then it says that
'Import failed .An assembly does not contain the strongname' .
But if i refer the assembly (exe) from the obj folder ,then it is
accepted .
So ,by this is i can conclude that the strongname is assigned to the
assembly in side obj folder and during the run time assembly bin folder
is refered which is not strongnamed and producing the security exception
..
Please tell me how can i make the assembly in bin folder to be
strongnamed and referred at runtime (not with obj foder)..
Thanks
Raghu
Six faces rule the world
*** Sent via Developersdex http://www.developersdex.com ***
.
- Prev by Date: Re: Server side certificate checking - OnCertificateValidation handler
- Next by Date: Re: How to find out file owner?
- Previous by thread: Re: Dual Authentication: Windows & Username/Password
- Next by thread: Re: Enumerating certificates?
- Index(es):
Relevant Pages
|
Loading