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

Not an issue, but a shot in the dark. #1

Open
Noemata opened this issue Mar 6, 2020 · 1 comment
Open

Not an issue, but a shot in the dark. #1

Noemata opened this issue Mar 6, 2020 · 1 comment

Comments

@Noemata
Copy link

Noemata commented Mar 6, 2020

I was wondering if you could share some of the bits from your XAML Studio project. I'm curious about how you resolve namespaces from the loose XAML you load and whether it might be possible to load DLL's dynamically to add to the namespaces that could be resolved?

A simple example would be very helpful.

If you'd like to continue this conversation privately, I'm open to sorting out an exchange of emails through linkedin or other less open area.

@michael-hawker
Copy link
Owner

Hey @Noemata, I'm hoping I can eventually open source XAML Studio, but I don't have a timeline for that at the moment. Resolving namespaces was just done using some reflection based on the loaded assemblies, similar to what we do in the toolkit sample app here, and the manual list of namespace helpers provided in the settings panel, nothing too magical. I just looked for the items in order to add them into the XML before I passed it to XamlReader.

Unfortunately with UWP, all the assemblies have to be baked into the package as extensions don't work the same way. Maybe with WinUI3 and the desktop app model, this could be improved in the future?

Hope that helps for now?

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

2 participants