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

Move to AssemblyLoadContext #1

Open
rabbitism opened this issue Jan 11, 2023 · 0 comments
Open

Move to AssemblyLoadContext #1

rabbitism opened this issue Jan 11, 2023 · 0 comments

Comments

@rabbitism
Copy link
Member

Currently there are issues loading Avalonia.Controls assembly with a different version from the version I'm using in this visualizer. It is necessary to utilize AssemblyLoadContext.

Changes include:

  1. A collectible AssemblyLoadContext in MainWindowViewmodel
  2. Report errors when a certain dependency is not available. This requires Semi.Avalonia to implement Notification first.
  3. No longer refresh Assemblies upon dragging in, instead it will append the assembly. Provide feasibility to refresh and clear assemblies.
  4. Pass a context around AssemblyViewModel and TypeViewModel. It is important to get the PropertyInfo of PseudoClassesAttribute first, as casting to this type is not a valid operation due to version conflict. It must be cast to the particular verison in this context.
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

No branches or pull requests

1 participant