Monday, 22 October 2012

Shared Assembly 1


*View This Video In Full Screen




Step 1 :go to visual c# project and select class library project
Step 2 :make any method
Step 3 :go to project properties in solution explorer and select signing and from here you make check on sign    
            the assembly and  click on combo box and select new another dialog box will be opened and then u
            will give a meaning ful name for your key like pakistan ,india etc do not give any password here
Step 4:go to visual studio command  prompt and type here
                 cd your path of assembly folder press enter
Step 5:now write this
                          gacutil /i nameofdll.dll
Step 6: go to run and write regedit
Step 7:go to Local machine>>>software>>>microsoft>>>.netframework>>>assemblyfolder>>>right click
           v3.0 and select key new key and give the new key name similar to your dll name and
               then give here  your path of assembly folder\ and repeat the same step on v3.5 and make the                                            
                 folder on root and repeat the same step.
Step 8:make new console application and on the rite side of your screen give rite click on project name and  
           select add reference and on the .net folder select ur library name

                              u will find complete steps in video these are the short ones
           

No comments: