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

Proposal: Add Optional Code Package visual studio project template for WinUI 3 #2638

Open
harvinders opened this issue Jun 10, 2020 · 7 comments
Labels
area-Tooling feature proposal New feature proposal team-Markup Issue for the Markup team

Comments

@harvinders
Copy link

harvinders commented Jun 10, 2020

Proposal: Add Optional Code Package visual studio project template for WinUI 3

Summary

We currently have a way to create optional package for UWP applications, we need feature parity so as to create and package plugins easily.

Rationale

  • Allows us to create plugins and package them for main application

Scope

Capability Priority
Project template for optional package Must
Automatically link it with the main application Could

Important Notes

Open Questions

At this time a workaround would also be helpful.

@harvinders harvinders added the feature proposal New feature proposal label Jun 10, 2020
@msft-github-bot msft-github-bot added the needs-triage Issue needs to be triaged by the area owners label Jun 10, 2020
@StephenLPeters StephenLPeters added team-Markup Issue for the Markup team area-Tooling labels Jun 10, 2020
@StephenLPeters
Copy link
Contributor

@fabiant3 and @marb2000 FYI

@marb2000 marb2000 self-assigned this Jul 13, 2020
@marb2000 marb2000 removed the needs-triage Issue needs to be triaged by the area owners label Jul 13, 2020
@marb2000
Copy link
Contributor

@harvinders This is sounds like a project reunion proposal rather than WinUI

@harvinders
Copy link
Author

@marb2000 I thought it goes with the tooling for WinUI 3. When we install the vsix for WinUI 3 we get all the project templates (Blank App, Class library) and optional package project template is just one more template to be packaged within the vsix.

@MDendura
Copy link

This would be really useful for me too, so I thought I'd tack my comment on the end of this issue as the project template docs point in this direction, rather than to the repo for Project Reunion.

I'd like to be able to have a Project Reunion host app that loads plugin assemblies from installed Optional Packages. The current Optional Package template for Visual Studio is tied to .NET Framework and UWP, and there seems to be no way to build an MSIX Optional Package for .NET 5.

@harvinders
Copy link
Author

@marb2000 Any update on this?

@annmanvel
Copy link

annmanvel commented Feb 14, 2022

WinUI3 XAML control library need to be loaded dynamically from external path; So, is there any option to load this into a WinUI 3 application? microsoft/WindowsAppSDK#2073

@harvinders
Copy link
Author

harvinders commented Feb 14, 2022

@annmanvel the only possible way is to change few things as mentioned in #6299. This is just a work around and don't work if you use third-party controls or define string resources in the plug-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Tooling feature proposal New feature proposal team-Markup Issue for the Markup team
Projects
None yet
Development

No branches or pull requests

6 participants