Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / December 2005

Tip: Looking for answers? Try searching our database.

Problem with signed Assembly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karve, Ajit - 12 Dec 2005 08:59 GMT
Hi,

      I want to sign an assembly but it is refering to an assembly,
Interop.MSForms, which is unsigned assembly. Hence, I'm getting compilation
error. Can anyone suggest a way out? Is there any way by which we can remove
the restriction that referred assemblies should be always signed?

Thanks,
Ajit
Mattias Sjögren - 12 Dec 2005 15:26 GMT
>        I want to sign an assembly but it is refering to an assembly,
> Interop.MSForms, which is unsigned assembly. Hence, I'm getting compilation
> error. Can anyone suggest a way out?

Sign the interop assembly as well. You can do that by setting the Wrapper
Assembly Key option in Visual Studio (at least in C# projects) or with the
command line tool Tlbimp.exe and its /keyfile option.

> Is there any way by which we can remove
> the restriction that referred assemblies should be always signed?

No

Mattias
Karve, Ajit - 13 Dec 2005 04:50 GMT
I tried doing that using tlbimp.exe but its saying "Interop.MSForms is not a
valid type library" :(

> >        I want to sign an assembly but it is refering to an assembly,
> > Interop.MSForms, which is unsigned assembly. Hence, I'm getting compilation
[quoted text clipped - 10 lines]
>
> Mattias

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.