The PDFNetLoader is there to help with the AnyCPU configuration.
You can just remove it, and explicitly pick 32 or 64bit.
Note, that there is a setting in Visual Studio .Net projects, under the build tab, where "Prefer 32bit" is usually checked. You should remove this if applicable.
For more about PDFNetLoader, see this post.