Rename Microsoft.Blazor.* -> Microsoft.AspNetCore.Blazor.* everywhere

This commit is contained in:
Steve Sanderson 2018-01-24 15:48:38 -08:00
parent 9e90ff3689
commit 0aa164073d
144 changed files with 231 additions and 231 deletions

View File

@ -12,23 +12,23 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "mono", "mono", "{7B5CAAB1-A
src\mono\mono.targets = src\mono\mono.targets
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.Mono", "src\Microsoft.Blazor.Mono\Microsoft.Blazor.Mono.csproj", "{39FEC72D-AF52-47A3-B63D-7BF0E4335248}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Mono", "src\Microsoft.AspNetCore.Blazor.Mono\Microsoft.AspNetCore.Blazor.Mono.csproj", "{39FEC72D-AF52-47A3-B63D-7BF0E4335248}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MonoSanity", "samples\MonoSanity\MonoSanity.csproj", "{7C53BB6B-5906-4753-B507-C9FCC2F7E5B7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.Server", "src\Microsoft.Blazor.Server\Microsoft.Blazor.Server.csproj", "{5A694793-3257-4D37-BB74-4A41B3894685}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Server", "src\Microsoft.AspNetCore.Blazor.Server\Microsoft.AspNetCore.Blazor.Server.csproj", "{5A694793-3257-4D37-BB74-4A41B3894685}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{ADA3AE29-F6DE-49F6-8C7C-B321508CAE8E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.Mono.Test", "test\Microsoft.Blazor.Mono.Test\Microsoft.Blazor.Mono.Test.csproj", "{118484D3-3993-45CE-97C1-6F28A517529B}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Mono.Test", "test\Microsoft.AspNetCore.Blazor.Mono.Test\Microsoft.AspNetCore.Blazor.Mono.Test.csproj", "{118484D3-3993-45CE-97C1-6F28A517529B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.E2ETest", "test\Microsoft.Blazor.E2ETest\Microsoft.Blazor.E2ETest.csproj", "{5BC2A10D-B6CA-43AE-B73C-2A41AE1039F9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.E2ETest", "test\Microsoft.AspNetCore.Blazor.E2ETest\Microsoft.AspNetCore.Blazor.E2ETest.csproj", "{5BC2A10D-B6CA-43AE-B73C-2A41AE1039F9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MonoSanityClient", "samples\MonoSanityClient\MonoSanityClient.csproj", "{06AAAE9E-96DE-4574-97DA-9C4C7D9FE990}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.DevHost", "src\Microsoft.Blazor.DevHost\Microsoft.Blazor.DevHost.csproj", "{EE690312-2353-4DD0-9250-EE5EDAC6D4F7}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.DevHost", "src\Microsoft.AspNetCore.Blazor.DevHost\Microsoft.AspNetCore.Blazor.DevHost.csproj", "{EE690312-2353-4DD0-9250-EE5EDAC6D4F7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.BuildTools", "src\Microsoft.Blazor.BuildTools\Microsoft.Blazor.BuildTools.csproj", "{BB34336F-E68E-4411-9805-CAAA919F5EA1}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.BuildTools", "src\Microsoft.AspNetCore.Blazor.BuildTools\Microsoft.AspNetCore.Blazor.BuildTools.csproj", "{BB34336F-E68E-4411-9805-CAAA919F5EA1}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HostedInAspNet", "HostedInAspNet", "{4D367450-96E9-4C8C-8B56-EED8ADE3A20D}"
EndProject
@ -36,25 +36,25 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HostedInAspNet.Client", "sa
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HostedInAspNet.Server", "samples\HostedInAspNet.Server\HostedInAspNet.Server.csproj", "{F8996835-41F7-4663-91DF-3B5652ADC37D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor", "src\Microsoft.Blazor\Microsoft.Blazor.csproj", "{7FD8C650-74B3-4153-AEA1-00F4F6AF393D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor", "src\Microsoft.AspNetCore.Blazor\Microsoft.AspNetCore.Blazor.csproj", "{7FD8C650-74B3-4153-AEA1-00F4F6AF393D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StandaloneApp", "samples\StandaloneApp\StandaloneApp.csproj", "{B241434A-1642-44CC-AE9A-2012B5C5BD02}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MonoSanity", "MonoSanity", "{2A076721-6081-4517-8329-B9E5110D6DAC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.Common", "src\Microsoft.Blazor.Common\Microsoft.Blazor.Common.csproj", "{21EF76A4-63CC-455D-907C-F86C9E442CEC}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Common", "src\Microsoft.AspNetCore.Blazor.Common\Microsoft.AspNetCore.Blazor.Common.csproj", "{21EF76A4-63CC-455D-907C-F86C9E442CEC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.Common.Test", "test\Microsoft.Blazor.Common.Test\Microsoft.Blazor.Common.Test.csproj", "{7F0BF3EA-6985-49F6-8070-0BBA41448BB0}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Common.Test", "test\Microsoft.AspNetCore.Blazor.Common.Test\Microsoft.AspNetCore.Blazor.Common.Test.csproj", "{7F0BF3EA-6985-49F6-8070-0BBA41448BB0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.Build.Test", "test\Microsoft.Blazor.Build.Test\Microsoft.Blazor.Build.Test.csproj", "{709C7EBE-EB93-4F6D-9491-D714B0D2E898}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Build.Test", "test\Microsoft.AspNetCore.Blazor.Build.Test\Microsoft.AspNetCore.Blazor.Build.Test.csproj", "{709C7EBE-EB93-4F6D-9491-D714B0D2E898}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.Build", "src\Microsoft.Blazor.Build\Microsoft.Blazor.Build.csproj", "{8B3D0F1C-0E38-4E6D-BFF1-C4FDA0CD9815}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Build", "src\Microsoft.AspNetCore.Blazor.Build\Microsoft.AspNetCore.Blazor.Build.csproj", "{8B3D0F1C-0E38-4E6D-BFF1-C4FDA0CD9815}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.Browser.JS", "src\Microsoft.Blazor.Browser.JS\Microsoft.Blazor.Browser.JS.csproj", "{8A19B1CE-9B62-4440-93B3-152DDBB39D0A}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Browser.JS", "src\Microsoft.AspNetCore.Blazor.Browser.JS\Microsoft.AspNetCore.Blazor.Browser.JS.csproj", "{8A19B1CE-9B62-4440-93B3-152DDBB39D0A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.Browser", "src\Microsoft.Blazor.Browser\Microsoft.Blazor.Browser.csproj", "{4874AFF4-335D-4037-8858-BBBB987C124B}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Browser", "src\Microsoft.AspNetCore.Blazor.Browser\Microsoft.AspNetCore.Blazor.Browser.csproj", "{4874AFF4-335D-4037-8858-BBBB987C124B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Blazor.Test", "test\Microsoft.Blazor.Test\Microsoft.Blazor.Test.csproj", "{8FD8636E-AFA5-434D-8857-06D02686741A}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Test", "test\Microsoft.AspNetCore.Blazor.Test\Microsoft.AspNetCore.Blazor.Test.csproj", "{8FD8636E-AFA5-434D-8857-06D02686741A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "testapps", "testapps", "{4AE0D35B-D97A-44D0-8392-C9240377DCCE}"
EndProject

View File

@ -9,11 +9,11 @@
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<!-- Local alternative to <PackageReference Include="Microsoft.Blazor.Build" /> -->
<Import Project="..\..\src\Microsoft.Blazor.Build\ReferenceFromSource.props" />
<!-- Local alternative to <PackageReference Include="Microsoft.AspNetCore.Blazor.Build" /> -->
<Import Project="..\..\src\Microsoft.AspNetCore.Blazor.Build\ReferenceFromSource.props" />
<ItemGroup>
<ProjectReference Include="..\..\src\Microsoft.Blazor.Browser\Microsoft.Blazor.Browser.csproj" />
<ProjectReference Include="..\..\src\Microsoft.Blazor\Microsoft.Blazor.csproj" />
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Blazor.Browser\Microsoft.AspNetCore.Blazor.Browser.csproj" />
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Blazor\Microsoft.AspNetCore.Blazor.csproj" />
</ItemGroup>
</Project>

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Browser;
using Microsoft.Blazor.Browser.Rendering;
using Microsoft.Blazor.Components;
using Microsoft.Blazor.RenderTree;
using Microsoft.AspNetCore.Blazor.Browser;
using Microsoft.AspNetCore.Blazor.Browser.Rendering;
using Microsoft.AspNetCore.Blazor.Components;
using Microsoft.AspNetCore.Blazor.RenderTree;
namespace HostedInAspNet.Client
{

View File

@ -9,7 +9,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Microsoft.Blazor.Server\Microsoft.Blazor.Server.csproj" />
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Blazor.Server\Microsoft.AspNetCore.Blazor.Server.csproj" />
<ProjectReference Include="..\HostedInAspNet.Client\HostedInAspNet.Client.csproj" ReferenceOutputAssembly="false" />
</ItemGroup>

View File

@ -9,7 +9,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Microsoft.Blazor.Server\Microsoft.Blazor.Server.csproj" />
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Blazor.Server\Microsoft.AspNetCore.Blazor.Server.csproj" />
<ProjectReference Include="..\MonoSanityClient\MonoSanityClient.csproj" ReferenceOutputAssembly="false" />
</ItemGroup>

View File

@ -4,12 +4,12 @@
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<!-- Local alternative to <PackageReference Include="Microsoft.Blazor.Build" /> -->
<Import Project="..\..\src\Microsoft.Blazor.Build\ReferenceFromSource.props" />
<!-- Local alternative to <PackageReference Include="Microsoft.AspNetCore.Blazor.Build" /> -->
<Import Project="..\..\src\Microsoft.AspNetCore.Blazor.Build\ReferenceFromSource.props" />
<ItemGroup>
<!-- Share the WebAssembly.Runtime.cs source here so we get access to the same interop externs -->
<Compile Include="..\..\src\Microsoft.Blazor.Browser\Interop\WebAssembly.Runtime.cs" />
<Compile Include="..\..\src\Microsoft.AspNetCore.Blazor.Browser\Interop\WebAssembly.Runtime.cs" />
</ItemGroup>
</Project>

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Browser.Rendering;
using Microsoft.AspNetCore.Blazor.Browser.Rendering;
namespace StandaloneApp
{

View File

@ -4,15 +4,15 @@
<TargetFramework>netcoreapp2.0</TargetFramework>
<!-- Local alternative to <RunArguments>blazor serve</RunArguments> -->
<RunArguments>run --project ..\..\src\Microsoft.Blazor.DevHost serve</RunArguments>
<RunArguments>run --project ..\..\src\Microsoft.AspNetCore.Blazor.DevHost serve</RunArguments>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Microsoft.Blazor\Microsoft.Blazor.csproj" />
<ProjectReference Include="..\..\src\Microsoft.Blazor.Browser\Microsoft.Blazor.Browser.csproj" />
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Blazor\Microsoft.AspNetCore.Blazor.csproj" />
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Blazor.Browser\Microsoft.AspNetCore.Blazor.Browser.csproj" />
</ItemGroup>
<!-- Local alternative to <PackageReference Include="Microsoft.Blazor.Build" /> -->
<Import Project="..\..\src\Microsoft.Blazor.Build\ReferenceFromSource.props" />
<!-- Local alternative to <PackageReference Include="Microsoft.AspNetCore.Blazor.Build" /> -->
<Import Project="..\..\src\Microsoft.AspNetCore.Blazor.Build\ReferenceFromSource.props" />
</Project>

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Internal.Common.FileProviders;
using Microsoft.AspNetCore.Blazor.Internal.Common.FileProviders;
using Microsoft.Extensions.FileProviders;
namespace Microsoft.Blazor.Browser.JS
namespace Microsoft.AspNetCore.Blazor.Browser.JS
{
public static class BlazorBrowserFileProvider
{

View File

@ -16,10 +16,10 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.Blazor.Common\Microsoft.Blazor.Common.csproj" />
<ProjectReference Include="..\Microsoft.AspNetCore.Blazor.Common\Microsoft.AspNetCore.Blazor.Common.csproj" />
</ItemGroup>
<Import Project="..\Microsoft.Blazor.BuildTools\ReferenceFromSource.props" />
<Import Project="..\Microsoft.AspNetCore.Blazor.BuildTools\ReferenceFromSource.props" />
<Target Name="EnsureNpmRestored" Condition="!Exists('node_modules')">
<Exec Command="$(BlazorBuildToolsExe) checknodejs -v 8.3.0" />

View File

@ -150,7 +150,7 @@ export class BrowserRenderer {
if (!renderComponentMethod) {
renderComponentMethod = platform.findMethod(
'Microsoft.Blazor.Browser', 'Microsoft.Blazor.Browser.Rendering', 'BrowserRendererEventDispatcher', 'RenderChildComponent'
'Microsoft.AspNetCore.Blazor.Browser', 'Microsoft.AspNetCore.Blazor.Browser.Rendering', 'BrowserRendererEventDispatcher', 'RenderChildComponent'
);
}
@ -239,7 +239,7 @@ function removeAttributeFromDOM(parent: Element, childIndex: number, attributeNa
function raiseEvent(browserRendererId: number, componentId: number, renderTreeNodeIndex: number, eventInfoType: EventInfoType, eventInfo: any) {
if (!raiseEventMethod) {
raiseEventMethod = platform.findMethod(
'Microsoft.Blazor.Browser', 'Microsoft.Blazor.Browser.Rendering', 'BrowserRendererEventDispatcher', 'DispatchEvent'
'Microsoft.AspNetCore.Blazor.Browser', 'Microsoft.AspNetCore.Blazor.Browser.Rendering', 'BrowserRendererEventDispatcher', 'DispatchEvent'
);
}

View File

@ -3,7 +3,7 @@
using System;
namespace Microsoft.Blazor.Browser.Interop
namespace Microsoft.AspNetCore.Blazor.Browser.Interop
{
public class JavaScriptException : Exception
{

View File

@ -5,11 +5,11 @@ using System;
using System.Collections.Generic;
using System.Reflection;
namespace Microsoft.Blazor.Browser.Interop
namespace Microsoft.AspNetCore.Blazor.Browser.Interop
{
/// <summary>
/// Temporary internal JSON serialization library.
/// This will be removed when public JSON methods are added to Microsoft.Blazor
/// This will be removed when public JSON methods are added to Microsoft.AspNetCore.Blazor
/// (which will be needed for HTTP support at least).
/// </summary>
internal static class Json

View File

@ -4,7 +4,7 @@
using System.Linq;
using WebAssembly;
namespace Microsoft.Blazor.Browser.Interop
namespace Microsoft.AspNetCore.Blazor.Browser.Interop
{
/// <summary>
/// Provides methods for invoking preregistered JavaScript functions from .NET code.

View File

@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.Blazor\Microsoft.Blazor.csproj" />
<ProjectReference Include="..\Microsoft.AspNetCore.Blazor\Microsoft.AspNetCore.Blazor.csproj" />
</ItemGroup>
</Project>

View File

@ -1,14 +1,14 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Browser.Interop;
using Microsoft.Blazor.Components;
using Microsoft.Blazor.Rendering;
using Microsoft.Blazor.RenderTree;
using Microsoft.AspNetCore.Blazor.Browser.Interop;
using Microsoft.AspNetCore.Blazor.Components;
using Microsoft.AspNetCore.Blazor.Rendering;
using Microsoft.AspNetCore.Blazor.RenderTree;
using System;
using System.Collections.Generic;
namespace Microsoft.Blazor.Browser.Rendering
namespace Microsoft.AspNetCore.Blazor.Browser.Rendering
{
/// <summary>
/// Provides mechanisms for rendering <see cref="IComponent"/> instances in a

View File

@ -1,11 +1,11 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Browser.Interop;
using Microsoft.Blazor.RenderTree;
using Microsoft.AspNetCore.Blazor.Browser.Interop;
using Microsoft.AspNetCore.Blazor.RenderTree;
using System;
namespace Microsoft.Blazor.Browser.Rendering
namespace Microsoft.AspNetCore.Blazor.Browser.Rendering
{
/// <summary>
/// Provides mechanisms for dispatching events to components in a <see cref="BrowserRenderer"/>.

View File

@ -3,7 +3,7 @@
using System.Collections.Generic;
namespace Microsoft.Blazor.Browser.Rendering
namespace Microsoft.AspNetCore.Blazor.Browser.Rendering
{
/// <summary>
/// Provides mechanisms for locating <see cref="BrowserRenderer"/> instances

View File

@ -1,11 +1,11 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Build.Core;
using Microsoft.AspNetCore.Blazor.Build.Core;
using Microsoft.Extensions.CommandLineUtils;
using System;
namespace Microsoft.Blazor.Build.Cli.Commands
namespace Microsoft.AspNetCore.Blazor.Build.Cli.Commands
{
internal class BuildCommand
{

View File

@ -1,14 +1,14 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Build.Core.RazorCompilation;
using Microsoft.AspNetCore.Blazor.Build.Core.RazorCompilation;
using Microsoft.Extensions.CommandLineUtils;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Microsoft.Blazor.Build.Cli.Commands
namespace Microsoft.AspNetCore.Blazor.Build.Cli.Commands
{
internal class BuildRazorCommand
{

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Build.Cli.Commands;
using Microsoft.AspNetCore.Blazor.Build.Cli.Commands;
using Microsoft.Extensions.CommandLineUtils;
namespace Microsoft.Blazor.Build
namespace Microsoft.AspNetCore.Blazor.Build
{
static class Program
{

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Build.Core.FileSystem;
using Microsoft.AspNetCore.Blazor.Build.Core.FileSystem;
using System.IO;
namespace Microsoft.Blazor.Build.Core
namespace Microsoft.AspNetCore.Blazor.Build.Core
{
internal static class AppBuilder
{

View File

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Internal.Common.FileProviders;
using Microsoft.AspNetCore.Blazor.Internal.Common.FileProviders;
using Microsoft.Extensions.FileProviders;
using System.Collections.Generic;
using System.IO;
namespace Microsoft.Blazor.Build.Core.FileSystem
namespace Microsoft.AspNetCore.Blazor.Build.Core.FileSystem
{
internal class ClientFileProvider : CompositeMountedFileProvider
{

View File

@ -1,13 +1,13 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Browser.JS;
using Microsoft.Blazor.Internal.Common.FileProviders;
using Microsoft.Blazor.Mono;
using Microsoft.AspNetCore.Blazor.Browser.JS;
using Microsoft.AspNetCore.Blazor.Internal.Common.FileProviders;
using Microsoft.AspNetCore.Blazor.Mono;
using Microsoft.Extensions.FileProviders;
using System.IO;
namespace Microsoft.Blazor.Build.Core.FileSystem
namespace Microsoft.AspNetCore.Blazor.Build.Core.FileSystem
{
internal class FrameworkFileProvider : CompositeMountedFileProvider
{

View File

@ -5,9 +5,9 @@ using System.IO;
using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
using Microsoft.Blazor.Internal.Common.FileProviders;
using Microsoft.AspNetCore.Blazor.Internal.Common.FileProviders;
namespace Microsoft.Blazor.Build.Core.FileSystem
namespace Microsoft.AspNetCore.Blazor.Build.Core.FileSystem
{
internal class ReferencedAssemblyFileProvider : InMemoryFileProvider
{

View File

@ -5,7 +5,7 @@ using Microsoft.Extensions.FileProviders;
using System.IO;
using System.Linq;
namespace Microsoft.Blazor.Build.Core.FileSystem
namespace Microsoft.AspNetCore.Blazor.Build.Core.FileSystem
{
internal class ReferencedAssemblyResolver
{

View File

@ -1,14 +1,14 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Internal.Common.FileProviders;
using Microsoft.AspNetCore.Blazor.Internal.Common.FileProviders;
using System.IO;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.FileProviders;
using System.Linq;
namespace Microsoft.Blazor.Build.Core.FileSystem
namespace Microsoft.AspNetCore.Blazor.Build.Core.FileSystem
{
internal class IndexHtmlFileProvider : InMemoryFileProvider
{

View File

@ -4,7 +4,7 @@
using Microsoft.Extensions.FileProviders;
using System.IO;
namespace Microsoft.Blazor.Build.Core
namespace Microsoft.AspNetCore.Blazor.Build.Core
{
internal static class FileUtil
{

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.Blazor.Build.Core.RazorCompilation.Engine
namespace Microsoft.AspNetCore.Blazor.Build.Core.RazorCompilation.Engine
{
internal static class BlazorCodeDocItems
{

View File

@ -4,7 +4,7 @@
using Microsoft.AspNetCore.Razor.Language.CodeGeneration;
using System;
namespace Microsoft.Blazor.Build.Core.RazorCompilation.Engine
namespace Microsoft.AspNetCore.Blazor.Build.Core.RazorCompilation.Engine
{
/// <summary>
/// Directs a <see cref="DocumentWriter"/> to use <see cref="BlazorIntermediateNodeWriter"/>.

View File

@ -6,13 +6,13 @@ using AngleSharp.Html;
using AngleSharp.Parser.Html;
using Microsoft.AspNetCore.Razor.Language.CodeGeneration;
using Microsoft.AspNetCore.Razor.Language.Intermediate;
using Microsoft.Blazor.RenderTree;
using Microsoft.AspNetCore.Blazor.RenderTree;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.Blazor.Build.Core.RazorCompilation.Engine
namespace Microsoft.AspNetCore.Blazor.Build.Core.RazorCompilation.Engine
{
/// <summary>
/// Generates the C# code corresponding to Razor source document contents.

View File

@ -6,7 +6,7 @@ using Microsoft.AspNetCore.Razor.Language.CodeGeneration;
using Microsoft.AspNetCore.Razor.Language.Intermediate;
using System;
namespace Microsoft.Blazor.Build.Core.RazorCompilation.Engine
namespace Microsoft.AspNetCore.Blazor.Build.Core.RazorCompilation.Engine
{
/// <summary>
/// A <see cref="RazorEngine"/> phase that builds the C# document corresponding to

View File

@ -3,10 +3,10 @@
using Microsoft.AspNetCore.Razor.Language;
using Microsoft.AspNetCore.Razor.Language.Extensions;
using Microsoft.Blazor.Components;
using Microsoft.AspNetCore.Blazor.Components;
using System.Linq;
namespace Microsoft.Blazor.Build.Core.RazorCompilation.Engine
namespace Microsoft.AspNetCore.Blazor.Build.Core.RazorCompilation.Engine
{
/// <summary>
/// Wraps <see cref="RazorEngine"/>, configuring it to compile Blazor components.

View File

@ -12,7 +12,7 @@ using System.Linq;
// Copied directly from https://github.com/aspnet/Razor/blob/ff40124594b58b17988d50841175430a4b73d1a9/src/Microsoft.AspNetCore.Razor.Language/CodeGeneration/CodeWriterExtensions.cs
// (other than the namespace change) because it's internal
namespace Microsoft.Blazor.Build.Core.RazorCompilation.Engine
namespace Microsoft.AspNetCore.Blazor.Build.Core.RazorCompilation.Engine
{
internal static class CodeWriterExtensions
{

View File

@ -2,16 +2,16 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Razor.Language;
using Microsoft.Blazor.Build.Core.RazorCompilation.Engine;
using Microsoft.Blazor.Components;
using Microsoft.Blazor.RenderTree;
using Microsoft.AspNetCore.Blazor.Build.Core.RazorCompilation.Engine;
using Microsoft.AspNetCore.Blazor.Components;
using Microsoft.AspNetCore.Blazor.RenderTree;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace Microsoft.Blazor.Build.Core.RazorCompilation
namespace Microsoft.AspNetCore.Blazor.Build.Core.RazorCompilation
{
/// <summary>
/// Provides facilities for transforming Razor files into Blazor component classes.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.Blazor.Build.Core.RazorCompilation
namespace Microsoft.AspNetCore.Blazor.Build.Core.RazorCompilation
{
public class RazorCompilerDiagnostic
{

View File

@ -3,7 +3,7 @@
using System;
namespace Microsoft.Blazor.Build.Core.RazorCompilation
namespace Microsoft.AspNetCore.Blazor.Build.Core.RazorCompilation
{
/// <summary>
/// Represents a fatal error during the transformation of a Blazor component from

View File

@ -9,7 +9,7 @@
<Target Name="SetPackageProperties" BeforeTargets="Pack">
<PropertyGroup>
<NoPackageAnalysis>true</NoPackageAnalysis>
<NuspecFile>Microsoft.Blazor.BuildTools.nuspec</NuspecFile>
<NuspecFile>Microsoft.AspNetCore.Blazor.BuildTools.nuspec</NuspecFile>
<PackageVersion>0.0.1</PackageVersion>
<NuspecProperties>version=$(PackageVersion)</NuspecProperties>
</PropertyGroup>
@ -20,9 +20,9 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.Blazor.Browser.JS\Microsoft.Blazor.Browser.JS.csproj" />
<ProjectReference Include="..\Microsoft.Blazor.Mono\Microsoft.Blazor.Mono.csproj" />
<ProjectReference Include="..\Microsoft.Blazor\Microsoft.Blazor.csproj" />
<ProjectReference Include="..\Microsoft.AspNetCore.Blazor.Browser.JS\Microsoft.AspNetCore.Blazor.Browser.JS.csproj" />
<ProjectReference Include="..\Microsoft.AspNetCore.Blazor.Mono\Microsoft.AspNetCore.Blazor.Mono.csproj" />
<ProjectReference Include="..\Microsoft.AspNetCore.Blazor\Microsoft.AspNetCore.Blazor.csproj" />
<PackageReference Include="Microsoft.AspNetCore.Razor" Version="2.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Language" Version="2.0.1" />
<PackageReference Include="Microsoft.Extensions.CommandLineUtils" Version="1.1.1" />

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Microsoft.Blazor.Build</id>
<id>Microsoft.AspNetCore.Blazor.Build</id>
<version>$version$</version>
<authors>Microsoft</authors>
<description>Build mechanism for Blazor applications.</description>

View File

@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Blazor.Build.Test")]

View File

@ -1,7 +1,7 @@
<Project>
<!--
Importing this file is equivalent to having:
<PackageDependency Include="Microsoft.Blazor.Build" />
<PackageDependency Include="Microsoft.AspNetCore.Blazor.Build" />
... except it's much more convenient when working in this repo, because it consumes the
Blazor.Build targets/exe directly without needing this project to be packed into a .nupkg.
@ -14,6 +14,6 @@
<!-- Ensures this project is built before the consuming project, but without
adding a runtime dependency on the .dll (to be equivalent to a <PackageDependency>
given that the packed version of this project wouldn't add a .dll reference) -->
<ProjectReference Include="$(MSBuildThisFileDirectory)Microsoft.Blazor.Build.csproj" ReferenceOutputAssembly="false" PrivateAssets="all" />
<ProjectReference Include="$(MSBuildThisFileDirectory)Microsoft.AspNetCore.Blazor.Build.csproj" ReferenceOutputAssembly="false" PrivateAssets="all" />
</ItemGroup>
</Project>

View File

@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<BlazorBuildExe>dotnet $(MSBuildThisFileDirectory)..\tools\Microsoft.Blazor.Build.dll</BlazorBuildExe>
<BlazorBuildExe>dotnet $(MSBuildThisFileDirectory)..\tools\Microsoft.AspNetCore.Blazor.Build.dll</BlazorBuildExe>
</PropertyGroup>
<Import Project="RazorCompilation.targets" />

View File

@ -6,7 +6,7 @@ using System;
using System.Diagnostics;
using System.Text.RegularExpressions;
namespace Microsoft.Blazor.BuildTools.Cli.Commands
namespace Microsoft.AspNetCore.Blazor.BuildTools.Cli.Commands
{
class CheckNodeJsInstalledCommand
{

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.BuildTools.Cli.Commands;
using Microsoft.AspNetCore.Blazor.BuildTools.Cli.Commands;
using Microsoft.Extensions.CommandLineUtils;
namespace Microsoft.Blazor.BuildTools
namespace Microsoft.AspNetCore.Blazor.BuildTools
{
static class Program
{

View File

@ -1,11 +1,11 @@
<Project>
<PropertyGroup>
<BlazorBuildToolsExe>dotnet $(MSBuildThisFileDirectory)tools\Microsoft.Blazor.BuildTools.dll</BlazorBuildToolsExe>
<BlazorBuildToolsExe>dotnet $(MSBuildThisFileDirectory)tools\Microsoft.AspNetCore.Blazor.BuildTools.dll</BlazorBuildToolsExe>
</PropertyGroup>
<ItemGroup>
<!-- Ensures BuildTools itself is built before the consuming project, but without
adding a runtime dependency on the .dll -->
<ProjectReference Include="$(MSBuildThisFileDirectory)Microsoft.Blazor.BuildTools.csproj" ReferenceOutputAssembly="false" PrivateAssets="all" />
<ProjectReference Include="$(MSBuildThisFileDirectory)Microsoft.AspNetCore.Blazor.BuildTools.csproj" ReferenceOutputAssembly="false" PrivateAssets="all" />
</ItemGroup>
</Project>

View File

@ -7,7 +7,7 @@ using System.Linq;
using System;
using System.IO;
namespace Microsoft.Blazor.Internal.Common.FileProviders
namespace Microsoft.AspNetCore.Blazor.Internal.Common.FileProviders
{
// This is like a CompositeFileProvider, except that:
// (a) the child providers can be mounted at non-root locations

View File

@ -7,7 +7,7 @@ using System.IO;
using System.Linq;
using System.Reflection;
namespace Microsoft.Blazor.Internal.Common.FileProviders
namespace Microsoft.AspNetCore.Blazor.Internal.Common.FileProviders
{
public class EmbeddedResourceFileProvider : InMemoryFileProvider
{

View File

@ -7,7 +7,7 @@ using System.Collections.Generic;
using System.Collections;
using System;
namespace Microsoft.Blazor.Internal.Common.FileProviders
namespace Microsoft.AspNetCore.Blazor.Internal.Common.FileProviders
{
internal class InMemoryDirectoryContents : IDirectoryContents
{

View File

@ -5,7 +5,7 @@ using Microsoft.Extensions.FileProviders;
using System.IO;
using System;
namespace Microsoft.Blazor.Internal.Common.FileProviders
namespace Microsoft.AspNetCore.Blazor.Internal.Common.FileProviders
{
internal class InMemoryFileInfo : IFileInfo
{

View File

@ -8,7 +8,7 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Microsoft.Blazor.Internal.Common.FileProviders
namespace Microsoft.AspNetCore.Blazor.Internal.Common.FileProviders
{
public class InMemoryFileProvider : IFileProvider
{

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<OutputType>Exe</OutputType>
<StartupObject>Microsoft.Blazor.DevHost.Program</StartupObject>
<StartupObject>Microsoft.AspNetCore.Blazor.DevHost.Program</StartupObject>
</PropertyGroup>
<ItemGroup>
@ -11,6 +11,6 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.Blazor.Server\Microsoft.Blazor.Server.csproj" />
<ProjectReference Include="..\Microsoft.AspNetCore.Blazor.Server\Microsoft.AspNetCore.Blazor.Server.csproj" />
</ItemGroup>
</Project>

View File

@ -5,7 +5,7 @@ using Microsoft.AspNetCore.Hosting;
using System;
using System.Linq;
namespace Microsoft.Blazor.DevHost
namespace Microsoft.AspNetCore.Blazor.DevHost
{
internal class Program
{

View File

@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Blazor.E2ETest")]

View File

@ -5,7 +5,7 @@ using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace Microsoft.Blazor.DevHost.Server
namespace Microsoft.AspNetCore.Blazor.DevHost.Server
{
internal class Program
{

View File

@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System.IO;
namespace Microsoft.Blazor.DevHost.Server
namespace Microsoft.AspNetCore.Blazor.DevHost.Server
{
internal class Startup
{

View File

@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.Blazor.Common\Microsoft.Blazor.Common.csproj" />
<ProjectReference Include="..\Microsoft.AspNetCore.Blazor.Common\Microsoft.AspNetCore.Blazor.Common.csproj" />
</ItemGroup>
<Target Name="EmbedMonoResources" BeforeTargets="PreBuildEvent" DependsOnTargets="OptimizeMono" Inputs="$(MonoUnoptimizedDir)\**" Outputs="$(MonoOptimizedDir)\**">

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Internal.Common.FileProviders;
using Microsoft.AspNetCore.Blazor.Internal.Common.FileProviders;
using Microsoft.Extensions.FileProviders;
namespace Microsoft.Blazor.Mono
namespace Microsoft.AspNetCore.Blazor.Mono
{
public static class MonoStaticFileProvider
{

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Blazor.Server;
using Microsoft.AspNetCore.Blazor.Server;
using Microsoft.Extensions.FileProviders;
using System.Collections.Generic;
using System.IO;

View File

@ -4,7 +4,7 @@
using System.IO;
using System.Linq;
namespace Microsoft.Blazor.Server
namespace Microsoft.AspNetCore.Blazor.Server
{
internal class BlazorConfig
{

View File

@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Blazor.DevHost")]

View File

@ -1,11 +1,11 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.RenderTree;
using Microsoft.AspNetCore.Blazor.RenderTree;
using System;
using System.Threading.Tasks;
namespace Microsoft.Blazor.Components
namespace Microsoft.AspNetCore.Blazor.Components
{
/// <summary>
/// Optional base class for Blazor components. Alternatively, Blazor components may

View File

@ -1,9 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.RenderTree;
using Microsoft.AspNetCore.Blazor.RenderTree;
namespace Microsoft.Blazor.Components
namespace Microsoft.AspNetCore.Blazor.Components
{
/// <summary>
/// Represents a UI component.

View File

@ -13,7 +13,7 @@
* Then this file can be removed entirely.
*/
using Microsoft.Blazor.Components;
using Microsoft.AspNetCore.Blazor.Components;
using System;
namespace Microsoft.AspNetCore.Mvc

View File

@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Blazor.Test")]

View File

@ -4,7 +4,7 @@
using System;
using System.Runtime.CompilerServices;
namespace Microsoft.Blazor.RenderTree
namespace Microsoft.AspNetCore.Blazor.RenderTree
{
/// <summary>
/// Implements a list that uses an array of objects to store the elements.

View File

@ -5,7 +5,7 @@ using System;
using System.Collections;
using System.Collections.Generic;
namespace Microsoft.Blazor.RenderTree
namespace Microsoft.AspNetCore.Blazor.RenderTree
{
/// <summary>
/// Represents a range of elements in an array that are in use.

View File

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.Components;
using Microsoft.Blazor.Rendering;
using Microsoft.AspNetCore.Blazor.Components;
using Microsoft.AspNetCore.Blazor.Rendering;
using System;
using System.Collections.Generic;
namespace Microsoft.Blazor.RenderTree
namespace Microsoft.AspNetCore.Blazor.RenderTree
{
/// <summary>
/// Provides methods for building a collection of <see cref="RenderTreeNode"/> entries.

View File

@ -3,7 +3,7 @@
using System;
namespace Microsoft.Blazor.RenderTree
namespace Microsoft.AspNetCore.Blazor.RenderTree
{
/// <summary>
/// Describes changes to a component's render tree between successive renders,

View File

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Blazor.Components;
using Microsoft.Blazor.Rendering;
using Microsoft.AspNetCore.Blazor.Components;
using Microsoft.AspNetCore.Blazor.Rendering;
namespace Microsoft.Blazor.RenderTree
namespace Microsoft.AspNetCore.Blazor.RenderTree
{
internal class RenderTreeDiffComputer
{

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.Blazor.RenderTree
namespace Microsoft.AspNetCore.Blazor.RenderTree
{
/// <summary>
/// Represents a single edit operation on a component's render tree.

Some files were not shown because too many files have changed in this diff Show More