question

RodAtWork avatar image
0 Votes"
RodAtWork asked ·

Wondering if sharing a Shared Project between different solutions, is the wrong approach?

Some days ago I asked in this forum How to use a SharedProject between different solutions? And @AlexLi-MSFT answered it (thanks again, Alex!) But now I'm wondering if that's the wrong approach. Unless I'm misunderstanding the answer, it seems to me that the solutions referred to by Alex would bring the code from the original Visual Studio solution where the shared project was originally written, into the other Visual Studio solutions. Or if it didn't make a copy of the original shared project into other Visual Studio solutions, it would at least demand that every other developer on the team that uses the shared project, also have the original solution with the original shared project, on their development system. How else would all the other Visual Studio solutions that reference the shared project from the original solution, unless they were present on each system?

If I'm understanding it correctly, then I don't really think I've realized the benefit I'm trying to with a shared project in a Visual Studio solution and having other Visual Studio solutions with the same shared project in it, so that editing the shared project in any of the other solutions, then checking in the changes (push the changes) would allow all developers to update their copies by doing a get latest (pull). That is what I'm trying to realize, ultimately. I'm beginning to think that my approach simply will fall short of my goal. Am I correct about that?

wpf
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

You used the solution I provided.It can' t solve your problem?

0 Votes 0 · ·

I don't understand how a domain that's for sale is going to solve my problems. Here's what I get when I go to the link you've provided:

7366-annotation-2020-04-14-074333.jpg

0 Votes 0 · ·

1 Answer

Flithor-2893 avatar image
1 Vote"
Flithor-2893 answered ·

Yes, you can.

But be sure to leave an eye-catching message to any other developers, tell them some else solution has also used this project, and tell them not to change anything that has been written before thoroughly understanding the project.

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.