Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aea45f7

Browse files
[main] Update dependencies from dotnet/installer (#94294)
* Update dependencies from https://github.com/dotnet/installer build 20231102.2 Microsoft.Dotnet.Sdk.Internal From Version 9.0.100-alpha.1.23531.20 -> To Version 9.0.100-alpha.1.23552.2 * [wasm] WBT: Update to track blazor moving to net9.0 * [wasm] WBT: Update blazor based test projects to net9.0 --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Ankit Jain <[email protected]>
1 parent 2c1e3b3 commit aea45f7

File tree

7 files changed

+10
-14
lines changed

7 files changed

+10
-14
lines changed

eng/Version.Details.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,9 @@
397397
<Uri>https://github.com/NuGet/NuGet.Client</Uri>
398398
<Sha>8fef55f5a55a3b4f2c96cd1a9b5ddc51d4b927f8</Sha>
399399
</Dependency>
400-
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="9.0.100-alpha.1.23531.20">
400+
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="9.0.100-alpha.1.23552.2">
401401
<Uri>https://github.com/dotnet/installer</Uri>
402-
<Sha>1cd40851378c6e4d82bcc911411d8b1fc9824365</Sha>
402+
<Sha>f461e05831c15ba5f844a35b9507271bd68c6716</Sha>
403403
</Dependency>
404404
</ToolsetDependencies>
405405
</Dependencies>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
<MicrosoftExtensionsLoggingVersion>3.1.7</MicrosoftExtensionsLoggingVersion>
249249
<MicrosoftSymbolStoreVersion>1.0.406601</MicrosoftSymbolStoreVersion>
250250
<!-- installer version, for testing workloads -->
251-
<MicrosoftDotnetSdkInternalVersion>9.0.100-alpha.1.23531.20</MicrosoftDotnetSdkInternalVersion>
251+
<MicrosoftDotnetSdkInternalVersion>9.0.100-alpha.1.23552.2</MicrosoftDotnetSdkInternalVersion>
252252
<SdkVersionForWorkloadTesting>$(MicrosoftDotnetSdkInternalVersion)</SdkVersionForWorkloadTesting>
253253
</PropertyGroup>
254254
</Project>

src/mono/wasm/Wasm.Build.Tests/Blazor/MiscTests3.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static class MyDllImports
6363
public static extern int cpp_add(int a, int b);
6464
}}";
6565

66-
File.WriteAllText(Path.Combine(_projectDir!, "Components", "Pages", "MyDllImport.cs"), myDllImportCs);
66+
File.WriteAllText(Path.Combine(_projectDir!, "Pages", "MyDllImport.cs"), myDllImportCs);
6767

6868
AddItemsPropertiesToProject(projectFile, extraItems: @"<NativeFileReference Include=""mylib.cpp"" />");
6969
BlazorAddRazorButton("cpp_add", """
@@ -144,7 +144,7 @@ public void BugRegression_60479_WithRazorClassLib()
144144
Assert.Contains(razorClassLibraryFileName, lazyVal.EnumerateObject().Select(jp => jp.Name));
145145
}
146146

147-
private void BlazorAddRazorButton(string buttonText, string customCode, string methodName = "test", string razorPage = "Components/Pages/Counter.razor")
147+
private void BlazorAddRazorButton(string buttonText, string customCode, string methodName = "test", string razorPage = "Pages/Counter.razor")
148148
{
149149
string additionalCode = $$"""
150150
<p role="{{methodName}}">Output: @outputText</p>

src/mono/wasm/Wasm.Build.Tests/Blazor/WorkloadRequiredTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public async Task WorkloadNotRequiredForInvariantGlobalization(string config, bo
8484
if (invariant)
8585
AddItemsPropertiesToProject(projectFile, extraProperties: "<InvariantGlobalization>true</InvariantGlobalization>");
8686

87-
string counterPath = Path.Combine(Path.GetDirectoryName(projectFile)!, "Components", "Pages", "Counter.razor");
87+
string counterPath = Path.Combine(Path.GetDirectoryName(projectFile)!, "Pages", "Counter.razor");
8888
string allText = File.ReadAllText(counterPath);
8989
string ccText = "currentCount++;";
9090
if (allText.IndexOf(ccText) < 0)

src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Wasm.Build.Tests
2626
public abstract class BuildTestBase : IClassFixture<SharedBuildPerTestClassFixture>, IDisposable
2727
{
2828
public const string DefaultTargetFramework = "net9.0";
29-
public const string DefaultTargetFrameworkForBlazor = "net8.0";
29+
public const string DefaultTargetFrameworkForBlazor = "net9.0";
3030
public const string TargetFrameworkForTasks = "net8.0";
3131
private const string DefaultEnvironmentLocale = "en-US";
3232
protected static readonly char s_unicodeChar = '\u7149';

src/mono/wasm/Wasm.Build.Tests/Wasm.Build.Tests.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,8 @@
106106
<ItemGroup>
107107
<_RuntimePackVersions Include="$(PackageVersion)" EnvVarName="RUNTIME_PACK_VER9" />
108108

109-
<!-- Blazor projects are still targeting net8.0, but the runtime packs are replaced with
110-
the locally built ones. So, set the version to the locally built one for the tests -->
111-
<_RuntimePackVersions Include="$(PackageVersion)" EnvVarName="RUNTIME_PACK_VER8" />
112-
113-
<!--<_RuntimePackVersions Include="$(PackageVersionNet8)" EnvVarName="RUNTIME_PACK_VER8" Condition="'$(PackageVersionNet8)' != ''" />-->
114-
<!--<_RuntimePackVersions Include="$(PackageVersion)" EnvVarName="RUNTIME_PACK_VER8" Condition="'$(PackageVersionNet8)' == ''" />-->
109+
<_RuntimePackVersions Include="$(PackageVersionNet8)" EnvVarName="RUNTIME_PACK_VER8" Condition="'$(PackageVersionNet8)' != ''" />
110+
<_RuntimePackVersions Include="$(PackageVersion)" EnvVarName="RUNTIME_PACK_VER8" Condition="'$(PackageVersionNet8)' == ''" />
115111
<_RuntimePackVersions Include="$(PackageVersionNet7)" EnvVarName="RUNTIME_PACK_VER7" Condition="'$(PackageVersionNet7)' != ''" />
116112
<_RuntimePackVersions Include="$(PackageVersion)" EnvVarName="RUNTIME_PACK_VER7" Condition="'$(PackageVersionNet7)' == ''" />
117113
<_RuntimePackVersions Include="$(PackageVersionNet6)" EnvVarName="RUNTIME_PACK_VER6" />

src/mono/wasm/testassets/WasmBasicTestApp/WasmBasicTestApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.WebAssembly">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
44
<RuntimeIdentifier>browser-wasm</RuntimeIdentifier>
55
<OutputType>Exe</OutputType>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

0 commit comments

Comments
 (0)