Bug 26230 - Problem when using multiple solutions in the same Git repo
Summary: Problem when using multiple solutions in the same Git repo
Status: CONFIRMED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: 5.7
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: Future Cycle (TBD)
Assignee: Marius Ungureanu
URL:
Depends on:
Blocks:
 
Reported: 2015-01-21 08:35 UTC by Adrian
Modified: 2017-05-03 18:14 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 26230 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Adrian 2015-01-21 08:35:02 UTC
I've got three solutions and four projects (with each solution having it's own project as normal) and every solution including the same shared PCL project as follows:

game.Android.sln
game.iOS.sln
game.WinPhone.sln
game.shared.csproj

As you can see I've created a cross platform game using CocosSharp with the game being completely cross-platform using the shared project included within a solution for each supported platform.

What I did was from my game.iOS.sln in Xamarin Studio was to push it to my empty repo. This correctly included the shared project and correctly included the .sln file. All good.

What I then did was to open up my game.Android.sln in Xamarin Studio (and before you ask my game.WinPhone.sln is a Visual Studio 2013 Community Edition project which I won't be opening using Xamarin Studio) and it remembered that my version control was Git and it remembered my active repo so I went to add the solution to Version Control but there's no option.

All I can do in the Android solution within Xamarin Studio is to add all of the individual files one at a time. But, of course, this does not allow me to add the .sln or .csproj files for Android - oh dear!

In the mean time I'll see if I can get my additional files added to the repo using a different GIT client or via command line.

Note: This bug has been filed at the request of one of the Xamarin forum guys over at http://forums.xamarin.com/discussion/comment/98396#Comment_98396
Comment 1 Nikolai Tsepalov 2017-04-08 23:11:43 UTC
This need to be fixed or you need to mention in the documentation that Visual Studio for Mac supports only a single solution per repo