Skip to content

IDispatch interface is not generated #861

@jnm2

Description

@jnm2

Actual behavior

Generation of this interface seems to be skipped.

image

Expected behavior

Something like this:

[ComImport]
[Guid("00020400-0000-0000-C000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
private interface IDispatch
{
}

Repro steps

  1. NativeMethods.txt content:
IDispatch
  1. NativeMethods.json content (if present):
  1. Any of your own code that should be shared?
_ = typeof(IDispatch).GUID;

Context

  • CsWin32 version: 0.2.188-beta
  • Win32Metadata version (if explicitly set by project):
  • Target Framework: net7.0
  • LangVersion (if explicitly set by project): 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions