Skip to content

Commit e521205

Browse files
committed
Rename Blazor.Mono -> Components.WebAssembly.Runtime
1 parent c935e9a commit e521205

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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-preview1.20113.1">
1313
<Uri>https://github.com/dotnet/blazor</Uri>
1414
<Sha>63c3aa1e27e3a34cb78e8bce381af6d24198c104</Sha>
1515
</Dependency>

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-preview1.20113.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="MicrosoftAspNetCoreComponentsWebAssemblyRuntime=$(MicrosoftAspNetCoreComponentsWebAssemblyRuntime)" />
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="$MicrosoftAspNetCoreComponentsWebAssemblyRuntime$" 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: 6 additions & 22 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="_BlazorCopyFilesToOutputDirectory"
248
DependsOnTargets="PrepareBlazorOutputs;$(_BlazorCopyFilesToOutputDirectoryDependsOn)"
@@ -77,9 +61,9 @@
7761

7862
<ItemGroup>
7963
<_WebAssemblyBCLFolder Include="
80-
$(DotNetWebAssemblyBCLPath);
81-
$(DotNetWebAssemblyBCLFacadesPath);
82-
$(DotNetWebAssemblyFrameworkPath)" />
64+
$(ComponentsWebAssemblyBaseClassLibraryPath);
65+
$(ComponentsWebAssemblyBaseClassLibraryFacadesPath);
66+
$(ComponentsWebAssemblyFrameworkPath)" />
8367

8468
<_WebAssemblyBCLAssembly Include="%(_WebAssemblyBCLFolder.Identity)*.dll" />
8569
</ItemGroup>
@@ -131,7 +115,7 @@
131115
<BlazorRuntimeFile>true</BlazorRuntimeFile>
132116
<TargetOutputPath>$(BlazorRuntimeBinOutputPath)%(FileName)%(Extension)</TargetOutputPath>
133117
<RelativeOutputPath>%(FileName)%(Extension)</RelativeOutputPath>
134-
</BlazorOutputWithTargetPath>
118+
</BlazorOutputWithTargetPath>
135119
</ItemGroup>
136120

137121
<!--
@@ -164,7 +148,7 @@
164148
</ItemGroup>
165149

166150
<ItemGroup>
167-
<MonoWasmFile Include="$(DotNetWebAssemblyRuntimePath)*" />
151+
<MonoWasmFile Include="$(ComponentsWebAssemblyRuntimePath)*" />
168152
<BlazorJSFile Include="$(BlazorJSPath)" />
169153
<BlazorJSFile Include="$(BlazorJSMapPath)" Condition="Exists('$(BlazorJSMapPath)')" />
170154

@@ -284,7 +268,7 @@
284268
</PropertyGroup>
285269

286270
<BlazorILLink
287-
ILLinkPath="$(MonoLinkerPath)"
271+
ILLinkPath="$(ComponentsWebAssemblyLinkerPath)"
288272
AssemblyPaths="@(_BlazorAssemblyToLink)"
289273
RootAssemblyNames="@(_BlazorLinkerRoot)"
290274
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)