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
Post a Comment