VS2010: Project Linker - sharing single code base between Silverlight, WPF and WP7 applications

by 12. September 2010 12:25

This blog (and webcast) will show you how you can download, install and use the Project Linker within a few minutes.  Unfortunately it took me a few hours to figure it all out.

I had downloaded the source code for the Project Linker for Visual Studio 2010 from this link and was dismayed to see it was not going to be a plug and play.  The site only provided the source code and  this turned into a real head-banger because much was assumed on my part; I had no idea how to configure a VSIX definition so that I could deploy it.   I was going to be forced to learn more than I had time for but the return on investment was going to be there.  I had used the Project Linker for 2008 and it saved countless time in multi-targeted applications (within the context of WPF, WP7 and Silverlight).  

After spending (unneeded) time learning about VSIX files I stumbled upon a blog that noted that the Project Linker was available in the extension manager - I kept my fingers crossed and sure enough it was in there.   I was very glad to see it in there despite the fact I had spent numerous hours banging my head on the topic - hopefully you caught this blog early in the game ;)

The steps follow for Visual Studio 2010:

  1. Click on Tools
  2. Click on Extension Manager
  3. Click on "Online Gallery"
  4. Search for "Linker" (top right textbox)
  5. Click on the [download] button on "Project Linker"
  6. Click [Install] when prompted.
  7. System will restart VS2010
  8. Walla!  You have the project linker installed

The VS2008 Project Linker - sharing single code base between Silverlight and Desktop applications blog has the details (with Webcast) on the Project linker which hasn't really changed so the focus of this blog will be soley installation and use of the project linker.

Notice

Blog videos and references to CodePlex projects are no longer valid