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

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

Azure DocumentDB Owner resource does not exist

SQL Server 2008 - High Memory Usage