rpsin88

rpsin88

  • NA
  • 3
  • 0

Reg:- shared Assemblies

Sep 23 2003 3:46 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.

Answers (1)