I had to find the public key token for a strongly named assembly in .NET. Searching for a solution, I came along Wriju’s Blog. It appears the answer is very simple: use the .NET Framework tool ‘sn.exe’. Since I do not want to forget about this one, here it is:
- Open the Visual Studio <version reflecting DLL creator/signer> Command Prompt
- Point to the dll’s folder you want to get the public key
- Use the following command: sn –T myDLL.dll

This will give you the public key token. Of course this only works if the assembly is strongly signed
.
A colleague of mine just showed a great complete reference for threaded programming in C#. Since the article is great, I would like to share this one with the world. Here it is: http://www.albahari.com/threading/.
Cheers!
Hi folks,
I recently discoverd that by the end of February 2011 Red-Gate stops providing Reflector for free. Although their reason sounds obvious (they cannot work for free), I think many developers still rather prefer a free IL deassembler tool. Luckily, Scott Hanselman twittered about free open source alternatives. Those open source alternative IL deassembler projects are both based on the Mono Cecil project.
I would hereby like to share them with you:
Happy coding! Cheers!
PS. Of course I am very much interested in other free alternatives. Please post your comments if any
…
UPDATE 04/27/2011: On Twitter I heard @dotnetreflector say to @haacked that they are releasing Reflector v6 with no expiry date for existing users in May 2011! http://bit.ly/eW3D7O.
It has been a while, but here I am again
… I am currently working on an old Visual Studio 2005 solution. This bugger used to be built by a build server, but that one died about a year ago. Since some bugs really needed fixing, I decided that I would build the project myself for the moment.
Problem was that the solution uses WIX 3.0, and I have WIX 3.5 installed on my machine. After converting the WIX projects I expected the project to build without any problems. Unfortunately, however, WIX crashes with the following error: error LGHT0001: Unable to load DLL ‘winterop.dll’: The specified module could not be found. (Exception from HRESULT: 0x8007007E).
After some searching on the web I found a post (not entirely my problem) with the searched solution: add the installation path of WIX to the Path variable. After this workaround everything works like a charm. Hope this helps you too
!
Happy coding!