Project Description
AppConfig Code Generator, developed in C#, is a Custom Tool for Visual Studio 2008 and 2010 which generates a helper class in order to access to the Configuration AppSettings and ConnectionStrings.

Features
  • Visual Studio 2008 and 2010 Custom Tool Support
  • Creates a [ApplicationName]Configuration class and a property for each appSetting or connectionString in the configuration file
  • Support C# and VB.NET
  • Handle a default value for appSetting. See Documentation for more details
  • Handle a type definition for appSetting. See Documentation for more details
  • Handle array for the supported types. See Documentation for more details

Use
C#

Set the Custom Tool property of the app.config file to "AppConfigCodeGenerator".



VB.NET

Set the Custom Tool property of the app.config file to "AppConfigCodeGeneratorVB".
Set the Custom Tool Namespace.
I don't know why but the generated file is not added to the VB.NET project. If anybody has an idea...

Last edited Apr 9, 2011 at 3:39 PM by laedit, version 6