kevingosse / UnmanagedExports.Repack

Unmanaged Exports (DllExport for .Net) - Adapted for PackageReference
MIT License
18 stars 16 forks source link

Fix for projects that use Win32 instead of x86 as the platform #2

Closed ConorMeehanNitro closed 4 years ago

ConorMeehanNitro commented 5 years ago

If the platform is Win32 then RGiesecke.DllExport.Utilities.ToCpuPlatform() fails to parse the string and throw an error.

Set the DllExportPlatform to x86 in the case where Platform is set to Win32(e.g. in projects generated by cmake). Bumped version to 1.0.5