DllExports like DllImport in C#


i have question.

why .net platform , c# not support dllexport attribute ? technically problems ?

i know - there dllexport on nuget why microsoft not support attribute ?

i cannot find answers this.

best regards

basicly because .net managed , using attributes exposes code unmanaged.

a brief history http://www.c-sharpcorner.com/uploadfile/jteeuwen/exportmanagedcodeasunmanaged11262005051206am/exportmanagedcodeasunmanaged.aspx

article (under "discussion") explains problems using dllexport (c++) applies c# too.

http://www.dotnetperls.com/dllimport





.NET Framework  >  Common Language Runtime Internals and Architecture



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

How to Share webservice object to all user

How to fix error Msg 1801, Level 16, State 3, Line 1