[Mono-list] NAnt config file framework problem with mono 0.91.99

2004-05-12 Thread GUnit
The latest CVS version fixed the problem with the NAnt config file 
encoding. Thx.

I am now getting the following error when trying to build with NAnt:

The current runtime framework 'mono-1.0' is not correctly configured in 
the NAnt configuration file.

This configuration file worked under mono 0.31 and I have not modified 
my NAnt version.  I tried updating
NAnt and the nant build failed with a similar error. The NAnt config 
file and error message follow.

Thanks.

NAnt configuration:
--
?xml version=1.0 encoding=Windows-1252 ?
configuration
   !-- Leave this alone. Sets up configsectionhandler section --
   configSections
   section name=nant type=NAnt.Core.ConfigurationSection, 
NAnt.Core /
   section name=log4net 
type=System.Configuration.IgnoreSectionHandler /
   /configSections
   appSettings
   !-- Used to indicate the location of the cache folder for 
shadow files --
   add key=shadowfiles.path 
value=%temp%\nunit20\ShadowCopyCache /
   !-- Used to indicate that NAnt should shadow files in a cache 
folder near the executable --
   add key=nant.shadowfiles value=False /
   !-- Used to indicate if cached files should be delete when done 
running--
   add key=nant.shadowfiles.cleanup value=False /
   !-- To enable internal log4net logging, uncomment the next line --
   !-- add key=log4net.Internal.Debug value=true/ --
   /appSettings
   !-- nant config settings --
   nant
   frameworks
   platform name=unix default=auto
   framework
   name=mono-1.0
   family=mono
   version=1.0
   description=GNOME projects port of the .NET Framework
   runtimeengine=mono
   sdkdirectory=/usr/bin
   frameworkdirectory=/usr/bin
   frameworkassemblydirectory=/usr/lib
   clrversion=${clrversion}
   
   extensions
   includes name=*Tasks.dll /
   includes name=*Tests.dll /
   !-- exclude Microsoft.NET specific extension 
assembly --
   excludes name=NAnt.MSNetTasks.dll /
   !-- exclude Microsoft.NET specific test 
assembly --
   excludes name=NAnt.MSNet.Tests.dll /
   !-- exclude win32 specific extension assembly --
   excludes name=NAnt.Win32Tasks.dll /
   !-- exclude win32 specific test assembly --
   excludes name=NAnt.Win32.Tests.dll /
   /extensions
   properties
   property name=clrversion value=1.1.4322 /
   /properties
   tasks
   task name=al
   attribute name=exenameal/attribute
   attribute 
name=useruntimeenginetrue/attribute
   /task
   task name=csc
   attribute name=exenamemcs/attribute
   attribute 
name=useruntimeenginetrue/attribute
   /task
   task name=vbc
   attribute name=exenamembas/attribute
   attribute 
name=useruntimeenginetrue/attribute
   /task
   task name=resgen
   attribute name=exenamemonoresgen/attribute
   attribute 
name=useruntimeenginetrue/attribute
   /task
   task name=delay-sign
   attribute name=exenamemonosn/attribute
   attribute 
name=useruntimeenginetrue/attribute
   /task
   /tasks
   /framework
   /platform
   !-- Framework-neutral properties --
   properties
   !-- property name=foo value = bar / --
   /properties
   !-- Framework-neutral task configuration defaults --
   tasks
   !-- settings for individual tasks --
   /tasks
   /frameworks
   !-- Default properties --
   properties
   !-- add global properties here in the following format--
   !-- property name=foo value = bar readonly=false / --
   /properties
   /nant
!--
   This section contains the log4net configuration settings.
 

   By default, no messages will be logged to the log4net logging 
infrastructure.
 

   To enable the internal logging, set the threshold 

[Mono-list] NAnt config file incompatibility with Mono 0.91

2004-05-11 Thread GUnit
The NAnt config file I have been using up to Mono 0.31 no longer works 
with 0.91.
I am getting the following error:

Unhandled Exception: System.Configuration.ConfigurationException: Error 
reading /home/user1/mono/nant/bin/NAnt.exe.config() --- 
System.NotSupportedException: Encoding name `Windows-1252' not supported

What should the encoding for the config file be? Currently the NAnt 
config file starts with:

?xml version=1.0 encoding=Windows-1252 ?

Should the encoding indicate Mono- ?

Thanks,

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list