Version 0.8.3f. No error, but if I trace in with echo statements, it doesn't get into the asminfo task.
D:\nant -v -f:TestVersion.build NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net settings warning: frameworkinfo net-1.1 is invalid and has not been loaded: frameworkDir C:\WINNT\Microsoft.NET\Framework\v1. 1.4322\ does not exist settings warning: frameworkinfo netcf-1.0 is invalid and has not been loaded: frameworkDir C:\WINNT\Microsoft.NET\Framework\v 1.1.4322\ does not exist settings warning: frameworkinfo mono-1.0 is invalid and has not been loaded: frameworkDir C:\Program Files\Mono-0.25\bin does not exist settings warning: frameworkinfo sscli-1.0 is invalid and has not been loaded: frameworkDir C:\sscli\build\v1.x86fstchk.rotor does not exist Buildfile: file:///D:/TestVersion.build Base Directory: D:\. getVersion: [version] Build number: 2.0.2.5104 Total time: 0 seconds. BUILD SUCCEEDED --- Gert Driesen <[EMAIL PROTECTED]> wrote: > Do you get any error message ? > > Can you execute NAnt using the -verbose option and > send me the output ? > > What version of NAnt are you using, btw ? > > Gert > > ----- Original Message ----- > From: "Eric Fetzer" <[EMAIL PROTECTED]> > To: "Nant Users" <[EMAIL PROTECTED]> > Sent: Wednesday, October 29, 2003 9:31 PM > Subject: [Nant-users] asminfo Task > > > > I am unable to get asminfo to update the version > in my > > AssemblyInfo.cs file. It updates the > VersionInfo.txt > > file but never goes into the asminfo task (put > echo's > > in there to trace him). Here's my script. Any > help? > > > > <project name="getVersion" default="getVersion" > > > <target name="getVersion"> > > <version path="VersionInfo.txt" > > buildtype="noincrement" prefix="assembly." > > revisiontype="automatic" /> > > <asminfo output="AssemblyInfo.cs" > > language="CSharp"> > > <imports> > > <import name="System.Reflection" /> > > </imports> > > <attributes> > > <attribute type="AssemblyVersionAttribute" > > value="${assembly.version}" /> > > </attributes> > > </asminfo> > > </target> > > </project> > > > > __________________________________ > > Do you Yahoo!? > > Exclusive Video Premiere - Britney Spears > > http://launch.yahoo.com/promos/britneyspears/ > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback > Program. > > Does SourceForge.net help you be more productive? > Does it > > help you create better code? SHARE THE LOVE, and > help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nant-users mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/nant-users > > > > __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users