Skip to content

Commit a36a4e9

Browse files
author
Mirroring
committed
Merge commit 'a2c24f946dca29fe70ad4f720f83f3bb75001b6f'
2 parents e309e5c + a2c24f9 commit a36a4e9

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@
3737

3838
<Target Name="_CreateRuntimeConfig" BeforeTargets="CoreBuild">
3939
<PropertyGroup>
40-
<_RuntimeConfigProperties>
41-
SharedFxVersion=$(SharedFxVersion);
40+
<_RuntimeConfigProperties Condition="'$(IsServicingBuild)' == 'true'">
41+
FrameworkVersion=$(AspNetCoreMajorMinorVersion).0;
42+
</_RuntimeConfigProperties>
43+
<_RuntimeConfigProperties Condition="'$(IsServicingBuild)' != 'true'">
44+
FrameworkVersion=$(SharedFxVersion);
4245
</_RuntimeConfigProperties>
4346

4447
<_RuntimeConfigPath>$(OutputPath)blazor-devserver.runtimeconfig.json</_RuntimeConfigPath>

src/Components/WebAssembly/DevServer/src/blazor-devserver.runtimeconfig.json.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"tfm": "net8.0",
44
"framework": {
55
"name": "Microsoft.AspNetCore.App",
6-
"version": "${SharedFxVersion}"
6+
"version": "${FrameworkVersion}"
77
},
88
"rollForwardOnNoCandidateFx": 2
99
}

src/Components/WebView/test/E2ETest/WebViewManagerE2ETests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public class WebViewManagerE2ETests(ITestOutputHelper output)
1919
[ConditionalFact]
2020
[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX,
2121
SkipReason = "On Helix/Ubuntu the native Photino assemblies can't be found, and on macOS it can't detect when the WebView is ready")]
22+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/50802")]
2223
public async Task CanLaunchPhotinoWebViewAndClickButton()
2324
{
2425
var photinoTestProgramExePath = typeof(WebViewManagerE2ETests).Assembly.Location;

src/Components/test/E2ETest/Microsoft.AspNetCore.Components.E2ETests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<ProjectReference
9090
Include="..\testassets\Components.TestServer\Components.TestServer.csproj"
9191
Targets="Build;Publish"
92-
Properties="BuildProjectReferences=false;TestTrimmedOrMultithreadingApps=true;PublishDir=$(MSBuildThisFileDirectory)$(OutputPath)trimmed-or-threading\Components.TestServer\;" />
92+
Properties="BuildProjectReferences=false;TestTrimmedOrMultithreadingApps=true;PublishDir=$(MSBuildThisFileDirectory)$(OutputPath)trimmed\Components.TestServer\;" />
9393
</ItemGroup>
9494

9595
<!-- Shared testing infrastructure for running E2E tests using selenium -->

src/Components/test/E2ETest/Tests/RemoteAuthenticationTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class RemoteAuthenticationTest :
2121
{
2222
public readonly bool TestTrimmedApps = typeof(ToggleExecutionModeServerFixture<>).Assembly
2323
.GetCustomAttributes<AssemblyMetadataAttribute>()
24-
.First(m => m.Key == "Microsoft.AspNetCore.E2ETesting.TestTrimmedOrMultithreadingApps")
24+
.First(m => m.Key == "Microsoft.AspNetCore.E2ETesting.TestTrimmedApps")
2525
.Value == "true";
2626

2727
public RemoteAuthenticationTest(
@@ -67,7 +67,7 @@ private static IHost BuildPublishedWebHost(string[] args) =>
6767

6868
private static string GetPublishedContentRoot(Assembly assembly)
6969
{
70-
var contentRoot = Path.Combine(AppContext.BaseDirectory, "trimmed-or-threading", assembly.GetName().Name);
70+
var contentRoot = Path.Combine(AppContext.BaseDirectory, "trimmed", assembly.GetName().Name);
7171

7272
if (!Directory.Exists(contentRoot))
7373
{

src/Components/test/E2ETest/Tests/WebAssemblyPrerenderedTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private void WaitUntilLoaded()
5656

5757
private static string GetPublishedContentRoot(Assembly assembly)
5858
{
59-
var contentRoot = Path.Combine(AppContext.BaseDirectory, "trimmed-or-threading", assembly.GetName().Name);
59+
var contentRoot = Path.Combine(AppContext.BaseDirectory, "trimmed", assembly.GetName().Name);
6060

6161
if (!Directory.Exists(contentRoot))
6262
{

0 commit comments

Comments
 (0)