Skip to content

Commit 22206a4

Browse files
committed
Undo some of #24816
- allow sharedFx assemblies in Microsoft.AspNetCore.Components.WebAssembly.DevServer package - see #26448 about reducing this baggage later in 6.0
1 parent 6cb5dec commit 22206a4

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

src/Components/WebAssembly/DevServer/src/Microsoft.AspNetCore.Components.WebAssembly.DevServer.csproj

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,10 @@
1212
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
1313
<!-- Set this to false because assemblies should not reference this assembly directly, (except for tests, of course). -->
1414
<IsProjectReferenceProvider>false</IsProjectReferenceProvider>
15-
16-
<!--
17-
This project compiles against Microsoft.AspNetCore.App from the SDK.
18-
This ensures that it's packaging output is correct and does not include local artifacts.
19-
-->
20-
<UseAspNetCoreSharedRuntime>true</UseAspNetCoreSharedRuntime>
21-
<DoNotApplyWorkaroundsToMicrosoftAspNetCoreApp>true</DoNotApplyWorkaroundsToMicrosoftAspNetCoreApp>
2215
</PropertyGroup>
2316

2417
<ItemGroup>
25-
<FrameworkReference Include="Microsoft.AspNetCore.App" />
26-
27-
<ProjectReference
28-
Include="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.csproj"
29-
PrivateAssets="All"
30-
ReferenceOutputAssembly="false"
31-
SkipGetTargetFrameworkProperties="true" />
32-
18+
<Reference Include="Microsoft.AspNetCore" />
3319
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" />
3420
<Compile Include="$(SharedSourceRoot)CommandLineUtils\**\*.cs" />
3521
</ItemGroup>
@@ -46,5 +32,4 @@
4632
<NuspecProperty Include="PackageThirdPartyNoticesFile=$(PackageThirdPartyNoticesFile)" />
4733
</ItemGroup>
4834

49-
5035
</Project>

0 commit comments

Comments
 (0)