T4Configuration: Small July Update

T4Configuration is a T4 template that generates a static class with methods derived for the appSettings and connectionStrings sections of either your Web.Config or your App.Config files.

I made a small update that lets the namespace be derived from Visual Studio 2010 assemblies instead of the reliance on the third-party T4 Toolbox. This should fix it not working if the user does not have it installed (Doh!).

Some other changes include a little filtering of the settings key values as characters can be included that are not safe to use as method or property names. This is very limited at the moment but more can easily be added as needed.

Anyway its all free and can be used as you like, you can contribute any changes, issues or requests at the Github repo and you can install it from Nuget by typing in the package manager:

Install-Package T4Configuration

or downloading it within Visual Studio 2010.

For other information check out the announcement post here:

T4Configuration: Automated .Config settings

Cheers.

0 Responses to “T4Configuration: Small July Update”



  1. Leave a Comment

Leave a comment