SV650.org - SV650 & Gladius 650 Forum

SV650.org - SV650 & Gladius 650 Forum (http://forums.sv650.org/index.php)
-   Idle Banter (http://forums.sv650.org/forumdisplay.php?f=116)
-   -   Anyone use Nant? (warning - geek alert) (http://forums.sv650.org/showthread.php?t=83061)

thor 25-01-07 11:42 AM

Anyone use Nant? (warning - geek alert)
 
I've been using Nant to drive some nunit tests. Problem is, nunit/nant is using the ADO 2.0 libraries to connect to SQL server 2000, instead of the ADO 1 libraries I used to write the tests in. When I use Nunit outside of Nant, it uses the correct version, but nant binds to the newer versions. The newer versions are failing to connect to the server and therefore my tests fail in nant even though they work in VS2003 and the Nunit windows form.

Uninstalling the .Net 2.0 framework resolves the issue, but that's not desirable.

Anyone had the same issue? Can't find anything on google or the doc/bug pages of nant or nunit. I have upgraded to the latest versions of both.

Luckypants 25-01-07 12:42 PM

I use the Nant-y-Garth a lot, does that count?

Sorry, carry on.

Grinch 25-01-07 12:52 PM

Re: Anyone use Nant? (warning - geek alert)
 
Quote:

Originally Posted by thor
Uninstalling the .Net 2.0 framework resolves the issue, but that's not desirable.

Seems very desirable to me...

thor 25-01-07 12:53 PM

:smt017

:compcrash:

rpwoodman 25-01-07 01:41 PM

I think you need to create a nant.exe.config file. Have a look at this.

http://nant.sourceforge.net/release/...roperties.html

HTH

Rgds

Rupert.

thor 25-01-07 05:53 PM

I've already checked the default framework in the nant config file, and also the build script explicitly states which framework to use. No joy! :(


All times are GMT. The time now is 04:27 AM.

Powered by vBulletin® - Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.