Compiler Warning C4394
Visual Studio 2013
'function' : per-appdomain symbol should not be marked with __declspec(dllexport)
C4394 is always issued as an error. You can turn off this warning with the #pragma warning or /wd; see warning or /w, /Wn, /WX, /Wall, /wln, /wdn, /wen, /won (Warning Level) for more information.