App.config transformation issue -
i have implemented app.config transformation 1 of class library projects, when trying read key value app.config debugging unit test project, reading key value app.debug.config instead of app.config. please me out in regard. thanks,
well, stated, debugging application.
i suppose xdt sees current configuration 'debug' , transforms proper app.debug.config app.config.
so, if understand question fully, there 2 (mostly not helping) answers: - remove or disable xdt transformations on class library. - move proper keys app.config app.debug.config , use xdt's 'find-and-replace' technique:
<add name="yourkeyhere"xdt:transform="setattributes" xdt:locator="match(name)" />
Comments
Post a Comment