[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: TotoiseSVN and Visual Studio

From: Andy Shellam <andy_at_networkmail.eu>
Date: Tue, 19 Aug 2008 09:14:41 +0100

Hi,

We use Visual Studio 2005/2008 with TortoiseSVN and VisualSVN and find
it very stable.

I would recommend having your trunk/tags/branches folder as the first
level of folders in your repository, then your solution folders in
your trunk to begin with and projects under your solution folder.

I say this because the solution files can also differ between
branches/tags/trunk dependent on what you're working on. For example
we have a large project (some 60 projects in a solution) and we're
currently working on 4 different working copies (trunk and 3
branches.) In the trunk I have a couple of projects that are new and
don't exist in the branches.

If I had my project laid out the way you're thinking, then every time
a developer loaded up the solution from the branch it would look for
my new projects even though they don't care about it, because there's
only 1 solution.

As a side-note, before committing anything to a new repository make
sure to set "bin" and "obj" as svn excludes. When you rebuild a
solution, Visual Studio deletes and recreates these folders in each
project. SVN can get extremely confused if it thinks they're under
version control but the .svn folders keep disappearing cause Visual
Studio deletes them.

Personally we also exclude *.suo (solution user options) files because
they're specific to a developer, and developers get annoyed if their
options keep getting overwritten by other people's :-P The only
downside is you can't version or share anything in these files, such
as Tasks.

Hope this helps,

Andy

Quoting dm3281 <dm3281_at_verizon.net>:

> I'm new to SVN and Totorise and thought I'd begin using it for
> source coding my Visual Studio 6, 2003, 2005, and 2008 projects.
>
> I'm just wondering what is the best way for me to do this. I.E., do
> I create a Solution folder for my project, then create "trunk",
> "tags", "branch" folders? If so, I suppose I put my individual
> projects for the solutions under th solution folder?
>
> If I don't have a solution and simply have a project, do I create a
> project folder, then under this have "trunk", "tags", and "branch"
> and then under "trunk" put my source?
>
> Does the "trunk" folder show up in Visual Studio the same way?
>
> I plan on using TortoiseSVN to update/commit code, but eventually
> want to use the VisualSVN Visual Studio add-on.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-08-19 10:45:20 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.