Skip to content

Generated code WinRT.IActivationFactoryMethods missing global #1496

Closed

Description

Describe the bug
Generated code WinRT.IActivationFactoryMethods missing global::, which course error CS0234: 命名空间“FullTrustUWP.WinRT”中不存在类型或命名空间名“IActivationFactoryMethods”(是否缺少程序集引用?).

image

To Reproduce

  1. Create a winrt class which namespace ending with .WinRT
  2. Reference it by a C#/WinRT project

Expected behavior
Generate global::WinRT.IActivationFactoryMethods.

Version Info
cswinrt.exe 2.0.6.240201.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions