| Author: Priya 04 Sep 2008 | Member Level: Silver | Rating:  Points: 2 |
I have not done this before.
The following link may help you get started. http://www.dnzone.com/ShowDetail.asp?NewsId=698
They have given step by step instructions for creating assemlies.
Good luck.
|
| Author: D.Jeya kumar(JK) 04 Sep 2008 | Member Level: Diamond | Rating:   Points: 3 |
Hi,
An Dll or exe itself an assembly. It is a deployment unit. and what you want to do the Dll?. Assembly can contain the versionning, Mainfest , meta data, etc., will be inside an assembly.
Do you want to make any assembly as Shared or public?
then you need to create a Strong name key and then you can add it in GAC and then you can use it from any application .
check the below site to create a shared or public assembly.
http://quickstart.developerfusion.co.uk/QuickStart/howto/doc/sharedname.aspx
http://softwarecommunity.intel.com/Wiki/.NET/173.htm
Regards JK
|
| Author: Anjan 05 Sep 2008 | Member Level: Silver | Rating:     Points: 15 |
Hi, Basically assembly are in two formats i.e.., dll or exe. Assemblies are two types, private and shared assemblies. So, you have created a dll file by default this is private assembly. If you want to make it as a shared that means that your assembly can used by other applications. In order to do that one you need to generate strong name, to generate a strong name use sn.exe. To create shared assembly follow the steps below
1.In Microsoft VS Command prompt sn -k key1.snk
2. After that go to AssemblyKeyInfo.cs or AssemblyKeyInfo.vb file and add [AssemblyKeyFile("c:\key1.snk")] (in C#) or <AssemblyKeyFile("C:\key1.snk")> (in VB.NET) or you can go to project properties and do the same.
3. Then build your application.
4. In Microsft VS command prompt, enter gacutil -a <assemblyname> it will directly copy to assembly folder(C:\windows\assembly)
|