VisualSVN + TortoiseSVN for Source Control

January 19, 2008 23:46 by Admin

I've recently been working on a fairly large Visual Studio Web Project for a client. As I was sharing the coding with a colleague, and because we wanted to track changes to our code, we decided to use SVN, an Open Source source control system.

The client component of Subversion is a piece of software called TortoiseSVN. This works really well, and integrates nicely with Windows explorer. Because TortoiseSVN was not designed specifically for Visual Studio, there is no direct integration and instead you have to keep swapping back and forth to Windows Explorer to Commit, Update, etc. This was a little painful to say the least as it is difficult to remember what new files you need to add to source control.

A quick google search later and we discovered a piece of Software called Ankh SVN. This nifty little utility is a Visual Studio Addin, which automatically tracks changes to your projects and adds the appropriate files into source control. This was just what we where looking for as it allowed TortoiseSVN operations to be ran from inside the IDE. To some extent it was good at automatically adding new files to the repository, but it did have problems when renaming files. This required a commit if there were changes in the file, before it could be renamed. Not a big problem, but it caused unnecessary revisions.

All in all, this worked rather well until the new version of Visual Studio 2008 was recently released. AnkhSVN was not compatible out of the box, although we managed to find a Registry hack which at least allowed it to load into VS 2008. There was a problem though, it had to be ran in Admin mode, DEP has to be disabled for it to work, and an error was thrown when launching a project if IE debugging was turned on.

I therefore decided to look for another solution and found VisualSVN. This is a commercial product but is reasonably priced at $49 and you can even get a free copy if you are working on an Open Source project

There are options in the plugin to push a solution into a new repository, and to pull a solution from an existing repository, as well as all the normal stuff you would expect. It's easy to see the status of a file as they are overlayed in solution explorer with either a green (unmodified), amber (modified), or red (clashed) icon.  They seem to have implemented file renames better as you can now do this without an interim commit.

Because this also works alongside TortoiseSVN, you can easily access the nice tools to resolve file conflicts right from inside the IDE. Great Stuff.

They have even packaged up a free product which installs all of the components required to host your own SVN server. This requires almost zero configuration other than to choose a username and password.

I was impressed with AnkhSVN, but VisualSVN is on another level in terms of usability and in my opinion is a bargain at $49. Well worth a look out.

http://www.visualsvn.com/

http://ankhsvn.tigris.org/ 


How to Run a Root “/” Site in VS2005/08

November 20, 2006 00:00 by ptumelty
If you use Visual Studio 2005/2008 then may have noticed that when developing websites using the filesystem, your application starts in a sub-directory which equals the project’s root directory name.
i.e. http://localhost:8080/tumelty.com
This can be extremely annoying if the final application is to be deployed as a top-level application
i.e. http://www.tumelty.com/

The static URL's will end up in local as

http://localhost:8080/tumelty.com/files/download.zip

and in production....

http://www.tumelty.com/files/download.zip

This means that all of the links to static files will have to be manually fixed up before deployment. This causes a problem.

A quick google search which brought up the following solution which I'd like to share here for anyone having the same problem.

http://weblogs.asp.net/scottgu/archive/2005/11/21/431138.aspx

Thanks to Scott Gu!


EEC Hacker

January 20, 2003 00:00 by Admin

Although the software provided here is free, if enjoy it and find it useful, you can make a donation through PayPal.com by clicking here

Here is a little program I wrote one day. Have you ever wished that you could purchase that fantastic 19 year old Brazillian, but been turned down by the DoE. What about if you usually play in Serie A. Sick of being limited to three foreigners? Then wish no more, with this program, you can easily make countries part of the EEC, thereby removing the need for a work permit altogether.

I always thought the foreigner rule was a waste of time anyway. Have Fun !!

Please Note : You will need to start a new game for the patch to work.

Licensing Terms and Conditions

The software contained on this site is completely free, and can be used in any way you wish. However, there are certain terms which must be followed unconditionally when using software obtained from this site. If you wish to change the software in any way or recompile, you are free to do this but you may not distribute altered versions of this software without acknowledgement of the author.

You may distribute the software on this site to other ones, but you must distribute the zip in the original state and notify the author so I can keep you informed of latest updates etc.

If you wish to distribute the source code from this site by other means (for example, CD-Rom), you must have permission of the author.

Disclaimer

Although the information and software supplied on this site are provided in good faith, no warranty is provided. The author accepts no responsibility for the use of this software, for the means intended or otherwise, causing damage to any hardware, software, individual, or company. This software is provided without charge "as is".

VB Source Code Now Available for download

After many requests, here is the source code to EEC Hacker v1.4. I believe that this is the first open source pre-game editor for CM99/00. Hopefully this will encourage others to share their programs so that we can work together to produce better utils. If anyone knows the file format for the save game files let me know :)

EEC Hacker v1.4 Source Code (VB 6.0)

Downloads

If you have downloaded this program before, you can simply download the latest version. If not, you can try the latest version, but if this doesn't work, you will need to download and install the full package, then the upgrade.

Please note, you need to start a new game for the changes to take affect.

Version 1.4 Full Package

Version 1.3 (no VB Runtime)

Version 1.2 (no VB Runtime)
Version 1.2 (Full)

Revision History

Version 1.4 (Released 2/7/00)
Fixed a few small problems with certain configurations. Released VB Source Code.

Version 1.3 (Released 24/3/00)

Fixed bug when nation.dat is set read only. Thanks to Azhar Budi Prasetyo for spotting this.

Version 1.2 (Released 23/3/00)
Initial Release