Skip to content

Commit 2cd96fe

Browse files
authored
Merge pull request #33410 from dotnet/eilon/remove-windows
Remove WinForms/WPF BlazorWebView controls
1 parent 6a929c3 commit 2cd96fe

File tree

87 files changed

+40
-3396
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+40
-3396
lines changed

AspNetCore.sln

Lines changed: 36 additions & 180 deletions
Large diffs are not rendered by default.

eng/Build.props

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@
4343
$(RepoRoot)src\SignalR\perf\benchmarkapps\**\*.csproj;
4444
" />
4545

46-
<!-- Exclude WinForms and WPF-related projects on non-Windows -->
47-
<ProjectToExclude Condition="'$(TargetOsName)' != 'win'"
48-
Include="
49-
$(RepoRoot)src\Components\WebView\Platforms\WindowsForms\**\*.csproj;
50-
$(RepoRoot)src\Components\WebView\Platforms\Wpf\**\*.csproj;
51-
$(RepoRoot)src\Components\WebView\Samples\BlazorWinFormsApp\**\*.csproj;
52-
$(RepoRoot)src\Components\WebView\Samples\BlazorWpfApp\**\*.csproj;
53-
" />
54-
5546
<!-- Skipping due to build unreliability with current SDK et cetera. -->
5647
<ProjectToExclude Include="
5748
$(RepoRoot)src/Components/test/E2ETestMigration/Microsoft.AspNetCore.Components.Migration.E2ETests.csproj" />

eng/Dependencies.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ and are generated based on the last package release.
130130
<LatestPackageReference Include="Microsoft.Owin.Security.Cookies" />
131131
<LatestPackageReference Include="Microsoft.Owin.Testing" />
132132
<LatestPackageReference Include="Microsoft.Web.Administration" />
133-
<LatestPackageReference Include="Microsoft.Web.WebView2" />
134133
<LatestPackageReference Include="Microsoft.Web.Xdt" />
135134
<LatestPackageReference Include="NETStandard.Library" />
136135
<LatestPackageReference Include="System.IdentityModel.Tokens.Jwt" />

eng/ProjectReferences.props

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,6 @@
150150
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Components.WebAssembly.Server" ProjectPath="$(RepoRoot)src\Components\WebAssembly\Server\src\Microsoft.AspNetCore.Components.WebAssembly.Server.csproj" />
151151
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" ProjectPath="$(RepoRoot)src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj" />
152152
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Components.WebAssembly" ProjectPath="$(RepoRoot)src\Components\WebAssembly\WebAssembly\src\Microsoft.AspNetCore.Components.WebAssembly.csproj" />
153-
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Components.WebView.WebView2" ProjectPath="$(RepoRoot)src\Components\WebView\Platforms\WebView2\src\Microsoft.AspNetCore.Components.WebView.WebView2.csproj" />
154-
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Components.WebView.WindowsForms" ProjectPath="$(RepoRoot)src\Components\WebView\Platforms\WindowsForms\src\Microsoft.AspNetCore.Components.WebView.WindowsForms.csproj" />
155-
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Components.WebView.Wpf" ProjectPath="$(RepoRoot)src\Components\WebView\Platforms\Wpf\src\Microsoft.AspNetCore.Components.WebView.Wpf.csproj" />
156153
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Components.WebView" ProjectPath="$(RepoRoot)src\Components\WebView\WebView\src\Microsoft.AspNetCore.Components.WebView.csproj" />
157154
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Components.Web" ProjectPath="$(RepoRoot)src\Components\Web\src\Microsoft.AspNetCore.Components.Web.csproj" />
158155
<ProjectReferenceProvider Include="Microsoft.Extensions.FileProviders.Embedded" ProjectPath="$(RepoRoot)src\FileProviders\Embedded\src\Microsoft.Extensions.FileProviders.Embedded.csproj" />

eng/Versions.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@
200200
<MicrosoftOwinSecurityCookiesVersion>3.0.1</MicrosoftOwinSecurityCookiesVersion>
201201
<MicrosoftOwinTestingVersion>3.0.1</MicrosoftOwinTestingVersion>
202202
<MicrosoftWebAdministrationVersion>11.1.0</MicrosoftWebAdministrationVersion>
203-
<MicrosoftWebWebView2Version>1.0.705.50</MicrosoftWebWebView2Version>
204203
<MicrosoftWebXdtVersion>1.4.0</MicrosoftWebXdtVersion>
205204
<SystemIdentityModelTokensJwtVersion>6.10.0</SystemIdentityModelTokensJwtVersion>
206205
<NuGetPackagingVersion>5.10.0-rc.7240</NuGetPackagingVersion>

src/Components/Components.slnf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
"src\\Components\\WebAssembly\\testassets\\Wasm.Authentication.Server\\Wasm.Authentication.Server.csproj",
3636
"src\\Components\\WebAssembly\\testassets\\Wasm.Authentication.Shared\\Wasm.Authentication.Shared.csproj",
3737
"src\\Components\\WebAssembly\\testassets\\WasmLinkerTest\\WasmLinkerTest.csproj",
38+
"src\\Components\\WebView\\WebView\\src\\Microsoft.AspNetCore.Components.WebView.csproj",
39+
"src\\Components\\WebView\\WebView\\test\\Microsoft.AspNetCore.Components.WebView.Test.csproj",
3840
"src\\Components\\Web\\src\\Microsoft.AspNetCore.Components.Web.csproj",
3941
"src\\Components\\Web\\test\\Microsoft.AspNetCore.Components.Web.Tests.csproj",
4042
"src\\Components\\benchmarkapps\\Wasm.Performance\\Driver\\Wasm.Performance.Driver.csproj",
@@ -57,10 +59,10 @@
5759
"src\\Html.Abstractions\\src\\Microsoft.AspNetCore.Html.Abstractions.csproj",
5860
"src\\Http\\Authentication.Abstractions\\src\\Microsoft.AspNetCore.Authentication.Abstractions.csproj",
5961
"src\\Http\\Authentication.Core\\src\\Microsoft.AspNetCore.Authentication.Core.csproj",
62+
"src\\Http\\Features\\src\\Microsoft.Extensions.Features.csproj",
6063
"src\\Http\\Headers\\src\\Microsoft.Net.Http.Headers.csproj",
6164
"src\\Http\\Http.Abstractions\\src\\Microsoft.AspNetCore.Http.Abstractions.csproj",
6265
"src\\Http\\Http.Extensions\\src\\Microsoft.AspNetCore.Http.Extensions.csproj",
63-
"src\\Http\\Features\\src\\Microsoft.Extensions.Features.csproj",
6466
"src\\Http\\Http.Features\\src\\Microsoft.AspNetCore.Http.Features.csproj",
6567
"src\\Http\\Http\\src\\Microsoft.AspNetCore.Http.csproj",
6668
"src\\Http\\Routing.Abstractions\\src\\Microsoft.AspNetCore.Routing.Abstractions.csproj",

src/Components/ComponentsNoDeps.slnf

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@
3737
"src\\Components\\WebAssembly\\testassets\\Wasm.Authentication.Server\\Wasm.Authentication.Server.csproj",
3838
"src\\Components\\WebAssembly\\testassets\\Wasm.Authentication.Shared\\Wasm.Authentication.Shared.csproj",
3939
"src\\Components\\WebAssembly\\testassets\\WasmLinkerTest\\WasmLinkerTest.csproj",
40-
"src\\Components\\WebView\\Platforms\\WebView2\\src\\Microsoft.AspNetCore.Components.WebView.WebView2.csproj",
41-
"src\\Components\\WebView\\Platforms\\WindowsForms\\src\\Microsoft.AspNetCore.Components.WebView.WindowsForms.csproj",
42-
"src\\Components\\WebView\\Platforms\\WindowsForms\\testassets\\WinFormsTestApp\\WinFormsTestApp.csproj",
43-
"src\\Components\\WebView\\Platforms\\Wpf\\src\\Microsoft.AspNetCore.Components.WebView.Wpf.csproj",
44-
"src\\Components\\WebView\\Platforms\\Wpf\\testassets\\WpfTestApp\\WpfTestApp.csproj",
45-
"src\\Components\\WebView\\Samples\\BlazorWinFormsApp\\BlazorWinFormsApp.csproj",
46-
"src\\Components\\WebView\\Samples\\BlazorWpfApp\\BlazorWpfApp.csproj",
47-
"src\\Components\\WebView\\Samples\\WebviewAppShared\\WebviewAppShared.csproj",
4840
"src\\Components\\WebView\\WebView\\src\\Microsoft.AspNetCore.Components.WebView.csproj",
4941
"src\\Components\\WebView\\WebView\\test\\Microsoft.AspNetCore.Components.WebView.Test.csproj",
5042
"src\\Components\\Web\\src\\Microsoft.AspNetCore.Components.Web.csproj",
@@ -61,4 +53,4 @@
6153
"src\\Components\\test\\testassets\\TestServer\\Components.TestServer.csproj"
6254
]
6355
}
64-
}
56+
}

src/Components/WebView/Platforms/WebView2/src/CoreWebView2WebResourceContextWrapper.cs

Lines changed: 0 additions & 83 deletions
This file was deleted.

src/Components/WebView/Platforms/WebView2/src/ICoreWebView2AcceleratorKeyPressedEventArgsWrapper.cs

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/Components/WebView/Platforms/WebView2/src/ICoreWebView2SettingsWrapper.cs

Lines changed: 0 additions & 93 deletions
This file was deleted.

src/Components/WebView/Platforms/WebView2/src/ICoreWebView2WebResourceRequestWrapper.cs

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)