Sorry about this spurious email, I am testing whether my emails appear
unreadable on this list 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 24 January 2006 04:27
To: nant-users@lists.sourceforge.net
Subject: NAnt-users digest, Vol 1 #1709 - 5 msgs

Send NAnt-users mailing list submissions to
        nant-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/nant-users
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of NAnt-users digest..."


Today's Topics:

   1. RE: Build file for VB.NET web apps (Gert Driesen)
   2. RE: Extending nant (Peschka, Jeremiah)
   3. build problem. (Pritesh Shah)
   4. RE: Build file for VB.NET web apps (Narayanan Raghavan)
   5. Re: build problem. (Gary Feldman)

--__--__--

Message: 1
From: "Gert Driesen" <[EMAIL PROTECTED]>
To: "'Narayanan Raghavan'" <[EMAIL PROTECTED]>,
        <nant-users@lists.sourceforge.net>
Subject: RE: [NAnt-users] Build file for VB.NET web apps
Date: Mon, 23 Jan 2006 07:16:41 +0100

 

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Narayanan 
> Raghavan
> Sent: zondag 22 januari 2006 23:26
> To: nant-users@lists.sourceforge.net
> Subject: [NAnt-users] Build file for VB.NET web apps
> 
> Hello,
> I am a newbie to nant.  I am trying to write a build file for a simple 
> VB.NET web app.  When I run nant, the corresponding resource and pdb 
> files
> are not being generated.   I also get the error message
> "[vbc] vbc : error BC30037: Project-level conditional compilation 
> constant 'DEBUG;TRACE' is not valid: Character is not valid."

For VB.NET, defines need to be separated by a comma instead of a semicolon.

For example:

<vbc define="DEBUG=True,TRACE=True" ....>
        ...
</vbc>

Gert



--__--__--

Message: 2
From: "Peschka, Jeremiah" <[EMAIL PROTECTED]>
To: nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Extending nant
Date: Mon, 23 Jan 2006 09:04:45 -0500

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C62025.F6A5D620
Content-Type: text/plain;
        charset="iso-8859-1"

I can share the source.  However, I managed to get my code to compile and
run late Thursday night.  I'm not sure what I changed to get this to work,
but it's working now.  Thanks for looking at this, though.  I appreciate
people's efforts.

Jeremiah 

-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 19, 2006 2:56 PM
To: Peschka, Jeremiah; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Extending nant


Hi Jeremiah.

Are you allowed to share the source with us ?

Gert

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Peschka, 
> Jeremiah
> Sent: donderdag 19 januari 2006 17:32
> To: 'nant-users@lists.sourceforge.net'
> Subject: [NAnt-users] Extending nant
> 
> I'm attempting to create a custom NAnt task and I'm running into some 
> issues.  My class compiles fine in VS.NET 2005 (I'm running the latest 
> nightly build of NAnt, built for VS.NET 2005/.NET 2.0), but when I try 
> to run the .build file I get the following exception:
> 
> BUILD FAILED
> 
> INTERNAL ERROR
> 
> System.NullReferenceException: Object reference not set to an instance 
> of an object.
>    at CareWorks.NAnt.VSS.CwtLabelWatchTask.ExecuteTask() 
>    at NAnt.Core.Task.Execute() in
> d:\Source\nant-20051211T094754Z\src\NAnt.Core\Task.cs:line 171 
>    at NAnt.Core.Target.Execute() in
> d:\Source\nant-20051211T094754Z\src\NAnt.Core\Target.cs:line 247 
>    at NAnt.Core.Project.Execute(String targetName, Boolean
> forceDependencies) in
> d:\Source\nant-20051211T094754Z\src\NAnt.Core\Project.cs:line 885
> 
>    at NAnt.Core.Project.Execute() in
> d:\Source\nant-20051211T094754Z\src\NAnt.Core\Project.cs:line 837 
>    at NAnt.Core.Project.Run() in
> d:\Source\nant-20051211T094754Z\src\NAnt.Core\Project.cs:line 922
> 
> When I step through the code with a debugger, it looks like the error 
> is cropping up when the base Task.Execute() method is being run.  
> Specifically this line:
> 
> Project.OnTaskStarted(this, new BuildEventArgs(this));
> 
> When I step into this method, the properties target, project, and task 
> are all set to null.
> 
> Any help would be greatly appreciated. 
> 
> Thanks,
> 
> Jeremiah Peschka
> CONFIDENTIALITY NOTICE:  This is an e-mail transmission and the 
> information is privileged and/or confidential. It is intended only for 
> the use of the individual or entity to which it is addressed. If you 
> have received this communication in error, please notify the sender at 
> the reply e-mail address and delete it from your system without 
> copying or forwarding it. If you are not the intended recipient, you 
> are hereby notified that any retention, distribution, or dissemination 
> of this information is strictly prohibited. Thank you.
> 
> 
CONFIDENTIALITY NOTICE:  This is an e-mail transmission and the information
is privileged and/or confidential. It is intended only for the use of the
individual or entity to which it is addressed. If you have received this
communication in error, please notify the sender at the reply e-mail address
and delete it from your system without copying or forwarding it. If you are
not the intended recipient, you are hereby notified that any retention,
distribution, or dissemination of this information is strictly prohibited.
Thank you.

------_=_NextPart_001_01C62025.F6A5D620
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [NAnt-users] Extending nant</TITLE> </HEAD> <BODY>

<P><FONT SIZE=3D2>I can share the source.&nbsp; However, I managed to = get
my code to compile and run late Thursday night.&nbsp; I'm not sure = what I
changed to get this to work, but it's working now.&nbsp; Thanks = for
looking at this, though.&nbsp; I appreciate people's = efforts.</FONT></P>

<P><FONT SIZE=3D2>Jeremiah </FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT> <BR><FONT SIZE=3D2>From:
Gert Driesen [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</=
A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, January 19, 2006 2:56 PM</FONT> <BR><FONT
SIZE=3D2>To: Peschka, Jeremiah; = nant-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [NAnt-users] Extending nant</FONT> </P> <BR>

<P><FONT SIZE=3D2>Hi Jeremiah.</FONT>
</P>

<P><FONT SIZE=3D2>Are you allowed to share the source with us ?</FONT> </P>

<P><FONT SIZE=3D2>Gert</FONT>
</P>

<P><FONT SIZE=3D2>&gt; -----Original Message-----</FONT> <BR><FONT
SIZE=3D2>&gt; From: [EMAIL PROTECTED] = </FONT>
<BR><FONT SIZE=3D2>&gt; [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:nant-users=
[EMAIL PROTECTED]</A>] On Behalf Of </FONT> <BR><FONT
SIZE=3D2>&gt; Peschka, Jeremiah</FONT> <BR><FONT SIZE=3D2>&gt; Sent:
donderdag 19 januari 2006 17:32</FONT> <BR><FONT SIZE=3D2>&gt; To:
'nant-users@lists.sourceforge.net'</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: [NAnt-users] Extending nant</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT> <BR><FONT SIZE=3D2>&gt; I'm attempting to
create a custom NAnt task and = I'm running </FONT> <BR><FONT SIZE=3D2>&gt;
into some issues.&nbsp; My class compiles fine = in VS.NET 2005 (I'm </FONT>
<BR><FONT SIZE=3D2>&gt; running the latest nightly build of NAnt, built =
for VS.NET </FONT> <BR><FONT SIZE=3D2>&gt; 2005/.NET 2.0), but when I try to
run the = .build file I get </FONT> <BR><FONT SIZE=3D2>&gt; the following
exception:</FONT> <BR><FONT SIZE=3D2>&gt; </FONT> <BR><FONT SIZE=3D2>&gt;
BUILD FAILED </FONT> <BR><FONT SIZE=3D2>&gt; </FONT> <BR><FONT SIZE=3D2>&gt;
INTERNAL ERROR </FONT> <BR><FONT SIZE=3D2>&gt; </FONT> <BR><FONT
SIZE=3D2>&gt; System.NullReferenceException: Object reference = not set to
an </FONT> <BR><FONT SIZE=3D2>&gt; instance of an object. </FONT> <BR><FONT
SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; at =
CareWorks.NAnt.VSS.CwtLabelWatchTask.ExecuteTask() </FONT> <BR><FONT
SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; at NAnt.Core.Task.Execute() = in </FONT>
<BR><FONT SIZE=3D2>&gt; =
d:\Source\nant-20051211T094754Z\src\NAnt.Core\Task.cs:line 171 </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; at NAnt.Core.Target.Execute() = in
</FONT> <BR><FONT SIZE=3D2>&gt; =
d:\Source\nant-20051211T094754Z\src\NAnt.Core\Target.cs:line 247 = </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; at =
NAnt.Core.Project.Execute(String targetName, Boolean </FONT> <BR><FONT
SIZE=3D2>&gt; forceDependencies) in </FONT> <BR><FONT SIZE=3D2>&gt; =
d:\Source\nant-20051211T094754Z\src\NAnt.Core\Project.cs:line = 885</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT> <BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; at
=
NAnt.Core.Project.Execute() in </FONT>
<BR><FONT SIZE=3D2>&gt; =
d:\Source\nant-20051211T094754Z\src\NAnt.Core\Project.cs:line 837 = </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; at NAnt.Core.Project.Run() in =
</FONT> <BR><FONT SIZE=3D2>&gt; =
d:\Source\nant-20051211T094754Z\src\NAnt.Core\Project.cs:line 922 = </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT> <BR><FONT SIZE=3D2>&gt; When I step through
the code with a debugger, = it looks like </FONT> <BR><FONT SIZE=3D2>&gt;
the error is cropping up when the base =
Task.Execute() method </FONT>
<BR><FONT SIZE=3D2>&gt; is being run.&nbsp; Specifically this = line:</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT> <BR><FONT SIZE=3D2>&gt;
Project.OnTaskStarted(this, new = BuildEventArgs(this)); </FONT> <BR><FONT
SIZE=3D2>&gt; </FONT> <BR><FONT SIZE=3D2>&gt; When I step into this method,
the properties = target, project, </FONT> <BR><FONT SIZE=3D2>&gt; and task
are all set to null. </FONT> <BR><FONT SIZE=3D2>&gt; </FONT> <BR><FONT
SIZE=3D2>&gt; Any help would be greatly appreciated. </FONT> <BR><FONT
SIZE=3D2>&gt; </FONT> <BR><FONT SIZE=3D2>&gt; Thanks, </FONT> <BR><FONT
SIZE=3D2>&gt; </FONT> <BR><FONT SIZE=3D2>&gt; Jeremiah Peschka </FONT>
<BR><FONT SIZE=3D2>&gt; CONFIDENTIALITY NOTICE:&nbsp; This is an e-mail =
transmission and </FONT> <BR><FONT SIZE=3D2>&gt; the information is
privileged and/or = confidential. It is </FONT> <BR><FONT SIZE=3D2>&gt;
intended only for the use of the individual or = entity to </FONT> <BR><FONT
SIZE=3D2>&gt; which it is addressed. If you have received = this </FONT>
<BR><FONT SIZE=3D2>&gt; communication in error, please notify the = sender
at the reply </FONT> <BR><FONT SIZE=3D2>&gt; e-mail address and delete it
from your system = without copying </FONT> <BR><FONT SIZE=3D2>&gt; or
forwarding it. If you are not the intended = recipient, you </FONT>
<BR><FONT SIZE=3D2>&gt; are hereby notified that any retention, =
distribution, or </FONT> <BR><FONT SIZE=3D2>&gt; dissemination of this
information is strictly = prohibited. Thank you.</FONT> <BR><FONT
SIZE=3D2>&gt; </FONT> <BR><FONT SIZE=3D2>&gt; </FONT> <BR><FONT
SIZE=3D2>CONFIDENTIALITY NOTICE:&nbsp; This is an e-mail = transmission and
the information is privileged and/or confidential. It = is intended only for
the use of the individual or entity to which it is = addressed. If you have
received this communication in error, please = notify the sender at the
reply e-mail address and delete it from your = system without copying or
forwarding it. If you are not the intended = recipient, you are hereby
notified that any retention, distribution, or = dissemination of this
information is strictly prohibited. Thank = you.</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C62025.F6A5D620--


--__--__--

Message: 3
Date: Mon, 23 Jan 2006 16:09:21 -0800
From: Pritesh Shah <[EMAIL PROTECTED]>
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] build problem.

hello e'body,

I am a newbie to nant. I'm trying to write a build file for a simple
project. The project xyz depends on abc.dll . How do i go about doing that.
Given below is my current .build file for xyz, which is giving the following
errors:

error CS0234: The type or namespace name 'abc' does not exist in the class
(are you missing an assembly reference?)


My .build file is as follows:

<?xml version=3D"1.0"?>

<project name=3D"xyz" default=3D"build" basedir=3D".">

    <description>The xyz build file.</description>
    <property name=3D"debug" value=3D"true" overwrite=3D"false" />

    <target name=3D"clean" description=3D"remove all generated files">
        <delete file=3D"xyz.dll" failonerror=3D"false" />
    </target>

    <target name=3D"build" description=3D"compiles the source code">
        <csc target=3D"library"
             output=3D"xyz.dll"
             debug=3D"${debug}">
            <sources>
                <include name=3D"*.cs" />
            </sources>
            <references>
                <include name=3D"System.dll" />
                <include name=3D"System.Web.dll" />
                <include name=3D"System.XML.dll" />
            </references>
        </csc>
    </target>

</project>

Thanks in advance,
Pritesh


--__--__--

Message: 4
From: "Narayanan Raghavan" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Build file for VB.NET web apps
Date: Tue, 24 Jan 2006 00:44:37 +0000

Thank you for the info.  It now builds fine but I now get a parser error
when I start my client.
Parser Error Message: Could not load type 'GRD.Global'.

The app complies and works great when I build it through VS.  I am probably
missing something basic.
Thanks again for the help.


>From: "Gert Driesen" <[EMAIL PROTECTED]>
>To: "'Narayanan Raghavan'" 
><[EMAIL PROTECTED]>,<nant-users@lists.sourceforge.net>
>Subject: RE: [NAnt-users] Build file for VB.NET web apps
>Date: Mon, 23 Jan 2006 07:16:41 +0100
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Narayanan Raghavan
> > Sent: zondag 22 januari 2006 23:26
> > To: nant-users@lists.sourceforge.net
> > Subject: [NAnt-users] Build file for VB.NET web apps
> >
> > Hello,
> > I am a newbie to nant.  I am trying to write a build file for
> > a simple
> > VB.NET web app.  When I run nant, the corresponding resource
> > and pdb files
> > are not being generated.   I also get the error message
> > "[vbc] vbc : error BC30037: Project-level conditional
> > compilation constant
> > 'DEBUG;TRACE' is not valid: Character is not valid."
>
>For VB.NET, defines need to be separated by a comma instead of a semicolon.
>
>For example:
>
><vbc define="DEBUG=True,TRACE=True" ....>
>       ...
></vbc>
>
>Gert
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
>files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>NAnt-users mailing list
>NAnt-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nant-users




--__--__--

Message: 5
Date: Mon, 23 Jan 2006 21:50:06 -0500
From: Gary Feldman <[EMAIL PROTECTED]>
Organization: MarsDome, Inc.
To:  nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] build problem.

Pritesh Shah wrote:

>...
>
>error CS0234: The type or namespace name 'abc' does not exist in the class
>(are you missing an assembly reference?)
>  
>
That's the clue. 

>...
>            <references>
>                <include name="System.dll" />
>                <include name="System.Web.dll" />
>                <include name="System.XML.dll" />
>            </references>
>  
>
Add a reference to abc.dll here.  The <references> block in NAnt is the 
equivalent to the References node shown under each project in the Visual 
Studio Solution Explorer.

Gary





--__--__--

_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


End of NAnt-users Digest




The information contained in this email is intended only for the individual to 
whom it is addressed. It may contain legally privileged or confidential 
information or otherwise be exempt from disclosure. If you have received this 
message in error or there are any problems, please notify the sender 
immediately and delete the message from your computer. You must not use, 
disclose, copy or alter this message for any unauthorised purpose. Neither 
Vertex Data Science Limited nor any of its subsidiaries
will be liable for any direct, special, indirect or consequential damages as a 
result of any virus being passed on, or arising from the alteration of the 
contents of this message by a third party. The following Vertex companies are 
authorised and regulated by the Financial Services Authority (FSA):  - Exchange 
FS Ltd trading as The Exchange 
 - Marlborough Stirling Mortgage Services Ltd trading as Marlborough Stirling 
Mortgage Services 
 - Vertex Administration Ltd
 
Vertex Administration (IOM) Limited is supervised by the Isle of Man Insurance 
and Pensions Authority.
 
Vertex Data Science Limited (England and Wales No. 3153391) registered office 
Vertex House, Greencourts Business Park, 333 Styal Road, Manchester, M22 5TX 

www.vertex.co.uk


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to