After alot of looking around after I asked this question, and I did alot of searching before I even asked this question. I resorted to trying assorted things and hoping that they might work.
What I found was that the Common.Logging.NLog.NLogLoggerFactoryAdapter
that I was using was using was coming from the Common.Logging.Nlog
dll and that dll has a refrence to NLog 1.0.0.505
which uses the old position for the NLog.TargetWithLayout
class.
I removed the Common.Logging.Nlog
package with NuGet and changed the reference in the app.config file to:
<factoryAdapter type="Common.Logging.NLog.NLogLoggerFactoryAdapter, Common.Logging.NLog20">
This then uses the correct class which is found in the NLog 2.0.1.2
package and allows NLog, and the application to boot up.
I hope this helps anyone else who stumbles across this problem. I couldn't find anyone else documenting how to deal with it.