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

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'