How can we give strong name to assembly? What is satellite
assembly?

Answer Posted / fabin rodrigues

Before signing an assembly we have to prepare the strong
key.

Step 1:

Go to Command prompt type---> sn.exe -k "Path for saving
the key"

eg:

C:\Program Files\Common files\test> sn.exe -k "D:\test.snk"

the key pair will be generated in the particular location

Step 2:

Click on the Project Properties and Go to signing Tab
And browse for the strong key generated and and sign the dll


Satellite assemblies are assemblies which do not contain
source code. They only contain resource files. You can
create a satellite assembly using rsgen.exe and al.exe.
They are in binary DLL format which makes it easier to ship
it during deployment. So finally during deployment you do
not need to ship the resx files but only the compiled
satellite DLL.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is array reference type in c#?

490


What does using system mean in c#?

492


What is the purpose of dictionary in c#?

459


How many types of inheritance are there in c#?

478


What is the default value of guid in c#?

474






What is the components of window?

505


What are the 2 types of data types available in c#?

497


Is typeof c#?

540


What is the use of inheritance in c#?

487


What are fields in c#?

498


What is the difference between finalize() and dispose()?

494


Explain what is an interface in c#?

521


What is the resgen.exe tool used for?

529


How can you prevent escaping on backslashes in C# with string definitions?

700


What is wrong with the sample program below?

535