How can we give strong name to assembly? What is satellite
assembly?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
What is attribute and reflection in c#?
Which is better interface or abstract class in c#?
how to communicate inventory system and account system?
What is the difference between finalize() and dispose() methods?
Hello Friends..am Mohammed riyash..final year BCA in Jamal Mohamed College 2009. Trichy. My doubt is while connecting SQL2005 Built in Database withing the Visual Studio 2005 Framework.. I am getting the error.. That " An Error occurred and it may be due to , under the default settings of the Server, the connection cannot be established.." But the code works in MS Access for me.. Both in VB.Net and C#.Net am getting the same error.. Any genius please Message me to 9994558822 or mail me.. riyash.ips@gmail.com
When Should You Call The Garbage Collector In .net?
What is ulong in c#?
What is the difference between c and c sharp?
What is the base class for array types?
Why is it not a good idea to insert code into InitializeComponent method when working with Visual Studio ?
What is Bubble Event ?
What are the different types of assembly?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)