How do I put an ASP.NET website project and class library projects in one .sln file on Subversion
Posted
by JustinP8
on Stack Overflow
See other posts from Stack Overflow
or by JustinP8
Published on 2010-03-12T22:14:02Z
Indexed on
2010/03/12
22:17 UTC
Read the original article
Hit count: 266
My company has several class libraries we use in multiple website projects (not web application projects). Website projects don't have .sln files, but I'm sure I've read in my past research that you can make a blank solution and put your website and class library projects in it.
After answers to my previous questions, this is the direction that I'm going (based slightly on [http://amadiere.com/blog/2009/06/multiple-subversion-projects-in-one-visual-studio-solution-using-svnexternals/][1]:
/websites
/website1
/trunk
/website1
/libraries
/library1
/trunk
/library1
/library2
/trunk
/library2
/etc...
Then I planed on using svn:externals to copy /library1, /library2, and so on into the working_copy/websites/website1/ folder.
I want my team members to be able to checkout the /trunk folder for website1 and get a .sln file, /library1 external, /library2 external, etc. I want that .sln file to contain the website1 website project, and all of the library external projects. Hopefully that would look something like:
/working_copy
/websites
/website1
/trunk
/website1
/library1 (svn:external of libraries/library1/trunk/library1)
/library2 (svn:external of libraries/library2/trunk/library2)
/etc.
website1.sln
So, at the end of all of this, the goal is that my teammates check out the trunk, open the solution, and everyone has the exact same solution. When we commit, everything is committed appropriately to subversion (the website code, and the libraries are committed to their appropriate place on the repo).
How have others solved these issues? How can I make a .sln file that my team members and I can share in this manner?
[1]: "This Article"
© Stack Overflow or respective owner