Thanks for the advise :)
When the new release came (http://nant.sourceforge.net/release/0.85/releasenotes.html) i
thought that the <solution> task was supported for the VS 2005 format but
a closer look at the documentation told me otherwise.
I think i will use the <csc> task until the <solution> task handles VS 2005 project files
br
Richard
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnette, Bill
Sent: 17. oktober 2006 23:07
To: Kumar .S; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] "Error loading GUID..." when using <solution> taskforVS2005
I don't know what to tell you. I've told you two
different ways to build VS 2005 solutions. For VS 2003 solutions, you
continue to use the <solution> task. But for VS 2005 solutions use
either the <exec> task to run msbuild.exe or the <msbuild> task from
the NAntContrib package. When using the latter , make sure that the
environment is set up for .NET 2.0 development (VS 2005 command prompt).
My advice is to play around with the two possible ways and see what works best
for you.
Another alternative is to switch your build system entirely to MSBuild
which shouldn't be too difficult because MSBuild is very similar to
NAnt.
From: Kumar .S [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 17, 2006 4:19 PM
To: Arnette, Bill
Subject: Re: [NAnt-users] "Error loading GUID..." when using <solution> task forVS2005Hello Arnette,I was compiling on VS 2005. But the component was built in VS 2003. The nant wont work for new VS 2005 files or for what files its not going to compile. Please let me know. Because I have installed VS 2005 on my machine and also VS 2003 is also available on my machine. When I tried to compile with the xml which I was having previously it was executed and compiled properly. I dont have any new code for VS 2005 yet. But the development has started in VS 2005. So, now what is going to happen. Will my NANT work once I shift completely to VS 2005. Please let me know Sir.Please.
Regards,Kumar
On 10/17/06, Kumar .S <[EMAIL PROTECTED]> wrote:Actually I will be out for lunch. I will be back in an hour. Once I try I will let you know.
On 10/17/06, Arnette, Bill <[EMAIL PROTECTED] > wrote:MSBuild is in .NET 2.0 *only*. It will not work with VS 2003 solutions, only VS 2005 solutions. You need to run your Nant script in a VS 2005 command prompt.
From: Kumar .S [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 17, 2006 2:40 PM
To: Arnette, Bill
Subject: Re: [NAnt-users] "Error loading GUID..." when using <solution> task forVS2005
After copying those now the error saysFailed to start MSBuild.c:\winnet\Microsoft.net\framework\v1.1.4322\msbuild.exe failed to start.the system cannot find the file specified.and says build failed.
On 10/17/06, Arnette, Bill <[EMAIL PROTECTED] > wrote:You have to install NantContrib. easiest way is to download the NantContrib binary package (see the URL in the mail below) and copy the DLLs into the Nant\bin directory.Otherwise use the <exec> task like I showed you before.
From: Kumar .S [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 17, 2006 2:31 PM
To: Arnette, Bill
Subject: Re: [NAnt-users] "Error loading GUID..." when using <solution> task forVS2005
Sorry Sir,Its not working. Its saying MSBUILD is not a recognized. and says unknows tasks or datatype.Regards,Kumar
On 10/17/06, Arnette, Bill <[EMAIL PROTECTED] > wrote:You are still using NAnt to drive the build, but msbuild is actually
compiling the .Net project.
I see that NAntContrib [1] has an <msbuild> task [2] that you would use
instead of the <solution> task or the <exec> task.
So, after installing NAntContrib, you could do:
<?xml version=" 1.0" encoding="utf-8" ?>
<project name="OMEGA" default="Run">
<target name="Transport" description="this is builds the solutions
file">
<msbuild target="Release"
project="C:\Program
Files\OMEGA\siebel\src\Transport\Transport.sln"
failonerror="true">
<property name="Configuration" value="Release" />
</msbuild>
</target>
<target name="Run" description="Runs the entire process of pushing
develop to qa.">
<call target="Transport" />
</target>
</project>
[1] http://nantcontrib.sourceforge.net/
[2]
http://nantcontrib.sourceforge.net/release/latest/help/tasks/msbuild.htm
l
________________________________
From: Kumar .S [mailto: [EMAIL PROTECTED]]
Sent: Tuesday, October 17, 2006 1:52 PM
To: Arnette, Bill
Subject: Re: [NAnt-users] "Error loading GUID..." when using <solution>
task forVS2005
Hello Arnette,
So, according to NANT wont support for VS
2005. Is that true. U said its not going to support. In what way its not
supporting. We wont be able to compile. VS 2005 .net applications.
Regards,
Kumar
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users