WinFormsComInterop icon indicating copy to clipboard operation
WinFormsComInterop copied to clipboard

Winforms samples dont compile, dozens of errors

Open zanek opened this issue 1 year ago • 1 comments

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

zanek avatar Dec 27 '23 06:12 zanek

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

kant2002 avatar Dec 27 '23 07:12 kant2002