C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » Visual Studio »

Naming Assemblies Strongly


Posted Date: 30 Sep 2009    Resource Type: Articles    Category: Visual Studio
Author: RoshanMember Level: Silver    
Rating: 1 out of 5Points: 5



An assembly is the smallest unit of versioning, security, deployment, version control and reusability of code in .NET. Each assembly contains:


Assembly Identity information (name, version, etc.)
Manifest and metadata information
MSIL code
Type and security information
Resources
An assembly with a strong name can be uniquely identified by a combination of its assembly version, culture information, and a digital signature.

You can create a strong name for your assembly using the strong name utility (sn.exe) provided by the .NET framework. The utility requires you to provide the name of a strong name key file as a parameter. The resulting file is called a "strong-named" file. You can use the sn.exe tool from the command line to create a strong-named key file as follows:

sn --k MyCompany.snk

You can specify the strong name information in the AssemblyInfo.cs file.

[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyKeyFile("MyCompany.snk")]



Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Give Assemblies Strong Names  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Open Executable files in VB
Previous Resource: Microsoft Visual studio 2010 and .NET 4.0 CTP features
Return to Discussion Resource Index
Post New Resource
Category: Visual Studio


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use