Skip to content

Commit 1dfbe75

Browse files
authored
Rename Blazor.Mono -> Components.WebAssembly.Runtime (#19124)
* Rename Blazor.Mono -> Components.WebAssembly.Runtime
2 parents 38f3267 + 52c4598 commit 1dfbe75

9 files changed

+17
-35
lines changed

eng/Dependencies.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ and are generated based on the last package release.
118118
<LatestPackageReference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.2.1" Version="$(MicrosoftAspNetCoreAzureAppServicesSiteExtension21PackageVersion)" />
119119
<LatestPackageReference Include="Microsoft.AspNetCore.AzureAppServices.SiteExtension.2.2" Version="$(MicrosoftAspNetCoreAzureAppServicesSiteExtension22PackageVersion)" />
120120
<LatestPackageReference Include="Microsoft.AspNetCore.BenchmarkRunner.Sources" Version="$(MicrosoftAspNetCoreBenchmarkRunnerSourcesPackageVersion)" />
121-
<LatestPackageReference Include="Microsoft.AspNetCore.Blazor.Mono" Version="$(MicrosoftAspNetCoreBlazorMonoPackageVersion)" />
121+
<LatestPackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Runtime" Version="$(MicrosoftAspNetCoreComponentsWebAssemblyRuntimePackageVersion)" />
122122
<LatestPackageReference Include="Microsoft.AspNetCore.Testing" Version="$(MicrosoftAspNetCoreTestingPackageVersion)" />
123123
<LatestPackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="$(MicrosoftEntityFrameworkCoreInMemoryPackageVersion)" />
124124
<LatestPackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="$(MicrosoftEntityFrameworkCoreRelationalPackageVersion)" />

eng/Version.Details.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
-->
1010
<Dependencies>
1111
<ProductDependencies>
12-
<Dependency Name="Microsoft.AspNetCore.Blazor.Mono" Version="3.2.0-preview1.20113.1">
12+
<Dependency Name="Microsoft.AspNetCore.Components.WebAssembly.Runtime" Version="3.2.0-preview2.20118.1">
1313
<Uri>https://github.com/dotnet/blazor</Uri>
14-
<Sha>63c3aa1e27e3a34cb78e8bce381af6d24198c104</Sha>
14+
<Sha>d7c7fef6d1633f4afa10e5bdf47b164ffa6d4fd5</Sha>
1515
</Dependency>
1616
<Dependency Name="Microsoft.AspNetCore.Razor.Language" Version="3.1.2">
1717
<Uri>https://github.com/dotnet/aspnetcore-tooling</Uri>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<!-- Only listed explicitly to workaround https://github.com/dotnet/cli/issues/10528 -->
9999
<MicrosoftNETCorePlatformsPackageVersion>3.1.0</MicrosoftNETCorePlatformsPackageVersion>
100100
<!-- Packages from aspnet/Blazor -->
101-
<MicrosoftAspNetCoreBlazorMonoPackageVersion>3.2.0-preview1.20113.1</MicrosoftAspNetCoreBlazorMonoPackageVersion>
101+
<MicrosoftAspNetCoreComponentsWebAssemblyRuntimePackageVersion>3.2.0-preview2.20118.1</MicrosoftAspNetCoreComponentsWebAssemblyRuntimePackageVersion>
102102
<!-- Packages from aspnet/Extensions -->
103103
<InternalAspNetCoreAnalyzersPackageVersion>3.1.2-servicing.20067.6</InternalAspNetCoreAnalyzersPackageVersion>
104104
<MicrosoftAspNetCoreAnalyzerTestingPackageVersion>3.1.2-servicing.20067.6</MicrosoftAspNetCoreAnalyzerTestingPackageVersion>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
<ItemGroup>
2222
<NuspecProperty Include="configuration=$(Configuration)" />
2323
<NuspecProperty Include="taskskDir=$(OutputPath)tools" />
24-
<NuspecProperty Include="componentsversion=$(ComponentsPackageVersion)" />
25-
<NuspecProperty Include="razorversion=$(MicrosoftAspNetCoreRazorDesignPackageVersion)" />
26-
<NuspecProperty Include="blazormonoversion=$(MicrosoftAspNetCoreBlazorMonoPackageVersion)" />
24+
<NuspecProperty Include="MicrosoftAspNetCoreComponentsWebAssemblyRuntimePackageVersion=$(MicrosoftAspNetCoreComponentsWebAssemblyRuntimePackageVersion)" />
2725
</ItemGroup>
2826

2927
<ItemGroup>

src/Components/WebAssembly/Build/src/Microsoft.AspNetCore.Components.WebAssembly.Build.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
$CommonMetadataElements$
55
<dependencies>
6-
<dependency id="Microsoft.AspNetCore.Blazor.Mono" version="$blazormonoversion$" include="all" />
6+
<dependency id="Microsoft.AspNetCore.Components.WebAssembly.Runtime" version="$MicrosoftAspNetCoreComponentsWebAssemblyRuntimePackageVersion$" include="all" />
77
</dependencies>
88
</metadata>
99
<files>

src/Components/WebAssembly/Build/src/ReferenceFromSource.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20-
<Reference Include="Microsoft.AspNetCore.Blazor.Mono" />
20+
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly.Runtime" />
2121
</ItemGroup>
2222

2323
<Target Name="_BuildBlazorBuildProject" BeforeTargets="ResolveProjectReferences">

src/Components/WebAssembly/Build/src/targets/Blazor.MonoRuntime.targets

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,6 @@
33
<BlazorLinkOnBuild Condition="$(BlazorLinkOnBuild) == ''">true</BlazorLinkOnBuild>
44
</PropertyGroup>
55

6-
<PropertyGroup>
7-
<!-- Stop-gap until we can migrate Blazor.Mono package to use better naming convention -->
8-
<DotNetWebAssemblyBCLPath Condition="'$(DotNetWebAssemblyBCLPath)' == '' AND '$(MonoBaseClassLibraryPath)' != ''">$(MonoBaseClassLibraryPath)</DotNetWebAssemblyBCLPath>
9-
<DotNetWebAssemblyBCLFacadesPath Condition="'$(DotNetWebAssemblyBCLFacadesPath)' == '' AND '$(MonoBaseClassLibraryFacadesPath)' != ''">$(MonoBaseClassLibraryFacadesPath)</DotNetWebAssemblyBCLFacadesPath>
10-
<DotNetWebAssemblyRuntimePath Condition="'$(DotNetWebAssemblyRuntimePath)' == '' AND '$(MonoWasmRuntimePath)' != ''">$(MonoWasmRuntimePath)</DotNetWebAssemblyRuntimePath>
11-
<DotNetWebAssemblyFrameworkPath Condition="'$(DotNetWebAssemblyFrameworkPath)' == '' AND '$(MonoWasmFrameworkPath)' != ''">$(MonoWasmFrameworkPath)</DotNetWebAssemblyFrameworkPath>
12-
</PropertyGroup>
13-
14-
<PropertyGroup Condition="'$(DotNetWebAssemblyArtifactsRoot)' != ''">
15-
<!-- Compute paths given a path to DotNet WASM artifacts. This is meant to make it easy to test WASM builds -->
16-
<DotNetWebAssemblyBCLPath>$(DotNetWebAssemblyArtifactsRoot)\wasm-bcl\wasm\</DotNetWebAssemblyBCLPath>
17-
<DotNetWebAssemblyBCLFacadesPath>$(DotNetWebAssemblyBCLPath)\Facades\</DotNetWebAssemblyBCLFacadesPath>
18-
<DotNetWebAssemblyRuntimePath>$(DotNetWebAssemblyArtifactsRoot)\builds\debug\</DotNetWebAssemblyRuntimePath>
19-
<DotNetWebAssemblyFrameworkPath>$(DotNetWebAssemblyArtifactsRoot)\framework\</DotNetWebAssemblyFrameworkPath>
20-
</PropertyGroup>
21-
226
<Target
237
Name="PrepareBlazorOutputs"
248
DependsOnTargets="_ResolveBlazorInputs;_ResolveBlazorOutputs;_GenerateBlazorBootJson">
@@ -47,9 +31,9 @@
4731

4832
<ItemGroup>
4933
<_WebAssemblyBCLFolder Include="
50-
$(DotNetWebAssemblyBCLPath);
51-
$(DotNetWebAssemblyBCLFacadesPath);
52-
$(DotNetWebAssemblyFrameworkPath)" />
34+
$(ComponentsWebAssemblyBaseClassLibraryPath);
35+
$(ComponentsWebAssemblyBaseClassLibraryFacadesPath);
36+
$(ComponentsWebAssemblyFrameworkPath)" />
5337

5438
<_WebAssemblyBCLAssembly Include="%(_WebAssemblyBCLFolder.Identity)*.dll" />
5539
</ItemGroup>
@@ -134,7 +118,7 @@
134118
</ItemGroup>
135119

136120
<ItemGroup>
137-
<MonoWasmFile Include="$(DotNetWebAssemblyRuntimePath)*" />
121+
<MonoWasmFile Include="$(ComponentsWebAssemblyRuntimePath)*" />
138122
<BlazorJSFile Include="$(BlazorJSPath)" />
139123
<BlazorJSFile Include="$(BlazorJSMapPath)" Condition="Exists('$(BlazorJSMapPath)')" />
140124

@@ -254,7 +238,7 @@
254238
</PropertyGroup>
255239

256240
<BlazorILLink
257-
ILLinkPath="$(MonoLinkerPath)"
241+
ILLinkPath="$(ComponentsWebAssemblyLinkerPath)"
258242
AssemblyPaths="@(_BlazorAssemblyToLink)"
259243
RootAssemblyNames="@(_BlazorLinkerRoot)"
260244
RootDescriptorFiles="@(BlazorLinkerDescriptor)"

src/Components/WebAssembly/Build/test/Microsoft.AspNetCore.Components.WebAssembly.Build.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<ItemGroup>
2525
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly.Build" />
26-
<Reference Include="Microsoft.AspNetCore.Blazor.Mono" />
26+
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly.Runtime" />
2727
<Reference Include="Microsoft.Build.Framework" />
2828
<Reference Include="Microsoft.Build.Utilities.Core" />
2929
<Reference Include="Microsoft.Extensions.CommandLineUtils.Sources" />
@@ -59,9 +59,9 @@
5959
<!-- A bit of msbuild magic to support reference resolver tests -->
6060
<Target Name="CreateReferenceHintPathsList" AfterTargets="Build">
6161
<ItemGroup>
62-
<_BclDirectory Include="$(MonoBaseClassLibraryPath)" />
63-
<_BclDirectory Include="$(MonoBaseClassLibraryFacadesPath)" />
64-
<_BclDirectory Include="$(MonoWasmFrameworkPath)" />
62+
<_BclDirectory Include="$(ComponentsWebAssemblyBaseClassLibraryPath)" />
63+
<_BclDirectory Include="$(ComponentsWebAssemblyBaseClassLibraryFacadesPath)" />
64+
<_BclDirectory Include="$(ComponentsWebAssemblyFrameworkPath)" />
6565
</ItemGroup>
6666

6767
<WriteLinesToFile Lines="@(ReferencePath)" File="$(TargetDir)referenceHints.txt" WriteOnlyWhenDifferent="true" Overwrite="true" />

src/Components/WebAssembly/Build/testassets/standalone/standalone.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<ItemGroup>
1212
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.0.0" />
13-
<PackageReference Include="Microsoft.AspNetCore.Blazor.Mono" Version="$(MicrosoftAspNetCoreBlazorMonoPackageVersion)" />
13+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Runtime" Version="$(MicrosoftAspNetCoreComponentsWebAssemblyRuntimePackageVersion)" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

0 commit comments

Comments
 (0)