Skip to content

Commit 6a6e6a5

Browse files
Update client assets script
1 parent e58f64e commit 6a6e6a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Umbraco.Commerce.Checkout/build/Microsoft.AspNetCore.ClientAssets.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<FileWrites Include="@(_ClientAssetsBuildOutput)" />
5959
<FileWrites Include="$(IntermediateOutputPath)clientassetsbuild.complete.txt" />
6060

61-
<Content Condition="'$(TargetFramework)' != 'net7.0'" Include="@(_ClientAssetsBuildOutput)" Link="wwwroot\%(_ClientAssetsBuildOutput.RecursiveDir)\%(_ClientAssetsBuildOutput.FileName)%(_ClientAssetsBuildOutput.Extension)" />
61+
<Content Condition="'$(TargetFramework)' != 'net6.0'" Include="@(_ClientAssetsBuildOutput)" Link="wwwroot\%(_ClientAssetsBuildOutput.RecursiveDir)\%(_ClientAssetsBuildOutput.FileName)%(_ClientAssetsBuildOutput.Extension)" />
6262
</ItemGroup>
6363

6464
<!--
@@ -67,7 +67,7 @@
6767
the ability to consume them from project references. As a workaround, we are using the Task directly on this package, to make sure this scenario works. In a future
6868
release we will address this by aligning DiscoverStaticWebAssets behavior with DefineStaticWebAssets to follow the same heuristics for determining the content root.
6969
-->
70-
<DefineStaticWebAssets Condition="'$(TargetFramework)' == 'net7.0'" CandidateAssets="@(_ClientAssetsBuildOutput)" SourceId="$(PackageId)" SourceType="Computed" ContentRoot="$(_ClientAssetsOutputFullPath)" BasePath="$(StaticWebAssetBasePath)">
70+
<DefineStaticWebAssets Condition="'$(TargetFramework)' == 'net6.0'" CandidateAssets="@(_ClientAssetsBuildOutput)" SourceId="$(PackageId)" SourceType="Computed" ContentRoot="$(_ClientAssetsOutputFullPath)" BasePath="$(StaticWebAssetBasePath)">
7171
<Output TaskParameter="Assets" ItemName="StaticWebAsset" />
7272
</DefineStaticWebAssets>
7373
</Target>

0 commit comments

Comments
 (0)