Martin Ongtangco
Martin Ongtangco

Reputation: 23515

how to update SVN on a folder and build a csproj automatically?

i'm extending my precompiling application by automating the following steps:

1) update the SVN on a folder (we're using TortoiseSVN, unfortunately)

2) do a programmatic build on the csproj after an update was made

I would like to know how i can accomplish these in c#?

thanks.

Upvotes: 1

Views: 417

Answers (2)

Johann Blais
Johann Blais

Reputation: 9469

Maybe you should also consider using CruiseControl.NET to manage all your continuous integration tasks.

Upvotes: 2

jeffo
jeffo

Reputation: 410

Use reflector to take a look at the custom msbuild task for svn update, and compile, and see how it's already been done for you.

Or write a process.exec method in c# that call's the command line for svn update, and msbuild compile .

Upvotes: 0

Related Questions