c# - Single NuGet transformation file for web.config and app.config -


nuget has nice feature of transforming configurations, used transformations in web.config or app.config.

now in scenario, want update main config, no matter whether it's web or app, have single source of truth, e.g., 1 file install , uninstall in package file.

is possible somehow? best practice?

you can copy , rename file before building package. of course, should make kind of script task.


Comments

Popular posts from this blog

How to start daemon on android by adb -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

testing - Detect whether test has failed within fixture -