You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some components support only one of uwp or wasdk, plus a non-winui target like netstandard, such as uwp,netstandard or wasdk,netstandard. This creates a race condition:
Building wasdk first can produce a package with netstandard but without uwp.
Building uwp first can produce a package with netstandard but without wasdk.
Solution
This could be patched by deciding to build either UWP or WinUI first instead of doing it simultaneously, but there's a few reasons we don't. To understand why, consider:
A component supporting uwp,netstandard could be fixed by not allowing wasdk to build first.
A component supporting wasdk,netstandard could be fixed by not allowing uwp to build first.
Both cannot be done, meaning we must fix the issues with concurrent builds directly.
When building WinUI 2 or 3, we need to skip unsupported components.
Skip building any component that have no WinUI-compatible targets (e.g. only netstandard).
Skip building uwp,netstandard components if packaging for wasdk.
Don't skip building wasdk,netstandard components if packaging for wasdk.
Skip building wasdk,netstandard components if packaging for uwp.
Don't skip building uwp,netstandard components if packaging for uwp.
The text was updated successfully, but these errors were encountered:
Background
See #250
Problem
Some components support only one of
uwp
orwasdk
, plus a non-winui target likenetstandard
, such asuwp,netstandard
orwasdk,netstandard
. This creates a race condition:wasdk
first can produce a package withnetstandard
but withoutuwp
.uwp
first can produce a package withnetstandard
but withoutwasdk
.Solution
This could be patched by deciding to build either UWP or WinUI first instead of doing it simultaneously, but there's a few reasons we don't. To understand why, consider:
uwp,netstandard
could be fixed by not allowingwasdk
to build first.wasdk,netstandard
could be fixed by not allowinguwp
to build first.Both cannot be done, meaning we must fix the issues with concurrent builds directly.
When building WinUI 2 or 3, we need to skip unsupported components.
netstandard
).uwp,netstandard
components if packaging forwasdk
.wasdk,netstandard
components if packaging forwasdk
.wasdk,netstandard
components if packaging foruwp
.uwp,netstandard
components if packaging foruwp
.The text was updated successfully, but these errors were encountered: