Hello all,
Actually using Linq to SQL, i'm planning of switching to NHibernate.Linq
I've already got in touch with NHibernate first, and everything seems to work well.
The problem comes when I try to compile the latest trunk version of NHibernate.Linq (in NHibernateContrib). I cannot open the project in Visual studio 2005 (says "The selected file is a solution file, but wsa created by a newer version of this application and cannot be opened" )
I then tried to compile it with Nant, via the command shell. I get this message:
Code:
init:
JetDriver:
[nant] C:\Documents and Settings\srodriguez\Desktop\NHibernateContrib\trunk\src\NHibernate.JetDriver\default.build build
Buildfile: file:///C:/Documents and Settings/srodriguez/Desktop/NHibernateContrib/trunk/src/NHibernate.JetDriver/default.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: build
build:
[csc] Compiling 1 files to 'C:\Documents and Settings\srodriguez\Desktop\NHibernateContrib\trunk\src\NHibernate.JetDriver\build\NHibernate.JetDriver.Tests.dll'.
[csc] c:\Documents and Settings\srodriguez\Desktop\NHibernateContrib\trunk\src\NHibernate.JetDriver\src\NHibernate.JetDriver.Tests\JetDialectFixture.cs(17,32): error CS0029: Cannot implicitly convert type 'NHibernate.SqlCommand.SqlString' to 'string'
[csc] c:\Documents and Settings\srodriguez\Desktop\NHibernateContrib\trunk\src\NHibernate.JetDriver\src\NHibernate.JetDriver.Tests\JetDialectFixture.cs(30,32): error CS0029: Cannot implicitly convert type 'NHibernate.SqlCommand.SqlString' to 'string'
BUILD FAILED
C:\Documents and Settings\srodriguez\Desktop\NHibernateContrib\trunk\src\NHibernate.JetDriver\default.build(33,4):
External Program Failed: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe (return code was 1)
Total time: 0.6 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 1.5 seconds
.
When i try to compile it with .NET 2-0 support (nant.exe "-t:net-2.0" ) it says the target does not exist.
Then, my question is: is it mandatory to have .NET 3.5 installed to build NHcontrib.Linq? I found some old prebuild dll in the net, but when using them i got the folowwing error message:
Code:
Error loading c:\Documents and Settings\srodriguez\Desktop\NHibernate.Linq.dll: Could not load file or assembly 'NHibernate.Linq, Version=1.0.0.0, Culture=neutral, PublicKeyToken=444cf6a87fdab271' or one of its dependencies. The system cannot find the file specified.
Of course, i double checked, the .dll is where the path says, i guess it's one of the dependencies i'm missing.
I'm using:
nant-0.86-beta1-bin
Visual studio 2005
.NET 3.0
Thank you very much for your help