-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: NHibernate.Linq build
PostPosted: Tue Jan 13, 2009 3:02 am 
Newbie

Joined: Tue Jan 13, 2009 2:12 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.