Fixed issue where the T4 templates would fail if there where multiple web-/app.config's like web.config.old or old.web.config.