I'm getting an exception "Could not load file or assembly 'System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified."
with the stack trace "at NLog.Config.XmlLoggingConfiguration..ctor(String fileName, Boolean ignoreErrors, LogFactory logFactory) at NLog.LogFactory.LoadLoggingConfiguration(String configFile)"
.
What I'm not sure of, is that I have a reference to System.XML in the project, but this isn't being found? I've removed/re-added the reference and read through other questions similar to this but can't seem to get past this. Is there something NLog needs to find this reference, or a list of dependencies I can check to see what may be missing?
I'm using:
System.XML 4.0.0.0
NLog 4.0.0.0
.NET 4.6.1
For some reason, removing all NLog references and readding it from NuGet worked, even though i tried that yesterday... Either way it seems like i've moved past this.