kant2002 / WinFormsComInterop

ComWrappers required to run NativeAOT and WinForms
MIT License
217 stars 31 forks source link

Winforms samples dont compile, dozens of errors #73

Open zanek opened 9 months ago

zanek commented 9 months ago

I get dozens of errors like this below. Has this project ever compiled successfully ?

WinFormsComInterop-main\WinFormsComInterop\IAccessibleEnumWrapper.cs( 87,9): error CS0538: 'Accessibility.IAccessible' in explicit interface declaration is not an interface

WinFormsComInterop-main\WinFormsComInterop-main\WinFormsComInterop\IAccessibleEnumWrapper.cs( 95,12): error CS0538: 'Accessibility.IAccessible' in explicit interface declaration is not an interface

kant2002 commented 9 months ago

I suspect that you need to modify this file https://github.com/kant2002/WinFormsComInterop/blob/main/Directory.Build.targets To reflect locally installed SDKs