From 54c71454538a6bd2ed2f9cbed49b4ef076621003 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Thu, 26 Apr 2018 17:32:57 -0700 Subject: [PATCH 1/4] Fixup project templates to handle project names with dashes --- Blazor.sln | 14 +++++++------- ...Microsoft.AspNetCore.Blazor.Templates.nuspec | 2 +- .../.template.config.src/dotnetcli.host.json | 0 .../.template.config.src/icon.png | Bin .../.template.config.src/template.json | 16 ++++++++-------- .../.template.config.src/vs-2017.3.host.json | 0 .../BlazorHosted-CSharp.Client}/App.cshtml | 0 .../BlazorHosted-CSharp.Client.csproj} | 2 +- .../Pages/Counter.cshtml | 0 .../Pages/FetchData.cshtml | 2 +- .../Pages/Index.cshtml | 0 .../Pages/_ViewImports.cshtml | 0 .../BlazorHosted-CSharp.Client}/Program.cs | 2 +- .../Shared/MainLayout.cshtml | 0 .../Shared/NavMenu.cshtml | 2 +- .../Shared/SurveyPrompt.cshtml | 0 .../_ViewImports.cshtml | 4 ++-- .../wwwroot/css/bootstrap/bootstrap.min.css | 0 .../wwwroot/css/bootstrap/bootstrap.min.css.map | 0 .../wwwroot/css/open-iconic/FONT-LICENSE | 0 .../wwwroot/css/open-iconic/ICON-LICENSE | 0 .../wwwroot/css/open-iconic/README.md | 0 .../font/css/open-iconic-bootstrap.min.css | 0 .../css/open-iconic/font/fonts/open-iconic.eot | Bin .../css/open-iconic/font/fonts/open-iconic.otf | Bin .../css/open-iconic/font/fonts/open-iconic.svg | 0 .../css/open-iconic/font/fonts/open-iconic.ttf | Bin .../css/open-iconic/font/fonts/open-iconic.woff | Bin .../wwwroot/css/site.css | 0 .../wwwroot/index.html | 2 +- .../BlazorHosted-CSharp.Server.csproj} | 4 ++-- .../Controllers/SampleDataController.cs | 4 ++-- .../BlazorHosted-CSharp.Server}/Program.cs | 2 +- .../BlazorHosted-CSharp.Server}/Startup.cs | 2 +- .../BlazorHosted-CSharp.Shared.csproj} | 0 .../WeatherForecast.cs | 2 +- .../BlazorHosted-CSharp.sln} | 6 +++--- .../global.json | 0 .../.template.config.src/dotnetcli.host.json | 0 .../.template.config.src/icon.png | Bin .../.template.config.src/template.json | 4 ++-- .../BlazorLibrary-CSharp.csproj} | 0 .../Component1.cshtml | 2 +- .../ExampleJsInterop.cs | 4 ++-- .../content/background.png | Bin .../content/exampleJsInterop.js | 2 +- .../content/styles.css | 0 .../.template.config.src/dotnetcli.host.json | 0 .../.template.config.src/icon.png | Bin .../.template.config.src/template.json | 4 ++-- .../.template.config.src/vs-2017.3.host.json | 0 .../App.cshtml | 0 .../BlazorStandalone-CSharp.csproj} | 0 .../Pages/Counter.cshtml | 0 .../Pages/FetchData.cshtml | 0 .../Pages/Index.cshtml | 0 .../Pages/_ViewImports.cshtml | 0 .../Program.cs | 2 +- .../Properties/launchSettings.json | 2 +- .../Shared/MainLayout.cshtml | 0 .../Shared/NavMenu.cshtml | 2 +- .../Shared/SurveyPrompt.cshtml | 0 .../_ViewImports.cshtml | 4 ++-- .../global.json | 0 .../wwwroot/css/bootstrap/bootstrap.min.css | 0 .../wwwroot/css/bootstrap/bootstrap.min.css.map | 0 .../wwwroot/css/open-iconic/FONT-LICENSE | 0 .../wwwroot/css/open-iconic/ICON-LICENSE | 0 .../wwwroot/css/open-iconic/README.md | 0 .../font/css/open-iconic-bootstrap.min.css | 0 .../css/open-iconic/font/fonts/open-iconic.eot | Bin .../css/open-iconic/font/fonts/open-iconic.otf | Bin .../css/open-iconic/font/fonts/open-iconic.svg | 0 .../css/open-iconic/font/fonts/open-iconic.ttf | Bin .../css/open-iconic/font/fonts/open-iconic.woff | Bin .../wwwroot/css/site.css | 0 .../wwwroot/index.html | 2 +- .../wwwroot/sample-data/weather.json | 0 78 files changed, 47 insertions(+), 47 deletions(-) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp => BlazorHosted-CSharp}/.template.config.src/dotnetcli.host.json (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp => BlazorHosted-CSharp}/.template.config.src/icon.png (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp => BlazorHosted-CSharp}/.template.config.src/template.json (88%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp => BlazorHosted-CSharp}/.template.config.src/vs-2017.3.host.json (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/App.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client/BlazorHosted.CSharp.Client.csproj => BlazorHosted-CSharp/BlazorHosted-CSharp.Client/BlazorHosted-CSharp.Client.csproj} (88%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/Pages/Counter.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/Pages/FetchData.cshtml (96%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/Pages/Index.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/Pages/_ViewImports.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/Program.cs (93%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/Shared/MainLayout.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/Shared/NavMenu.cshtml (94%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/Shared/SurveyPrompt.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/_ViewImports.cshtml (72%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/bootstrap/bootstrap.min.css (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/bootstrap/bootstrap.min.css.map (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/open-iconic/FONT-LICENSE (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/open-iconic/ICON-LICENSE (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/open-iconic/README.md (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/open-iconic/font/fonts/open-iconic.eot (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/open-iconic/font/fonts/open-iconic.otf (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/open-iconic/font/fonts/open-iconic.svg (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/open-iconic/font/fonts/open-iconic.woff (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/css/site.css (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Client => BlazorHosted-CSharp/BlazorHosted-CSharp.Client}/wwwroot/index.html (90%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Server/BlazorHosted.CSharp.Server.csproj => BlazorHosted-CSharp/BlazorHosted-CSharp.Server/BlazorHosted-CSharp.Server.csproj} (83%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Server => BlazorHosted-CSharp/BlazorHosted-CSharp.Server}/Controllers/SampleDataController.cs (90%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Server => BlazorHosted-CSharp/BlazorHosted-CSharp.Server}/Program.cs (95%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Server => BlazorHosted-CSharp/BlazorHosted-CSharp.Server}/Startup.cs (98%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Shared/BlazorHosted.CSharp.Shared.csproj => BlazorHosted-CSharp/BlazorHosted-CSharp.Shared/BlazorHosted-CSharp.Shared.csproj} (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.Shared => BlazorHosted-CSharp/BlazorHosted-CSharp.Shared}/WeatherForecast.cs (89%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp/BlazorHosted.CSharp.sln => BlazorHosted-CSharp/BlazorHosted-CSharp.sln} (95%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorHosted.CSharp => BlazorHosted-CSharp}/global.json (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorLibrary.CSharp => BlazorLibrary-CSharp}/.template.config.src/dotnetcli.host.json (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorLibrary.CSharp => BlazorLibrary-CSharp}/.template.config.src/icon.png (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorLibrary.CSharp => BlazorLibrary-CSharp}/.template.config.src/template.json (96%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorLibrary.CSharp/BlazorLibrary.CSharp.csproj => BlazorLibrary-CSharp/BlazorLibrary-CSharp.csproj} (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorLibrary.CSharp => BlazorLibrary-CSharp}/Component1.cshtml (78%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorLibrary.CSharp => BlazorLibrary-CSharp}/ExampleJsInterop.cs (74%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorLibrary.CSharp => BlazorLibrary-CSharp}/content/background.png (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorLibrary.CSharp => BlazorLibrary-CSharp}/content/exampleJsInterop.js (75%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorLibrary.CSharp => BlazorLibrary-CSharp}/content/styles.css (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/.template.config.src/dotnetcli.host.json (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/.template.config.src/icon.png (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/.template.config.src/template.json (96%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/.template.config.src/vs-2017.3.host.json (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/App.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp/BlazorStandalone.CSharp.csproj => BlazorStandalone-CSharp/BlazorStandalone-CSharp.csproj} (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/Pages/Counter.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/Pages/FetchData.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/Pages/Index.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/Pages/_ViewImports.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/Program.cs (93%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/Properties/launchSettings.json (87%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/Shared/MainLayout.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/Shared/NavMenu.cshtml (94%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/Shared/SurveyPrompt.cshtml (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/_ViewImports.cshtml (73%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/global.json (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/bootstrap/bootstrap.min.css (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/bootstrap/bootstrap.min.css.map (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/open-iconic/FONT-LICENSE (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/open-iconic/ICON-LICENSE (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/open-iconic/README.md (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/open-iconic/font/fonts/open-iconic.eot (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/open-iconic/font/fonts/open-iconic.otf (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/open-iconic/font/fonts/open-iconic.svg (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/open-iconic/font/fonts/open-iconic.woff (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/css/site.css (100%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/index.html (89%) rename src/Microsoft.AspNetCore.Blazor.Templates/content/{BlazorStandalone.CSharp => BlazorStandalone-CSharp}/wwwroot/sample-data/weather.json (100%) diff --git a/Blazor.sln b/Blazor.sln index ec82a23aa..f9581e909 100644 --- a/Blazor.sln +++ b/Blazor.sln @@ -66,18 +66,18 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "templates", "templates", "{E8EBA72C-D555-43AE-BC98-F0B2D05F6A07}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorStandalone.CSharp", "src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorStandalone.CSharp\BlazorStandalone.CSharp.csproj", "{A092FA91-856B-4ACA-B1C2-10BDBA366185}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorStandalone-CSharp", "src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorStandalone-CSharp\BlazorStandalone-CSharp.csproj", "{A092FA91-856B-4ACA-B1C2-10BDBA366185}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BlazorHosted.CSharp", "BlazorHosted.CSharp", "{73DA1DFD-79F0-4BA2-B0B6-4F3A21D2C3F8}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BlazorHosted-CSharp", "BlazorHosted-CSharp", "{73DA1DFD-79F0-4BA2-B0B6-4F3A21D2C3F8}" ProjectSection(SolutionItems) = preProject - src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorHosted.CSharp\global.json = src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorHosted.CSharp\global.json + src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorHosted-CSharp\global.json = src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorHosted-CSharp\global.json EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorHosted.CSharp.Client", "src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorHosted.CSharp\BlazorHosted.CSharp.Client\BlazorHosted.CSharp.Client.csproj", "{7549444A-9C81-44DE-AD0D-2C55501EAAC7}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorHosted-CSharp.Client", "src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorHosted-CSharp\BlazorHosted-CSharp.Client\BlazorHosted-CSharp.Client.csproj", "{7549444A-9C81-44DE-AD0D-2C55501EAAC7}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorHosted.CSharp.Server", "src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorHosted.CSharp\BlazorHosted.CSharp.Server\BlazorHosted.CSharp.Server.csproj", "{78ED9932-0912-4F36-8F82-33DE850E7A33}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorHosted-CSharp.Server", "src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorHosted-CSharp\BlazorHosted-CSharp.Server\BlazorHosted-CSharp.Server.csproj", "{78ED9932-0912-4F36-8F82-33DE850E7A33}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorHosted.CSharp.Shared", "src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorHosted.CSharp\BlazorHosted.CSharp.Shared\BlazorHosted.CSharp.Shared.csproj", "{F3E02B21-1127-431A-B832-0E53CB72097B}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorHosted-CSharp.Shared", "src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorHosted-CSharp\BlazorHosted-CSharp.Shared\BlazorHosted-CSharp.Shared.csproj", "{F3E02B21-1127-431A-B832-0E53CB72097B}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Razor.Extensions.Test", "test\Microsoft.AspNetCore.Blazor.Razor.Extensions.Test\Microsoft.AspNetCore.Blazor.Razor.Extensions.Test.csproj", "{FF25111E-5A3E-48A3-96D8-08A2C5A2A91C}" EndProject @@ -93,7 +93,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "benchmarks", "benchmarks", EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Blazor.Performance", "benchmarks\Microsoft.AspNetCore.Blazor.Performance\Microsoft.AspNetCore.Blazor.Performance.csproj", "{50F6820F-D058-4E68-9E15-801F893F514E}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorLibrary.CSharp", "src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorLibrary.CSharp\BlazorLibrary.CSharp.csproj", "{3A457B14-D91B-4FFF-A81A-8F350BDB911F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorLibrary-CSharp", "src\Microsoft.AspNetCore.Blazor.Templates\content\BlazorLibrary-CSharp\BlazorLibrary-CSharp.csproj", "{3A457B14-D91B-4FFF-A81A-8F350BDB911F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/Microsoft.AspNetCore.Blazor.Templates.nuspec b/src/Microsoft.AspNetCore.Blazor.Templates/Microsoft.AspNetCore.Blazor.Templates.nuspec index 0936c02b4..37a4f5014 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/Microsoft.AspNetCore.Blazor.Templates.nuspec +++ b/src/Microsoft.AspNetCore.Blazor.Templates/Microsoft.AspNetCore.Blazor.Templates.nuspec @@ -19,7 +19,7 @@ diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/.template.config.src/dotnetcli.host.json b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/dotnetcli.host.json similarity index 100% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/.template.config.src/dotnetcli.host.json rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/dotnetcli.host.json diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/.template.config.src/icon.png b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/icon.png similarity index 100% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/.template.config.src/icon.png rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/icon.png diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/.template.config.src/template.json b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/template.json similarity index 88% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/.template.config.src/template.json rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/template.json index 992a79e2a..f980b46d0 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/.template.config.src/template.json +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/template.json @@ -18,35 +18,35 @@ "primaryOutputs": [ { "condition": "(HostIdentifier == \"dotnetcli\" || HostIdentifier == \"dotnetcli-preview\")", - "path": "BlazorHosted.CSharp.sln" + "path": "BlazorHosted-CSharp.sln" }, { "condition": "(OS == \"Windows_NT\" && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "path": "BlazorHosted.CSharp.Server\\BlazorHosted.CSharp.Server.csproj" + "path": "BlazorHosted-CSharp.Server\\BlazorHosted-CSharp.Server.csproj" }, { "condition": "(OS != \"Windows_NT\" && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "path": "BlazorHosted.CSharp.Server/BlazorHosted.CSharp.Server.csproj" + "path": "BlazorHosted-CSharp.Server/BlazorHosted-CSharp.Server.csproj" }, { "condition": "(OS == \"Windows_NT\" && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "path": "BlazorHosted.CSharp.Client\\BlazorHosted.CSharp.Client.csproj" + "path": "BlazorHosted-CSharp.Client\\BlazorHosted-CSharp.Client.csproj" }, { "condition": "(OS != \"Windows_NT\" && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "path": "BlazorHosted.CSharp.Client/BlazorHosted.CSharp.Client.csproj" + "path": "BlazorHosted-CSharp.Client/BlazorHosted-CSharp.Client.csproj" }, { "condition": "(OS == \"Windows_NT\" && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "path": "BlazorHosted.CSharp.Shared\\BlazorHosted.CSharp.Shared.csproj" + "path": "BlazorHosted-CSharp.Shared\\BlazorHosted-CSharp.Shared.csproj" }, { "condition": "(OS != \"Windows_NT\" && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", - "path": "BlazorHosted.CSharp.Shared/BlazorHosted.CSharp.Shared.csproj" + "path": "BlazorHosted-CSharp.Shared/BlazorHosted-CSharp.Shared.csproj" } ], "shortName": "blazorhosted", - "sourceName": "BlazorHosted.CSharp", + "sourceName": "BlazorHosted-CSharp", "sources": [ { "source": "./", diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/.template.config.src/vs-2017.3.host.json b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/vs-2017.3.host.json similarity index 100% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/.template.config.src/vs-2017.3.host.json rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/.template.config.src/vs-2017.3.host.json diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/App.cshtml b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/App.cshtml similarity index 100% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/App.cshtml rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/App.cshtml diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/BlazorHosted.CSharp.Client.csproj b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/BlazorHosted-CSharp.Client.csproj similarity index 88% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/BlazorHosted.CSharp.Client.csproj rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/BlazorHosted-CSharp.Client.csproj index a93516e05..ff0f4e61a 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/BlazorHosted.CSharp.Client.csproj +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/BlazorHosted-CSharp.Client.csproj @@ -17,7 +17,7 @@ - + diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Pages/Counter.cshtml b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/Counter.cshtml similarity index 100% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Pages/Counter.cshtml rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/Counter.cshtml diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Pages/FetchData.cshtml b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/FetchData.cshtml similarity index 96% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Pages/FetchData.cshtml rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/FetchData.cshtml index 8f3dc8adf..17fb839fd 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Pages/FetchData.cshtml +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/FetchData.cshtml @@ -1,4 +1,4 @@ -@using BlazorHosted.CSharp.Shared +@using BlazorHosted_CSharp.Shared @page "/fetchdata" @inject HttpClient Http diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Pages/Index.cshtml b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/Index.cshtml similarity index 100% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Pages/Index.cshtml rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/Index.cshtml diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Pages/_ViewImports.cshtml b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/_ViewImports.cshtml similarity index 100% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Pages/_ViewImports.cshtml rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Pages/_ViewImports.cshtml diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Program.cs b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Program.cs similarity index 93% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Program.cs rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Program.cs index 45df353c3..8c06d7534 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Program.cs +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Program.cs @@ -3,7 +3,7 @@ using Microsoft.Extensions.DependencyInjection; using System; -namespace BlazorHosted.CSharp.Client +namespace BlazorHosted_CSharp.Client { public class Program { diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Shared/MainLayout.cshtml b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Shared/MainLayout.cshtml similarity index 100% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Shared/MainLayout.cshtml rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Shared/MainLayout.cshtml diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Shared/NavMenu.cshtml b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Shared/NavMenu.cshtml similarity index 94% rename from src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Shared/NavMenu.cshtml rename to src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Shared/NavMenu.cshtml index 0aa6d02a5..084215c61 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted.CSharp/BlazorHosted.CSharp.Client/Shared/NavMenu.cshtml +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/Shared/NavMenu.cshtml @@ -1,5 +1,5 @@