-
Notifications
You must be signed in to change notification settings - Fork 343
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
What is Microsoft.Windows.SDK.BuildTools.MSIX? #5060
Comments
As of December 2024, it appears this NuGet is completely untested outside of WinUI 3 / WinAppSDK. We use the functionality that is going away in our non-WinAppSdk/non-WinUI 3 app today--are we doomed or? |
I can add context for this. This package contains all the single-project MSIX tooling that WindowsAppSDK includes (MSIX packaging, MRT Core stuff, etc.). We decoupled all of that for two main reasons: make it easier to service and decoupled from WindowsAppSDK, and also so that UWP .NET 9 projects could also leverage it easily (UWP .NET 9 has a dependency on this package). All the new improvements for the single-project MSIX tooling are going into this package (eg. MSIX bundle support, improved .winmd harvesting for .NET projects, more .appxmanifest rewriting options, etc.). We do plan to eventually switch WindowsAppSDK to having a package dependency on this, we just haven't had a chance to do that yet, but it's definitely planned 🙂 We don't have a centralized place for docs on this package, though that's not a bad idea. There's a bunch of properties and configuration options we're adding that right now aren't documented anywhere, which isn't really great. For instance, we added support for the |
Thanks @Sergio0694 that helps. I'm still very confused and concerned about Snigdha's comments, where she says:
That seems like a very aggressive timeline for transition to a NuGet that has zero documentation and no clear migration plan for existing Windows Application Packaging Project developers. Happy to jump on a call or walk across the street (I live by Microsoft One Esterra) to chat further. |
She'd need to confirm (is she on GitHub?), but I imagine what she meant is that we'll add support for MSIX bundles in February only to this NuGet package, as in, as opposed to being available through WindowsAppSDK. Actually I'm pretty sure the latest version (1.2.20250107.1) already has support for MSIX bundles (it's .msixupload bundles that are missing for now). We do plan on releasing a new version of this package in February (there's also other improvements I've been working on that I'd like to make publicly available), but like she said, this is only going to be available through the NuGet package, not in WindowsAppSDK. I'm not entirely sure you can explicitly reference this package while using WindowsAppSDK 1.7 or lower. Because a lot of the same logic would be duplicated in .props/.targets that are embedded in WindowsAppSDK, I'd expect that to not work at all. The switch to this package in WindowsAppSDK should be in 1.8 (ideally it should be there starting with 1.8-experimental1). |
Ping @snigdha011997 |
I spoke to @Sergio0694 some more and he
|
Hi @riverar Also, regarding your concern, there are no plans to deprecate WAP. I see @Sergio0694 has already responded to remaining queries. Let me know if you need further clarification! |
Hi |
This comment has been minimized.
This comment has been minimized.
No need to file an issue, that's by design. I added that new task in the MSIX nuget package, but if you add that when also referencing WinAppSDK, VS will load the build task .dll from WinAppSDK instead, which doesn't have the new task. This is expected: like we said, WinAppSDK is not compatible with the MSIX nuget package yet. We plan on doing that work in WinAppSDK 1.8 🙂 |
OK Thanks for the clarification. |
Snigdha noted on the WinUI call that this NuGet Package will be the only way to perform MSIX packaging in the near future. This is the first time I've heard of this NuGet package and am requesting more information.
Be aware, the license for this NuGet is incomplete/contains errors, such as, but not limited to:
The text was updated successfully, but these errors were encountered: