Skip to content

Commit b381dc2

Browse files
Remove project reference. Want to model this as a package dependency only, not a compile-time dependency in sources.
1 parent 6853b88 commit b381dc2

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

eng/ProjectReferences.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<Project>
77
<ItemGroup>
88
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Components.WebAssembly.Build" ProjectPath="$(RepoRoot)src\Components\WebAssembly\Build\src\Microsoft.AspNetCore.Components.WebAssembly.Build.csproj" />
9-
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Components.WebAssembly.DebugProxy" ProjectPath="$(RepoRoot)src\Components\WebAssembly\DebugProxy\src\Microsoft.AspNetCore.Components.WebAssembly.DebugProxy.csproj" />
109
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Blazor.HttpClient" ProjectPath="$(RepoRoot)src\Components\WebAssembly\Http\src\Microsoft.AspNetCore.Blazor.HttpClient.csproj" />
1110
<ProjectReferenceProvider Include="WebAssembly.JSInterop" ProjectPath="$(RepoRoot)src\Components\WebAssembly\JSInterop\src\WebAssembly.JSInterop.csproj" />
1211
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Components.WebAssembly.Server" ProjectPath="$(RepoRoot)src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.WebAssembly.Server.csproj" />

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
@@ -7,6 +7,8 @@
77
<IsShippingPackage>true</IsShippingPackage>
88
<HasReferenceAssembly>false</HasReferenceAssembly>
99
<Description>Debug proxy for use when building Blazor applications.</Description>
10+
<!-- Set this to false because assemblies should not reference this assembly directly, (except for tests, of course). -->
11+
<IsProjectReferenceProvider>false</IsProjectReferenceProvider>
1012

1113
<!-- This is so that we add the FrameworkReference to Microsoft.AspNetCore.App -->
1214
<UseLatestAspNetCoreReference>true</UseLatestAspNetCoreReference>

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
@@ -13,8 +13,4 @@
1313
<Compile Include="$(ComponentsSharedSourceRoot)\src\CacheHeaderSettings.cs" Link="Shared\CacheHeaderSettings.cs" />
1414
</ItemGroup>
1515

16-
<ItemGroup>
17-
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly.DebugProxy" />
18-
</ItemGroup>
19-
2016
</Project>

0 commit comments

Comments
 (0)