In my case the config file was causing trouble, deleting it from the project and rebuilding helped.
NLog.config