Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse alternative to VS .sln files

Tags:

eclipse

I've recently had to switch from Visual Studio to Eclipse CDT.
It would seem that Eclipse "workspaces" are not quite like VS solution files.
Eclipse workspaces use the .metadata folder for managing multiple projects, but there doesn't seem to be a simple distinction between user settings or IDE preferences and project/solution settings.

What I want is a way to group a collection of related (and dependent) projects together and have that data live in source control without all the other user specific stuff that developers don't need to share. You know, like a .sln file in Visual Studio.

Does Eclipse just not work this way? (And if not, then why not?)

like image 761
Chad Meyers Avatar asked Sep 11 '08 06:09

Chad Meyers


People also ask

How do I open a project without a .SLN file in Visual Studio?

If you have a web project (without a . sln), you must do: Menu File → Open → Web Site... And choose the folder where the project is.

Is SLN file necessary?

As far as I'm aware, the SLN is a 100% Visual Studio Tooling concept. You can still create applications, run/compile/publish them without this file. That's how Visual Studio Code does it and that's how you would do it in Sublime/Atom or any other editors.

What is the difference between SLN and Vcproj file?

sln is a text file that groups together multiple project files. *. vcxproj is Visual Studio 2010 and above.


2 Answers

Yes you are right eclipse does not manage projects in the same way VS does with solution files. However for putting a group of related projects into a VCS eclipse has the concept of a Team Project Set available in File->Export then under the Team folder there is Team Project Set.

like image 195
JProgrammer Avatar answered Oct 16 '22 10:10

JProgrammer


Like JProgrammer said there is Team Project Set. You can send your colleagues a bunch of .psf files, works similar to VS.NET. I can only say we have good expierience with this feature.

like image 36
Robse Avatar answered Oct 16 '22 08:10

Robse