Use Nuget config transformations outside of nuget

Jan 26, 2012 at 11:45 AM
Edited Jan 26, 2012 at 11:46 AM

Is it possible to use nuget config transformation in my own program?

I would like to call the nuget API, passing the path to a config file and a config transform file and get the transformed file or save to disk.

Anyone has an example ?

Jan 26, 2012 at 4:13 PM

You could probably just use your code instead of trying to call the API if that's all you need. Might be simpler to deal with since our code's quite heavily tied to the package installation state.