Closed xumix closed 3 years ago
Hi @xumix! Glad to hear you found a way to apply transforms for console apps.
And thank you for sharing it, I'm sure it will be helpful for others as well.
<_TargetWebConfig>@(AppConfigWithTargetPath)</_TargetWebConfig>
This does not seems right because it change the original file (app.config in your source control) instead of the target.
Changing it to:
<_TargetWebConfig>$(TargetDir)$(TargetFileName).config</_TargetWebConfig>
Seems to apply it correctly to the final /bin/configuration/platform/ folder.
Thank for your project!
This config works for me: