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

Answer Posted / srilakshmi

To sign an assembly with a strong name, we must have a
public/private key pair. It can be generated by using
sn.exe (strong name) utility.

1. Type the following at the command prompt
sn -k mykey.snk

2. Open the project in VS.NET
3. open solution explorer window, right click on ur project
name -> properties
4. click on the signing tab in the properties page
5. select the "sign the Assembly" checkbox
6. click the dropdown list and select strong name key file.
7. Build the application


Satellite Assembly: is a resource assembly that include
separte resources for different cultures. This assembly
allow a different set of resources to be loaded
automatically based on the culture of the thread.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is thread life cycle in c#?

477


what is boxing and unboxing?can we initialize unboxing directly?

502


What is overriding in c#?

496


From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?

515


How do I declare a pure virtual function in c#?

593






What is Fragmentation and its Types?

569


What is a jagged array?

495


Why do we use readonly in c#?

493


Explain what are the steps for creating clr trigger?

469


What is the advantage of generics in c#?

506


Explain how to add controls dynamically to the form using c#.net.

556


What is a nullreferenceexception and how do I fix it?

540


Explain the different ways a method can be overloaded?

454


Which is executed if an exception has not occurred?

506


What is ispostback c#?

480