<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Strong Names &#8211; Sibeesh Passion</title>
	<atom:link href="https://sibeeshpassion.com/tag/strong-names/feed/" rel="self" type="application/rss+xml" />
	<link>https://sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Wed, 02 Jun 2021 15:15:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Strong Names &#8211; Sibeesh Passion</title>
	<link>https://sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Creating Strong Names Using Visual Studio Command Prompt</title>
		<link>https://sibeeshpassion.com/creating-strong-names-using-visual-studio-command-prompt/</link>
					<comments>https://sibeeshpassion.com/creating-strong-names-using-visual-studio-command-prompt/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Thu, 21 Jan 2016 09:31:40 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[.snk File]]></category>
		<category><![CDATA[DLL details]]></category>
		<category><![CDATA[Find KeyToken]]></category>
		<category><![CDATA[PublicKeyToken]]></category>
		<category><![CDATA[Strong Names]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11140</guid>

					<description><![CDATA[In this post we will see how we can create strong names using Visual Studio Command Prompt. Here I am going to use Visual Studio 2012. Before going through the steps to create strong name, we will define what exactly strong name is. I hope you will like this. What is strong name? Basically strong name is a container which consists of assembly&#8217;s informations. For example it contains, name of the assembly, culture informations, version number, public key, digital signature. It can be generated by using developer tools like visual studio command prompt from an assembly file. The strong names [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In this post we will see how we can create strong names using Visual Studio Command Prompt. Here I am going to use Visual Studio 2012. Before going through the steps to create strong name, we will define what exactly strong name is. I hope you will like this. </p>
<p><strong>What is strong name?</strong></p>
<p>Basically strong name is a container which consists of assembly&#8217;s informations. For example it contains, name of the assembly, culture informations, version number, public key, digital signature. It can be generated by using developer tools like visual studio command prompt from an assembly file. </p>
<p>The strong names are unique( And yeah it must be). By creating an assembly with strong names you can make sure that the name is globally unique. You can find some more informations about strong names <a href="https://msdn.microsoft.com/en-us/library/wd40t7ad(VS.71).aspx" target="_blank" rel="noopener">here</a>.</p>
<blockquote><p>
If you need to find the public key of a DLL, you can see here: <a href="http://sibeeshpassion.com/how-to-find-publickeytoken-of-a-dll/" target="_blank" rel="noopener">How to find PublicKeyToken of a DLL</a>
</p></blockquote>
<p><strong>Steps to create strong names</strong></p>
<p><strong>Step 1: Opening visual studio command prompt</strong></p>
<p>To open a command prompt, you can either go to short cuts from the directory as</p>
<p>[html]<br />
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts<br />
[/html]</p>
<p>Or you can go to start->Type Visual Studio-> You can find Visual Studio Tools folder. </p>
<div id="attachment_11141" style="width: 644px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2016/01/Create_Strong_Name_Key_File_-_Start.png"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-11141" src="http://sibeeshpassion.com/wp-content/uploads/2016/01/Create_Strong_Name_Key_File_-_Start-1024x282.png" alt="Create_Strong_Name_Key_File_-_Start" width="634" height="175" class="size-large wp-image-11141" srcset="/wp-content/uploads/2016/01/Create_Strong_Name_Key_File_-_Start-1024x282.png 1024w, /wp-content/uploads/2016/01/Create_Strong_Name_Key_File_-_Start-300x83.png 300w, /wp-content/uploads/2016/01/Create_Strong_Name_Key_File_-_Start-768x212.png 768w, /wp-content/uploads/2016/01/Create_Strong_Name_Key_File_-_Start-400x110.png 400w, /wp-content/uploads/2016/01/Create_Strong_Name_Key_File_-_Start.png 1777w" sizes="(max-width: 634px) 100vw, 634px" /></a><p id="caption-attachment-11141" class="wp-caption-text">Create_Strong_Name_Key_File_-_Start</p></div>
<p><strong>Step 2: Run Command Prompt</strong></p>
<p>Just click on the command prompt and run as administrator.</p>
<div id="attachment_11142" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2016/01/Create_Strong_Name_Key_File_Tools-e1453368327456.png"><img decoding="async" aria-describedby="caption-attachment-11142" src="http://sibeeshpassion.com/wp-content/uploads/2016/01/Create_Strong_Name_Key_File_Tools-e1453368327456.png" alt="Create_Strong_Name_Key_File_Tools" width="650" height="258" class="size-full wp-image-11142" srcset="/wp-content/uploads/2016/01/Create_Strong_Name_Key_File_Tools-e1453368327456.png 650w, /wp-content/uploads/2016/01/Create_Strong_Name_Key_File_Tools-e1453368327456-300x119.png 300w, /wp-content/uploads/2016/01/Create_Strong_Name_Key_File_Tools-e1453368327456-400x159.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-11142" class="wp-caption-text">Create_Strong_Name_Key_File_Tools</p></div>
<p><strong>Step 3: Creating .snk file</strong></p>
<p>To create a strong name, you need to run the below command in the command prompt. </p>
<p>[html]<br />
C:\Program Files (x86)\Microsoft Visual Studio 12.0\SDK\v3.5\Bin&gt;sn -k &quot;c:\stron<br />
g.snk<br />
[/html]</p>
<p>Here, the visual studio and framework versions will be changed as your version. And the stron name strong.snk will be created in the C drive root  directory. </p>
<p>Once you run that command, you can see an output as follows.</p>
<p>[html]<br />
Microsoft (R) .NET Framework Strong Name Utility  Version 4.0.30319.33440<br />
Copyright (c) Microsoft Corporation.  All rights reserved.</p>
<p>Key pair written to c:\strong.snk<br />
[/html]</p>
<div id="attachment_11143" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2016/01/Create_Strong_Name-e1453368508766.png"><img decoding="async" aria-describedby="caption-attachment-11143" src="http://sibeeshpassion.com/wp-content/uploads/2016/01/Create_Strong_Name-e1453368508766.png" alt="Create_Strong_Name" width="650" height="330" class="size-full wp-image-11143" srcset="/wp-content/uploads/2016/01/Create_Strong_Name-e1453368508766.png 650w, /wp-content/uploads/2016/01/Create_Strong_Name-e1453368508766-300x152.png 300w, /wp-content/uploads/2016/01/Create_Strong_Name-e1453368508766-400x203.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-11143" class="wp-caption-text">Create_Strong_Name</p></div>
<p><strong>Conclusion</strong></p>
<p>Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.</p>
<p><strong>Your turn. What do you think?</strong></p>
<p>A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/creating-strong-names-using-visual-studio-command-prompt/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
