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
[Static Web Assets] Reworks the protocol for getting referenced assets and brings back backwards compatibility (#19482)
* Brings back compatibility with earlier target framework versions.
* Avoids reading dependent projects static web asset manifests multiple times.
* Allow dependent projects to define how the referencing project should call into them to get the list of static web asset items.
* Fixes issue with the manifest being generated when there are no static web assets.
* Fixes issues with templatized baselines.
* Fixes an issue where static web assets will fail when the path for the manifest is not available.
<_BuildAssetsForManifestInclude="@(StaticWebAsset)"Condition="'%(AssetTraitName)' != 'BlazorServiceWorker' and '%(AssetRole)' != 'Alternative' and '%(AssetKind)' != 'Publish' and Exists('%(Identity)')" />
115
-
<_BuildAssetsForManifestInclude="@(StaticWebAsset->'%(OriginalItemSpec)')"Condition="'%(AssetTraitName)' != 'BlazorServiceWorker' and '%(AssetRole)' != 'Alternative' and '%(AssetKind)' != 'Publish' and !Exists('%(Identity)')" />
114
+
<_BuildAssetsForManifestCandidateInclude="@(StaticWebAsset)"Condition="'%(StaticWebAsset.AssetTraitName)' != 'BlazorServiceWorker' and '%(AssetRole)' != 'Alternative' and Exists('%(Identity)')" />
115
+
<_BuildAssetsForManifestCandidateInclude="@(StaticWebAsset->'%(OriginalItemSpec)')"Condition="'%(StaticWebAsset.AssetTraitName)' != 'BlazorServiceWorker' and '%(AssetRole)' != 'Alternative' and !Exists('%(Identity)')" />
0 commit comments