This tool helps to automatically create and maintain links from a source project to a target project to share code that is common to Silverlight and WPF. Therefore, shared code can be written once and built for the target environment.
for VS2010 version see http://visualstudiogallery.msdn.microsoft.com/5e730577-d11c-4f2e-8e2b-cbb87f76c044
the "Prism guidance" link in the description is broken instructions seem to be available at instructions seem to be available at http://msdn.microsoft.com/en-us/library/ff921108(v=pandp.20).aspx
btw, the source is supposed to be at https://projectlinker2012.codeplex.com but is not yet published?
first time you link to a source project it doesn’t link all files from it, but after linking can move all files from that one to some temporary project and then back to the source project for the project linking extension to grab them and make links at the target project
also note that the source project can contain links to files existing somewhere in the filesystem (use add link action at add existing item dialog), no need to include (copy) the files to it
This extension will install in VS2013 with some manual editing.
1. Download vsix
2. Change extension from vsix to zip
3. Unzip the file
4. Open "extension.vsixmanifest" in text editor
5. Change the line
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="11.0" />
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="12.0" />
6. Zip all files back up
7. Rename to .vsix
8. Double click file
I just followed the above given instructions but when I am trying to double click I am getting the below exception. Please help me.
2/13/2014 9:27:48 AM - Microsoft VSIX Installer
2/13/2014 9:27:48 AM - -------------------------------------------
2/13/2014 9:27:49 AM - Initializing Install...
2/13/2014 9:27:49 AM - Microsoft.VisualStudio.ExtensionManager.MissingPackagePartException: This VSIX package is invalid because it does not contain the file extension.vsixmanifest at the root. The VSIX file may be corrupted.
at Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl.ReadVSIXManifestFromPackage(Stream vsixStream, CultureInfo preferredCulture)
at Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl..ctor(String path, CultureInfo preferredCulture)
The same thing happened to me. Then I figured it out. I was zipping the folder that contained the files by right clicking the folder and selecting the Send To -> Compressed (zipped) Folder context sub menu item. That created an extra ProjectLinker folder inside the compressed ProjectFolder folder. Just select all the files in the uncompressed ProjectLinker folder after you modify the extension.vsixmanifest file and zip those instead. Then rename the ProjectLinker.zip to ProjectLinker.vsix
Hope this helps,
Currently there is an error while using visual studio 2012 Version 4.5.50709.
currently using project linker for vs 2010.
there is an stackoverflow question about this.
I downloaded the 2012 version via NuGet and I'm seeing the same assertion error as mentioned in the Stack Overflow question. If you click Ignore, you can move passed it and everything seems to work out just fine. It's just a little goofy to have to do that is all.
Thanks for setting this up.
I downloaded the file, installed it and tried to create a project link but am getting the following error: "Object reference not set to an instance of an object". Have you seen this before?
Yes, unfortunately I was a bit presumptuous. The SDK for VS2012 is different from VS2010. Although it all compiles it doesn't seem to work. Except of course with the test project that I used.
I'll get it working and come back to you.