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

Gert Driesen gert.driesen@pandora.be
Wed, 12 May 2004 06:17:18 +0200


On Wed, 2004-05-12 at 03:40, GUnit wrote:
> 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-xxxx" ?

A fix for this issue was committed to Mono cvs after beta 1.

Gert