TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rpsin88
NA
3
0
Shared Assemblies - doubt
Sep 17 2003 8:28 AM
Hi, Could u explain me how to create a shared assemblies. Below are steps which i have followed to create a shared assembly ,but still now didn't succeed. Expecting ur support.. 1. Created a DLL [TestLib] 2. Created a strong name using the utility sn.exe 3. In TestLib.dll project edited the AssemblyInfo.cs included the strong name[key value pair] as below. [assembly: AssemblyKeyFile("../../test.snk")] 4. After then recompiled the project. 5. using gacutil.exe i have installed the TestLib.dll into GAC[c:\winnt\assembly] 6. Now,i have created a new project and wants to use the dll TestLib which i have created and placed in GAC 7. I couldn't able to find the TestLib.dll ,i tried of using and AddReference? error which i got when i tried of using. using TestLib; -- throws an error [TestLib could not found(missing directive or reference] Reference->AddReference->.NET->Browse[C:\winnt\assembly] coudln't able to open. Hope you peoples guide me,where i am wrong. Could you tell me how to create a shared assembly and using it in different applications. using sn.exe,al.exe and gacutil.exe. Any links related to this topics are welcome. Thanks and in advance
Reply
Answers (
2
)
SecurityException
Security Execption error