Skip to content

Commit 8c6d3e6

Browse files
committed
Change how new package is reference in repo
1 parent 7c97745 commit 8c6d3e6

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/Components/Directory.Build.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,12 @@
1818
<AddSyntheticProjectReferencesForSolutionDependencies>false</AddSyntheticProjectReferencesForSolutionDependencies>
1919
</PropertyGroup>
2020

21+
<ItemGroup>
22+
<!-- Temporary: Remove after package is provided by the SDK -->
23+
<Reference
24+
Condition="'$(UsingMicrosoftNETSdkRazor)' == 'true' AND '$(OutputType)' == 'Exe'"
25+
Include="Microsoft.AspNetCore.Assets.Pack"
26+
ReferenceOutputAssembly="false" />
27+
</ItemGroup>
28+
2129
</Project>

src/Components/test/testassets/Directory.Build.props

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
<!--<WasmEnableThreads>true</WasmEnableThreads>-->
1414
</PropertyGroup>
1515

16-
<ItemGroup>
17-
<!-- Temporary: Remove after package is provided by the SDK -->
18-
<Reference Include="Microsoft.AspNetCore.Assets.Pack" ReferenceOutputAssembly="false" />
19-
</ItemGroup>
20-
2116
<ItemGroup>
2217
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute" Condition="'$(WasmEnableThreads)' == 'true'">
2318
<_Parameter1>Microsoft.AspNetCore.InternalTesting.RunWebAssemblyE2ETestsWithMultithreading</_Parameter1>

0 commit comments

Comments
 (0)