Display Public Key Token in Visual Studio

by Semicton 5. March 2010 16:41

Here is an easy way to display the public key token of a signed assembly from within Visual Studio.

In Visual Studio choose Tools from the tool bar then choose External Tools.  

A new dialog box will appear.  Click the Add button and fill the fields below:

Title: Get &PublicKeyToken
Command: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\sn.exe
Argumnets: -Tp $(TargetPath)

Place a check mark in the Use Output window option.

 

To Test:

Sign your assembly, then goto Tools and you will find your Get PublicKeyToken available in the list.  The public key tolken will now print to the Output window.

 

 

Printed Example:

Microsoft (R) .NET Framework Strong Name Utility Version 3.5.30729.1
Copyright (c) Microsoft Corporation. All rights reserved.

Public key is
0024000004800000940000000602000000240000525341310004000001000100ed4f1697d3045d
3b0384b1b2f3c334a2d7af32786dd2b15682a26238d72062db97853db569974f826c46c469d1a7
446ce305cb19cdfa31d110d09027630f3d497c8d987d3ec75923fd0dbafd5834d8b7544be9e52b
b9c7e23746bfe07cde2c8e07ab27e212eee74e405185fc67fedf6b430d955f70d6bd5d51e38fe1
9e5f7ace

Public key token is e8247507e0bdf57b

Tags:

.NET Framework

Best C# Sites

by Semicton 28. January 2010 02:49

Following (in alphabetical order) are the best C# sites active on the Web today.

Before I begin, lets talk about Code Search Engines
There are three good code search engines available, but it's still too early to determine the best: Google Code Search, Krugle and Koders. Which is your favorite?

C# Corner
C# Corner was formed and maintained by professionals, who strongly believe in sharing their piece of code with other developers. It is a free source site for C# and .NET developers. C# and .NET developers can meet and exchange their ideas, code and expertise on the site through discussion forums or submissions.

C# Help
The site doesn't even have an "About" section, so I'll let the content speak for itself: 55,000+ forum postings, 700+ technical articles, and 62,000+ active subscribers.

C# Practical Learning
Lessons with step-by-step instructions and a patient detail-oriented approach, accentuated by various useful examples in every section. To make it easy to learn effectively, the lessons are organized in topics so you can jump to the particular part you are interested in.

CodePlex
CodePlex is Microsoft's open source project hosting web site. You can use CodePlex to create new projects to share with the world, join others who have already started their own projects, or use the applications on the site and provide feedback.

Code Project
The Code Project was formed to provide developers with a place to meet and exchange ideas. We provide developers with all the resources they need to help them in their day-to-day programming, as well as helping them keep current with the latest technologies.


DotNetKicks
DotNetKicks.com is a community-based news site edited by our members. It specializes in .NET development techniques, technologies and tools including ASP.NET, C#, VB.NET, C++, Visual Studio, SubSonic, Open Source, SQL Server, Silverlight & Mono. Individual users of the site submit and review stories, the most popular of which make it to the homepage. Users are encouraged to 'kick' stories that they would like to appear on the homepage. If a story receives enough kicks, it will be promoted.

MSDN Forums
No "About" section here either, so some statistics: There are 1,005,870 users, 461,109 threads, and 1,739,557 posts in these forums.

MSDN Library
The MSDN Library is an essential resource for developers using Microsoft tools, products, and technologies. It contains a bounty of technical programming information, including sample code, documentation, technical articles, and reference guides.

MSDN Newsgroups
Ask questions, share information, or exchange ideas with others, including experts from around the globe. MSDN Subscribers can post .NET product and technology questions to the newsgroup community and get an answer from the newsgroup community or a Microsoft support professional within 2 business days. Managed newsgroup support is currently available for more than 200 English newsgroups related to .NET technologies.

PInvoke.net
PInvoke.net is primarily a wiki, allowing developers to find, edit and add PInvoke signatures, user-defined types, and any other information related to calling Win32 and other unmanaged APIs from managed code (written in languages such as C# or VB.NET). .NET developers worldwide can easily contribute to the community, sharing their valuable knowledge, whenever they have time to do so.

SourceForge.net
SourceForge.net is the world's largest Open Source software development web site, hosting more than 100,000 projects and over 1,000,000 registered users with a centralized resource for managing projects, issues, communications, and code. SourceForge.net has the largest repository of Open Source code and applications available on the Internet, and hosts more Open Source development products than any other site or network worldwide. SourceForge.net provides a wide variety of services to projects we host, and to the Open Source community.

Windows Forms FAQ
The Windows Forms FAQ has been collected from newsgroup posts, various mailing lists and the employees of Syncfusion

 

 

 

Tags:

.NET Framework

Powered by Semicton 1.5.0.7

Internet Lamp

Turn on my internet Lamp!

 

Click Here !

Interesting Questions

Why do all newborn babies have blue eyes?

Answer:

The color of the iris gives the human eye its color. The amount of dark pigment, malanin, in the iris is what determines its color. In newborns, the pigment is concentrated in the folds of the iris. When a baby is a few months old, the melanin moves to the surface of the iris and gives the baby his or her permanent eye color.


 Refresh

Latest Downloads:

File Name Downloads
2009/12/scribd.zip 93
2009/12/BinaryClock.zip 74