Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve WPF example #163

Merged
merged 2 commits into from
Oct 24, 2023
Merged

Improve WPF example #163

merged 2 commits into from
Oct 24, 2023

Conversation

jasongin
Copy link
Member

  • Fix some issues in the TS generator (particularly in SymbolExtensions) that prevented generating type definitions for WPF assemblies. WPF has particularly complex type graphs and use of generics that uncovered some tricky edge cases.
  • Allow the dotnet.load() API to load native libraries in addition to .NET assemblies. This enables explicitly loading native libraries when automatic resolution fails.
  • Enrich the WPF example to include a custom Window subclass with a WebView2 control.
    • For now it needs to explicitly load some dependencies. I'll try to make that simpler / more automatic in the future.

@jasongin jasongin requested a review from vmoroz October 23, 2023 20:00
@jasongin jasongin merged commit 755f3f3 into main Oct 24, 2023
@jasongin jasongin deleted the dev/jasongin/wpf2 branch April 23, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants