Hello,
Context:
- 0.8.3 RC1 downloaded from http://sourceforge.net/projects/nant/
- Windows 2000
- System with .NET SDK versions 1.0 and 1.1.
- Unmodified NAnt.exe.config file, containing:
startup
supportedRuntime version=v1.0.3705 /
supportedRuntime version=v1.1.4322 /
/startup
Steps:
1) Open command prompt with
a) Without .NET specific paths.
b) .NET 1.0 specific paths.
c) .NET 1.0 specific paths.
(all cases cause the same result)
2) Run bin\NAnt.exe
Expected result:
- NAnt complains about missing *.build file.
Actual result:
- The same as described in the thread
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00611.ht
ml
---
Unhandled Exception: System.Configuration.ConfigurationException: Error
loading
XML file
c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config Reques
t for the permission of type
System.Security.Permissions.StrongNameIdentityPermi
ssion, mscorlib, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c56193
4e089 failed.
(c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config)
at System.Configuration.ConfigurationRecord.OpenXmlTextReader(String
configFi
leName)
at System.Configuration.ConfigurationRecord.Load(String filename)
at
System.Configuration.DefaultConfigurationSystem.System.Configuration.ICo
nf
igurationSystem.Init()
at
System.Configuration.ConfigurationSettings.SetConfigurationSystem(IConfi
gu
rationSystem configSystem)
at System.Configuration.ConfigurationSettings.GetConfig(String
sectionName)
at System.Configuration.ConfigurationSettings.get_AppSettings()
at NAnt.Console.ConsoleStub.Main(String[] args)
'1' is not recognized as an internal or external command,
operable program or batch file.
---
Workaround:
- Remove the startup section makes NAnt run in case a) b) and c).
Best regards,
Bernard
---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing more.
Download eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers