Hi, I'm trying to build Nant using only .NET 1.1. I've
changed Nant.exe.config so that 

defaultframework="net-1.1"

and commented out the supportedRuntime referring to
version 1.0xxx.

I'm using my Visual Studio .NET 2003 command prompt.
When I execute bin\nant from my nant installation
directory I get the following error:

     [echo] Running unit tests with just built version
of NAnt.
     [exec]
D:\nant-0.8.3.50105/build/nant-0.8.3.50105-debug/bin/NAnt.exe
 -buil
dfile:NAnt.build debug self-test
-D:project.version=0.8.3.50105 -k:net-1.1

            Unhandled Exception:
System.Configuration.ConfigurationException: Er
ror loading XML file
c:\windows\microsoft.net\framework\v1.0.3705\Config\machine
.config Request for the permission of type
System.Security.Permissions.StrongNam
eIdentityPermission, mscorlib, Version=1.0.3300.0,
Culture=neutral, PublicKeyTok
en=b77a5c561934e089 failed.
(c:\windows\microsoft.net\framework\v1.0.3705\Config
\machine.config)
               at
System.Configuration.ConfigurationRecord.OpenXmlTextReader(Str
ing configFileName)
               at
System.Configuration.ConfigurationRecord.Load(String
filename)

               at
System.Configuration.DefaultConfigurationSystem.System.Configu
ration.IConfigurationSystem.Init()
               at
System.Configuration.ConfigurationSettings.SetConfigurationSys
tem(IConfigurationSystem configSystem)
               at
System.Configuration.ConfigurationSettings.GetConfig(String
se
ctionName)
               at
System.Configuration.ConfigurationSettings.get_AppSettings()
               at
NAnt.Console.ConsoleStub.Main(String[] args) in
d:\nant-0.8.3.
50105\src\NAnt.Console\ConsoleStub.cs:line 44
Total time: 21 seconds.

BUILD FAILED

D:\nant-0.8.3.50105\NAnt.build(120,10):
 External Program Failed:
D:\nant-0.8.3.50105/build/nant-0.8.3.50105-debug/bin/N
Ant.exe (return code was -532459699)

Anybody have any ideas?

Thanks,

Renee Petris

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to