In Visual Studio, I need to create a TCP connection to a Server and access this connection via code from all the WPF projects in the solution. What can be the best approach?
I think that a good start point would be to create a VSPackage that adds a menu voice in the "Options" menu (there are samples on line to achieve this) to estabilish a connection, but then I don't know how to acces the connection object via code inside the Projects in the solution.
I think that a good start point would be to create a VSPackage that adds a menu voice in the "Options" menu (there are samples on line to achieve this) to estabilish a connection, but then I don't know how to acces the connection object via code inside the Projects in the solution.