-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rich information on Bootstrap initalization failure (#2316)
* On error in MddBootstrapIntialize log to EventLog and optionally DebugBreak, FailFast and/or prompt to install * Added ShowUI to C++ auto-initializer. * Remove hardcoded language tag in URL Co-authored-by: Rafael Rivera <[email protected]> * Incorporated feedback * Update C++ AutoInitializer to use MddBootstrapInitialize2 with options override (for those who don't like the default) * Add MddBootstrapInitializeOptions_OnPackageIdentity_NOP with tests * Moar tests. Fixed NOP/NOOP typo. Added C# support for InitializeOptions and use MddBootstrapInitialize2 * Let's try that. C# AutoInitializer options override * Added build option to control auto-initializer (WindowsAppSDKBootstrapAutoInitialize=false, default=true). Added boolean control over the new options e.g. <WindowsAppSDKBootstrapAutoInitializeOptions_OnNoMatch_ShowUI>true</> * Minnor reformatting and cleanup * Changed to use TryInitialize and Exit (instead of throwing Initialize and FailFast) for less misleading error symptoms * Incorporated feedbacck * Incorproated feedback. Removed some stale comments * Removed unnecessary extra checks for WindowsAppSDKBootstrapInitialize * Renamed Microsoft.WindowsAppSDK.MddCommon.targets to Microsoft.WindowsAppSDK.BootstrapCommon.targets. Mdd==DynamicDependencies, which is a generic facility for any packcage. Bootstrap==specialization of DynamicDependencies, uniquely for WindowsAppSDK's runtime * Updated reference to MddCommon Co-authored-by: Rafael Rivera <[email protected]>
- Loading branch information
1 parent
03a53a2
commit 003df95
Showing
14 changed files
with
589 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 13 additions & 3 deletions
16
build/NuSpecs/Microsoft.WindowsAppSDK.Bootstrap.CS.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 12 additions & 6 deletions
18
build/NuSpecs/WindowsAppSDK-Nuget-Native.Bootstrap.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.