-
Notifications
You must be signed in to change notification settings - Fork 678
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
The request is not supported.
during Bootstrap in Addin-Environment
#9235
Comments
@AchimStuy for add-in scenarios like this, you might be able to ignore this condition (treat it as expected) by using the MddBootstrapInitializeOptions_OnPackageIdentity_NOOP policy. For C#, see the MICROSOFT_WINDOWSAPPSDK_BOOTSTRAP_AUTO_INITIALIZE_OPTIONS_ONPACKAGEIDENTITY_NOOP compile define used here. |
@Scottj1s, thank you for your reply. Now I get TypeInitializationException in WinRT.ActivationFactory:
|
Hi @AchimStuy, We are on the same boat, although I am trying to use WinUI 3 for Autodesk Inventor AddIns. Lets team up to make WinUI 3 possible for plugin type applications! I'll share what I know so far. First of all, you didn't explicitly define the projects I came to the conclusion
@Scottj1s, what are your thoughts regarding our use case? |
Hi @myth384, thank you for joining! Inventor is next on my agenda. Firstly: What were the keywords you were searching? Should I edit the Issue title in order for more people to join the discussion? I had an error in reasoning and completely skipped bootstrapping. Manual bootstrapping works now, automatic bootstrapping not yet. And I need to compile
In my implementation I mainly looked at WindowsXamlHostBase, which also creates an App instance via Maybe also @KeanW @adamenagy or @cyrillef have an idea? (Unfortunately they're not automatically linked here.) |
Hi @AchimStuy , I stumbled upon this issue while searching for "AutoCAD". Whenever I seek information regarding the implementation of plug-in type applications, I typically search for names of well-known host applications with plug-in systems, such as various Autodesk and Office products. In my experience, I'm never the first to encounter obstacles. ;-) I also came across WindowsXamlHost, which is part of the Community Toolkit. This class acts as a XAML control to easily host UWP user controls inside WPF or WinForms windows. It was introduced as a convenience wrapper for the UWP XAML Islands feature DesktopWindowXamlSource. And here's where I have to disappoint you... Both classes are for hosting UWP controls, not WinUI 3. What I actually think Microsoft should consider is making WinUI 3 easily usable for plug-in type applications, where multiple specialized |
Hi @AchimStuy , I've just created a feature request in which I've aimed to define the scope of the use case as broadly as possible. |
Describe the bug
With the transition of AutoCAD 2025 to .NET 6 I want to make use of WinUI. Automatic bootstrapping of Windows App SDK fails silently. Manual bootstrapping throws a
COMException (0x80070032): The request is not supported.
Not sure, whether it's AutoCAD being still in Alpha or me doing something wrong or Windows App SDK with the bug. How to diagnose further?
Steps to reproduce the bug
NETLOAD
in AutoCADExpected behavior
Bootstrap without exception or provide further diagnostics on why the request is not supported.
Screenshots
No response
NuGet package version
Windows App SDK 1.4.3: 1.4.231115000
Packaging type
Unpackaged
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: