Use Nuget config transformations outside of nuget

Jan 26, 2012 at 12:45 PM
Edited Jan 26, 2012 at 12:46 PM

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 ?

Developer
Jan 26, 2012 at 5: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.