I have a web project (ASP.NET MVC 4 project) that has a number of configurations stored in Web.Config and in NLog.config files.
I have
Working example when nlog is in web.config - making maximal use of variables to minimise required transformations
web.config
Transform file:
The trick is to namespace all the nlog elements - nlog, variable
nlog
variable