Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: Invalid argument supplied for foreach() in /home/pillageu/sites/aarebrot.net/blog/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707
Finding the strong name of an assembly – aarebrot.net

aarebrot.net

Finding the strong name of an assembly

Sometimes when you’re developing things for SharePoint, you need to reference the strong name of your assembly. It’s not inherently obvious how to do this, so here’s a quick heads on how to use Reflector to do it. First head over to Red Gate‘s website and download Reflector if you don’t already have it installed.

Next, build your VS2008 solution. I usually use the WSPBuilder build command, but the regular build should work just the same.

Building a solution using WSPBuilder
Building a solution using WSPBuilder

Now start up Reflector, navigate to where your DLL was build and drag and drop it into Reflector. It should load automatically. Select the DLL and you should see the Strong Name in the yellow box at the bottom.

Reflector showing the assembly Strong Name
The assembly name is listed in the yellow box at the bottom

Now just copy the name from the yellow box at the bottom of Reflector and paste it wherever it is you need it.


Posted

in

,

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *