Skip to content

sayedihashimi/FastKoala

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fast Koala

Enables build-time config transforms for various project types including web apps, with future plans to also ease config name management and add MSBuild scripts (Imports directives to custom .targets files) to a project.

Current status: Initial commit performs basic functionality for empty web sites that need build-time transformations.

Web.config
Web.Debug.config
Web.Release.config

.. become ..

App_Config\Web.Base.config
App_Config\Web.Debug.config
App_Config\Web.Release.config

and Web.config at project root becomes transient (and should never be added to source control).

Initial commit also supports basic class libraries (which can have config files) and Windows apps (other than ClickOnce apps) that need to transform out to the bin\Debug or bin\Release directory as AssemblyName.exe.config.

In all cases, to use, right-click on the project node or the [Web|App].config in Solution Explorer and choose "Enable build-time transformations"

This project does not use automated unit tests. :(

How it works

This Visual Studio extension will modify your project by injecting a custom MSBuild target that invokes the TransformXml task with the custom config paths as parameters. It does not use NuGet and it does not import an external .targets file in order to support build-time transformations--at least, not at this time, these behaviors might be added down the road but there are several reasons to avoid any of that.

The complete and simple explanation of the core method of how this is accomplished is laid out in the following very useful resource from EdCharbeneau which upon reading it started this whole effort: https://gist.github.com/EdCharbeneau/9135216

About

Enables build-time config transforms for various project types including web apps

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%