Thursday, August 30, 2007

tf4mono for windows

Thanks to Nullsoft Scriptable Install System, I've created some win32 installation packages for tf4mono.

There are two install options.

The first, tf4mono-base-0.5.1-rc1.exe, has been compiled without any GUI code. It has no external dependencies and should run on any win32 box with the .Net 2.0 framework installed.

The second package, tf4mono-full-0.5.1-rc1.exe, includes the graphical TF explore command. To run this version on win32, you must first install the Gtk# Installer for Windows.

Neither package adds the tf4mono installation folder to the SYSTEM or USER path. You'll have to do this by hand for now.

If you're on a windows box and have a few minutes to test out the package, please do so. Any feedback on how they work would be awesome.


Mark said...

As soon as i tried to run it I got the following:

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.TeamFoundation.Common, Version=, Culture
=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
File name: 'Microsoft.TeamFoundation.Common, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.Security.Securit
yException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)
The Zone of the assembly that failed was:
at Driver.Main(String[] args)

Windows Server 2003 Ent, with Team Foundation Suite installed which means I have all the normal TFS libraries available also.

shw said...

@Mark: On MS.NET Framework - yes. But try to run it with Mono - it doesn't throw that exception.

shw said...

When trying mono tf.exe COMMAND with any command I get the same exception:

Unhandeled Exception: System.InvalidOperationException: Scheme not registered.
at System.Net.AuthentificationManager.DoUnregister(...
at System.Net.AuthentificationManager.Unregister(...
at Driver.Main(System.String[] args) [0x000000]

Mark said...

@shw: I see mono is required? I understood that it wasn't from what JR indicated in the post.."It has no external dependencies and should run on any win32 box with the .Net 2.0 framework installed."

shw said...

Ok - to be sure I'v tested it on newest release of mono - it doesn't throw that exception anymore (it did on 1.2.3)

jr said...

Mark, I haven't tried these packages on a box with the Microsoft TFS assemblies installed yet. I'll try that out. Thanks for the feedback! And thanks shw for helping Mark out.