I forgot to mention that the top lines of the config file
need to look like this. The PublicKeyToken will change depending on the version
of the .NET framework you are using. It is also possible to use other section
handlers in place of the NameValueSectionHandler. <?xml version="1.0" encoding="utf-8"
?> <configuration> <configSections>
<section name="General"
type="System.Configuration.NameValueSectionHandler, System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
/>
<section name="Development"
type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="Integration"
type="System.Configuration.NameValueSectionHandler, System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
/>
<section name="Production"
type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" /> </configSections> |
- [Nant-users] Config Files II Derek Pierson
- Derek Pierson