I\'ve just came across with problem of web.config transformation in asp.net core.
There are two files: base web.config and web.prod-zone-a.config. My aim is to use t
This worked for me:
web.release.config file to the project root.Sample transformation:
Update: If you want to remove web.config.release file and others on publish, simply edit your .csproj file and add something like this: