Re: [nant-dev] NUnit Error With NAnt...

2003-01-17 Thread Scott Hernandez
Yep, I've actually done quite a bit with appdomains and loading/finding
assemblies for the ShadowCopyFiles support I've recently added.

But it does bring up another question as to what config file NUnit loads.
You can also change these properties dynamically in code if you can get
ahold of the appdomain that NUnit exists in. That may be the better
approach.

I'll do a little testing and see what I can find.

- Original Message -
From: Brant Carter [EMAIL PROTECTED]
To: Scott Hernandez [EMAIL PROTECTED]; Sansone, Aaron
[EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, January 16, 2003 10:34 PM
Subject: Re: [nant-dev] NUnit Error With NAnt...


 You might want to look at this article.


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
 l/cpconspecifyingassemblyslocation.asp

 I am pretty sure that the default is for it to look in the GAC and then to
 look in the current directory.  You may have to specify your values in a
 nant.exe.config file (or possibly the nunit.exe.config file).   I haven't
 confirmed this yet as I haven't ventured into NUnit/NAnt integration just
 yet.

 brant
 ...



 - Original Message -
 From: Scott Hernandez [EMAIL PROTECTED]
 To: Sansone, Aaron [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Thursday, January 16, 2003 4:48 PM
 Subject: Re: [nant-dev] NUnit Error With NAnt...


  We also have, and have had, the same problems with NAntContrib for a
 while.
 
  Here is some background.
  http://sourceforge.net/mailarchive/message.php?msg_id=2372560
 
  If you find any solution, or have any ideas, please feel free send them
  around. I'm just now starting to look into it. :)
 
  - Original Message -
  From: Sansone, Aaron [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, January 16, 2003 2:18 PM
  Subject: [nant-dev] NUnit Error With NAnt...
 
 
   All,
  
   I have the latest snapshot (1/14) of NAnt and I am trying to create a
 test
  build
   script.  Apparently the NUnit2 Testing task is looking for my Assembly
 in
  the
   NAnt installation directory.  If I copy my Assembly to the C:\NAnt\bin
   directory, my test tasks are run.  However, I don't belive that this
is
  the
   intended way to run NAnt-NUnit tasks.  Is there a way to force the
NUnit
  task to
   look as a specific directory for my assembly?  Here are my relevant
 build
  file
   entries.  Notice that I am specifying the absolute path for the
 assembly.
  I've
   tried several permutations of the assembly location, but only when I
  placed it
   in the NAnt/bin directory did I have any success.
  
   Properties:
  
   property name=project.basedir value=C:/Projects/SpikeSolution/
   property name=build.dir value=build/
   property name=project.ClientExe.name value=SpikeWinClient/
  
   NAnt Task:
  
   nunit2 basedir=${project.basedir}\${build.dir}
 test
  
 

assemblyname=${project.basedir}\${build.dir}\${project.ClientExe.name}.exe
  /
   /nunit2
  
   When I execute the script, I get the following Error:
  
   INTERNAL ERROR
   System.IO.FileNotFoundException: File or assembly name SpikeWinClient,
 or
  one of
its dependencies, was not found.
   File name: SpikeWinClient
  at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
  codeBase, B
   oolean isStringized, Evidence assemblySecurity, Boolean
  throwOnFileNotFound, Ass
   embly locationHint, StackCrawlMark stackMark)
  at System.Reflection.Assembly.InternalLoad(AssemblyName
assemblyRef,
  Boolean
   stringized, Evidence assemblySecurity, StackCrawlMark stackMark)
  at System.Reflection.Assembly.InternalLoad(String assemblyString,
  Evidence as
   semblySecurity, StackCrawlMark stackMark)
  at System.AppDomain.Load(String assemblyString)
  at NUnit.Core.TestSuiteBuilder.Build(String assemblyName)
  at SourceForge.NAnt.Tasks.NUnit2.NUnit2Task.runTest(NUnit2Test
test,
  EventLis
   tener listener)
  at SourceForge.NAnt.Tasks.NUnit2.NUnit2Task.ExecuteTask()
  at SourceForge.NAnt.Task.Execute()
  at SourceForge.NAnt.Target.Execute()
  at SourceForge.NAnt.Project.Execute(String targetName)
  at SourceForge.NAnt.Tasks.CallTask.ExecuteTask()
  at SourceForge.NAnt.Task.Execute()
  at SourceForge.NAnt.Target.Execute()
  at SourceForge.NAnt.Project.Execute(String targetName)
  at SourceForge.NAnt.Project.Execute()
  at SourceForge.NAnt.Project.Run()
  
   Fusion log follows:
   === Pre-bind state information ===
   LOG: DisplayName = SpikeWinClient
(Partial)
   LOG: Appbase = C:\NAnt\bin\
   LOG: Initial PrivatePath = NULL
   Calling assembly : nunit.framework, Version=2.0.6.0, Culture=neutral,
  PublicKeyT
   oken=96d09a1eb7f44a77.
   ===
  
   LOG: Policy not being applied to reference at this time (private,
 custom,
  partia
   l, or location-based assembly bind).
   LOG: Post-policy reference: SpikeWinClient
   LOG: Attempting download of new URL
  file:///C:/NAnt/bin/SpikeWinClient.DLL.
   LOG: Attempting download of 

Re: [nant-dev] Sourceforge CVS server problems?

2003-01-17 Thread Scott Hernandez



Yes they are related. I've no idea what is going on 
but other sourceforge projects have complained about the same 
thing.

Oh, and the cvs web server is down 
too.

  - Original Message - 
  From: 
  Brian Deacon 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, January 16, 2003 11:28 
  PM
  Subject: [nant-dev] Sourceforge CVS 
  server problems?
  
  
  Has anyone else been experiencing 
  problems with pserver access to cvs.sourceforge.net? 
  I can’t seem to connect to 2401 
  and traceroutes seem to be dying somewhere near 
  sf’s firewalls. And is this related to the nightly 
  code drop still being from the 14th?
  
  Brian 
  Deacon
  


RE: [nant-dev] Sourceforge CVS server problems?

2003-01-17 Thread Mark Griffiths
According to:
http://sourceforge.net/docman/display_doc.php?docid=2352group_id=1
pserver access is down.

-MG

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Brian
Deacon
Sent: 17 January 2003 07:29
To: [EMAIL PROTECTED]
Subject: [nant-dev] Sourceforge CVS server problems?


Has anyone else been experiencing problems with pserver access to
cvs.sourceforge.net?  I can't seem to connect to 2401 and traceroutes seem
to be dying somewhere near sf's firewalls.  And is this related to the
nightly code drop still being from the 14th?

Brian Deacon




---
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers



RE: [nant-dev] NUnit Error With NAnt...

2003-01-17 Thread Arnoldus, Michael
When running a NUnit2 test with the Nunit2 testrunner, current directory is
the directory where the assembly is found, but this is not the case when
using the nant nunit2 task. I have a test that reads a testfile, using a
relative pathname. This test runs ok using the NUnit2 testrunner and fails
the nunit2 task in the latest build of nant.

Michael Arnoldus

-Original Message-
From: Brant Carter [mailto:[EMAIL PROTECTED]]
Sent: 17. januar 2003 07:34
To: Scott Hernandez; Sansone, Aaron;
[EMAIL PROTECTED]
Subject: Re: [nant-dev] NUnit Error With NAnt...


You might want to look at this article.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconspecifyingassemblyslocation.asp

I am pretty sure that the default is for it to look in the GAC and then to
look in the current directory.  You may have to specify your values in a
nant.exe.config file (or possibly the nunit.exe.config file).   I haven't
confirmed this yet as I haven't ventured into NUnit/NAnt integration just
yet.

brant
...



- Original Message -
From: Scott Hernandez [EMAIL PROTECTED]
To: Sansone, Aaron [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, January 16, 2003 4:48 PM
Subject: Re: [nant-dev] NUnit Error With NAnt...


 We also have, and have had, the same problems with NAntContrib for a
while.

 Here is some background.
 http://sourceforge.net/mailarchive/message.php?msg_id=2372560

 If you find any solution, or have any ideas, please feel free send them
 around. I'm just now starting to look into it. :)

 - Original Message -
 From: Sansone, Aaron [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, January 16, 2003 2:18 PM
 Subject: [nant-dev] NUnit Error With NAnt...


  All,
 
  I have the latest snapshot (1/14) of NAnt and I am trying to create a
test
 build
  script.  Apparently the NUnit2 Testing task is looking for my Assembly
in
 the
  NAnt installation directory.  If I copy my Assembly to the C:\NAnt\bin
  directory, my test tasks are run.  However, I don't belive that this is
 the
  intended way to run NAnt-NUnit tasks.  Is there a way to force the NUnit
 task to
  look as a specific directory for my assembly?  Here are my relevant
build
 file
  entries.  Notice that I am specifying the absolute path for the
assembly.
 I've
  tried several permutations of the assembly location, but only when I
 placed it
  in the NAnt/bin directory did I have any success.
 
  Properties:
 
  property name=project.basedir value=C:/Projects/SpikeSolution/
  property name=build.dir value=build/
  property name=project.ClientExe.name value=SpikeWinClient/
 
  NAnt Task:
 
  nunit2 basedir=${project.basedir}\${build.dir}
test
 

assemblyname=${project.basedir}\${build.dir}\${project.ClientExe.name}.exe
 /
  /nunit2
 
  When I execute the script, I get the following Error:
 
  INTERNAL ERROR
  System.IO.FileNotFoundException: File or assembly name SpikeWinClient,
or
 one of
   its dependencies, was not found.
  File name: SpikeWinClient
 at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
 codeBase, B
  oolean isStringized, Evidence assemblySecurity, Boolean
 throwOnFileNotFound, Ass
  embly locationHint, StackCrawlMark stackMark)
 at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
 Boolean
  stringized, Evidence assemblySecurity, StackCrawlMark stackMark)
 at System.Reflection.Assembly.InternalLoad(String assemblyString,
 Evidence as
  semblySecurity, StackCrawlMark stackMark)
 at System.AppDomain.Load(String assemblyString)
 at NUnit.Core.TestSuiteBuilder.Build(String assemblyName)
 at SourceForge.NAnt.Tasks.NUnit2.NUnit2Task.runTest(NUnit2Test test,
 EventLis
  tener listener)
 at SourceForge.NAnt.Tasks.NUnit2.NUnit2Task.ExecuteTask()
 at SourceForge.NAnt.Task.Execute()
 at SourceForge.NAnt.Target.Execute()
 at SourceForge.NAnt.Project.Execute(String targetName)
 at SourceForge.NAnt.Tasks.CallTask.ExecuteTask()
 at SourceForge.NAnt.Task.Execute()
 at SourceForge.NAnt.Target.Execute()
 at SourceForge.NAnt.Project.Execute(String targetName)
 at SourceForge.NAnt.Project.Execute()
 at SourceForge.NAnt.Project.Run()
 
  Fusion log follows:
  === Pre-bind state information ===
  LOG: DisplayName = SpikeWinClient
   (Partial)
  LOG: Appbase = C:\NAnt\bin\
  LOG: Initial PrivatePath = NULL
  Calling assembly : nunit.framework, Version=2.0.6.0, Culture=neutral,
 PublicKeyT
  oken=96d09a1eb7f44a77.
  ===
 
  LOG: Policy not being applied to reference at this time (private,
custom,
 partia
  l, or location-based assembly bind).
  LOG: Post-policy reference: SpikeWinClient
  LOG: Attempting download of new URL
 file:///C:/NAnt/bin/SpikeWinClient.DLL.
  LOG: Attempting download of new URL
 file:///C:/NAnt/bin/SpikeWinClient/SpikeWinC
  lient.DLL.
  LOG: Attempting download of new URL
 file:///C:/NAnt/bin/SpikeWinClient.EXE.
  LOG: Attempting download of new URL
 

RE: [nant-dev] NUnit Error With NAnt...

2003-01-17 Thread Darren Syzling
Has the fork option been removed from the latest nunit2 task?  

I've used this with the 20021223 snapshot:

nunit2 basedir=${nant.project.basedir}
test 
  assemblyname=${nant.project.basedir}/${build.dir}/${component-filename}
  type=Plain fork=true/
/nunit2


Darren

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Scott
Hernandez
Sent: 17 January 2003 00:49
To: Sansone, Aaron; [EMAIL PROTECTED]
Subject: Re: [nant-dev] NUnit Error With NAnt...

We also have, and have had, the same problems with NAntContrib for a while.

Here is some background.
http://sourceforge.net/mailarchive/message.php?msg_id=2372560

If you find any solution, or have any ideas, please feel free send them
around. I'm just now starting to look into it. :)

- Original Message -
From: Sansone, Aaron [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 16, 2003 2:18 PM
Subject: [nant-dev] NUnit Error With NAnt...


 All,

 I have the latest snapshot (1/14) of NAnt and I am trying to create a test
build
 script.  Apparently the NUnit2 Testing task is looking for my Assembly in
the
 NAnt installation directory.  If I copy my Assembly to the C:\NAnt\bin
 directory, my test tasks are run.  However, I don't belive that this is
the
 intended way to run NAnt-NUnit tasks.  Is there a way to force the NUnit
task to
 look as a specific directory for my assembly?  Here are my relevant build
file
 entries.  Notice that I am specifying the absolute path for the assembly.
I've
 tried several permutations of the assembly location, but only when I
placed it
 in the NAnt/bin directory did I have any success.

 Properties:

 property name=project.basedir value=C:/Projects/SpikeSolution/
 property name=build.dir value=build/
 property name=project.ClientExe.name value=SpikeWinClient/

 NAnt Task:

 nunit2 basedir=${project.basedir}\${build.dir}
   test

assemblyname=${project.basedir}\${build.dir}\${project.ClientExe.name}.exe
/
 /nunit2

 When I execute the script, I get the following Error:

 INTERNAL ERROR
 System.IO.FileNotFoundException: File or assembly name SpikeWinClient, or
one of
  its dependencies, was not found.
 File name: SpikeWinClient
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, B
 oolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Ass
 embly locationHint, StackCrawlMark stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Boolean
 stringized, Evidence assemblySecurity, StackCrawlMark stackMark)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence as
 semblySecurity, StackCrawlMark stackMark)
at System.AppDomain.Load(String assemblyString)
at NUnit.Core.TestSuiteBuilder.Build(String assemblyName)
at SourceForge.NAnt.Tasks.NUnit2.NUnit2Task.runTest(NUnit2Test test,
EventLis
 tener listener)
at SourceForge.NAnt.Tasks.NUnit2.NUnit2Task.ExecuteTask()
at SourceForge.NAnt.Task.Execute()
at SourceForge.NAnt.Target.Execute()
at SourceForge.NAnt.Project.Execute(String targetName)
at SourceForge.NAnt.Tasks.CallTask.ExecuteTask()
at SourceForge.NAnt.Task.Execute()
at SourceForge.NAnt.Target.Execute()
at SourceForge.NAnt.Project.Execute(String targetName)
at SourceForge.NAnt.Project.Execute()
at SourceForge.NAnt.Project.Run()

 Fusion log follows:
 === Pre-bind state information ===
 LOG: DisplayName = SpikeWinClient
  (Partial)
 LOG: Appbase = C:\NAnt\bin\
 LOG: Initial PrivatePath = NULL
 Calling assembly : nunit.framework, Version=2.0.6.0, Culture=neutral,
PublicKeyT
 oken=96d09a1eb7f44a77.
 ===

 LOG: Policy not being applied to reference at this time (private, custom,
partia
 l, or location-based assembly bind).
 LOG: Post-policy reference: SpikeWinClient
 LOG: Attempting download of new URL
file:///C:/NAnt/bin/SpikeWinClient.DLL.
 LOG: Attempting download of new URL
file:///C:/NAnt/bin/SpikeWinClient/SpikeWinC
 lient.DLL.
 LOG: Attempting download of new URL
file:///C:/NAnt/bin/SpikeWinClient.EXE.
 LOG: Attempting download of new URL
file:///C:/NAnt/bin/SpikeWinClient/SpikeWinC
 lient.EXE.

 Please send bug report to [EMAIL PROTECTED]


 Thanks,

 Aaron



---
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by
implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers



---
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
Guide: 

Re: [nant-dev] Updates to ResGenTask.cs...

2003-01-17 Thread Ian MacLean
Aaron,
Can you please re-send this as a diff ? cvs diff -u.  Its easier to 
review and apply in that format.

Ian

All,

I made some changes to the ResGenTask.cs file that I would like reviewed and
committed.  I was having difficulty using this and having the task create my
resource files with the appropriate namespace and in the correct todir.  For
example:

resgen output=AMS.${project.client.assembly.name}.Controls.
todir=${project.basedir}\${build.dir}\resources compile=true
 resources
   includes
name=${project.basedir}\${project.controls.assembly.name}\**\*.resx /
 /resources
/resgen

I needed the generated resource file from MyControl.resx to have the namespace
and created as: AMS.Client.Controls.MyControl.resource

I also needed to place the output in a build/resources directory (i.e. todir)
which was not happening.

If someone gives me developer access I can commit these changes...

Here are my mods (excuse me for not having diff where I am now) with a brief
explanation:


// Property now returns  if the private member is null
[TaskAttribute(output, Required=false)]
public string Output { 
 get { 
   if( _output == null ) {
 return ;
   } else {
 return _output; 
   }
 } 
 set {_output = value;} 
}

// Property now returns BaseDirectory if the private member is null.
[TaskAttribute(todir, Required=false)]
public string ToDirectory { 
 get { 
   if( _toDir == null ) {
 return BaseDirectory;
   } else {
 return _toDir; 
   }
 }
 set {_toDir = value;} 
}

// Process a single file or file group
protected override void ExecuteTask() {
 _arguments = ;
 if (Resources.FileNames.Count  0) {
   foreach ( string filename in Resources.FileNames ) {
 string outputFile = getOutputFile(filename);

 if (NeedsCompiling (filename, outputFile)) {
   if (_arguments.Length == 0) {
 AppendArgument (/compile);
   }
   AppendArgument (String.Format( \{0},{1}\, filename, outputFile));
 }
   }
 } else {
   // Single file situation
   if (Input == null)
 throw new BuildException(Resource generator needs either an input
attribute, or a non-empty fileset., Location);

   string inputFile = Path.GetFullPath(Path.Combine (BaseDirectory, Input));
   string outputFile = getOutputFile(inputFile);

   if (NeedsCompiling (inputFile, outputFile)) {
 AppendArgument (String.Format (\{0}\ \{1}\, inputFile, outputFile));
   }
 }

 if ( _arguments.Length  0) {
   // call base class to do the work
   base.ExecuteTask();
 }
}

// Determine the full path and extension for the output file
private string getOutputFile(string filename)
{
 FileInfo fileInfo = new FileInfo(filename);
 string outputFile = Path.Combine (ToDirectory, Output) + fileInfo.Name;
 outputFile = Path.ChangeExtension( outputFile, TargetExt );
 return outputFile;
}



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers
 





---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Updates to ResGenTask.cs...

2003-01-17 Thread Ian MacLean
Sorry Aaron. I didn't see your comment about not having diff.

Ian


Aaron,
Can you please re-send this as a diff ? cvs diff -u.  Its easier to 
review and apply in that format.

Ian

All,

I made some changes to the ResGenTask.cs file that I would like 
reviewed and
committed.  I was having difficulty using this and having the task 
create my
resource files with the appropriate namespace and in the correct 
todir.  For
example:

resgen output=AMS.${project.client.assembly.name}.Controls.
todir=${project.basedir}\${build.dir}\resources compile=true
 resources
   includes
name=${project.basedir}\${project.controls.assembly.name}\**\*.resx /
 /resources
/resgen

I needed the generated resource file from MyControl.resx to have the 
namespace
and created as: AMS.Client.Controls.MyControl.resource

I also needed to place the output in a build/resources directory 
(i.e. todir)
which was not happening.

If someone gives me developer access I can commit these changes...

Here are my mods (excuse me for not having diff where I am now) with 
a brief
explanation:


// Property now returns  if the private member is null
[TaskAttribute(output, Required=false)]
public string Output {  get {if( _output == null ) {
 return ;
   } else {
 return _output;}
 }  set {_output = value;} }

// Property now returns BaseDirectory if the private member is null.
[TaskAttribute(todir, Required=false)]
public string ToDirectory {  get {if( _toDir == null ) {
 return BaseDirectory;
   } else {
 return _toDir;}
 }
 set {_toDir = value;} }

// Process a single file or file group
protected override void ExecuteTask() {
 _arguments = ;
 if (Resources.FileNames.Count  0) {
   foreach ( string filename in Resources.FileNames ) {
 string outputFile = getOutputFile(filename);

 if (NeedsCompiling (filename, outputFile)) {
   if (_arguments.Length == 0) {
 AppendArgument (/compile);
   }
   AppendArgument (String.Format( \{0},{1}\, filename, 
outputFile));
 }
   }
 } else {
   // Single file situation
   if (Input == null)
 throw new BuildException(Resource generator needs either an input
attribute, or a non-empty fileset., Location);

   string inputFile = Path.GetFullPath(Path.Combine (BaseDirectory, 
Input));
   string outputFile = getOutputFile(inputFile);

   if (NeedsCompiling (inputFile, outputFile)) {
 AppendArgument (String.Format (\{0}\ \{1}\, inputFile, 
outputFile));
   }
 }

 if ( _arguments.Length  0) {
   // call base class to do the work
   base.ExecuteTask();
 }
}

// Determine the full path and extension for the output file
private string getOutputFile(string filename)
{
 FileInfo fileInfo = new FileInfo(filename);
 string outputFile = Path.Combine (ToDirectory, Output) + fileInfo.Name;
 outputFile = Path.ChangeExtension( outputFile, TargetExt );
 return outputFile;
}



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts 
will
allow you to extend the highest allowed 128 bit encryption to all 
your clients even if they use browsers that are limited to 40 bit 
encryption. Get a guide 
here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers
 








---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] MsftFXSDKExternalProgramBase.cs

2003-01-17 Thread Ian MacLean
This file is using the regkey 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot to 
find the current installation directory for the framework. However this 
only gives you the install path for version 1.0. v1.1 is set at 
sdkInstallRootv1.1. There will be a number of people running both 
versions for a while. Are we trying to be a bit too clever with this ? I 
use the sdk tools form the commandline all the time and having them in 
the path works great for me - even with switching between versions. What 
do people think ?
the same problem

Ian  



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] RE: Embed snk

2003-01-17 Thread Ian MacLean
Gordon,
I'v added this task to NAntContrib. There is also the versionInfotask 
which John Lam submitted a while ago. It does somthing similar but it 
auto increments a buil number to write to the version info.

Ian

This might help you or somebody else, I've written a custom task for generating the AssemblyInfo file from a build script.  It uses CodeDOM, so I don't know if it's appropriate for NAnt core, either Core or NAntContrib is welcome to it if it seems useful. 

-Original Message- 
 

	}
}
 





---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] MsftFXSDKExternalProgramBase.cs

2003-01-17 Thread Scott Hernandez
I'm good either way. I think it would be nice to allow/force a specific
version of the runtime/compiler/tools.

As you can guess, I don't have the 1.1 sdk installed.

I also don't have any env setup for the fxsdk. It is nice when things just
work automagically.

- Original Message -
From: Ian MacLean [EMAIL PROTECTED]
Subject: [nant-dev] MsftFXSDKExternalProgramBase.cs


 This file is using the regkey
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot to
 find the current installation directory for the framework. However this
 only gives you the install path for version 1.0. v1.1 is set at
 sdkInstallRootv1.1. There will be a number of people running both
 versions for a while. Are we trying to be a bit too clever with this ? I
 use the sdk tools form the commandline all the time and having them in
 the path works great for me - even with switching between versions. What
 do people think ?
 the same problem



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers