How to use a SharedProject between different solutions?

Rod At Work 846 Reputation points

I've been working on a SharedProject for our various WPF apps that we're writing. There's some common, general (and sometimes generic) code that we've been sharing between different projects, by using the good ol' tried-and-true copy-and-paste. I've known about Shared Projects for a while, so I've spent some time working on a shared project, to help eliminate the copy and paste stuff. I've made an empty WPF project to which I've referenced the shared project in a solution. It works great! :)

Now I want to start sharing the shared project with the other WPF apps that we've worked on. Only at this point I don't know how to conceptually do that. We use TFS with TFVC for source control. So, here's what I've got:

The Empty Solution

  • The SharedCommon shared project
  • The EmptyWPF project

Now, how do I get EmptyWPF into VS SolutionA, from within TFVC?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,367 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Alex Li-MSFT 1,091 Reputation points
    0 comments No comments