From eece782496cd50ecff8b593ca144e17b9a8d8638 Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Tue, 5 Sep 2017 11:37:39 +0100 Subject: [PATCH] Make template nuspecs consistent. Include SPA template packages projects in solution. --- Templating.sln | 14 +++++++ .../Directory.Build.props | 6 +++ .../Directory.Build.targets | 6 +++ .../Microsoft.AspNetCore.SpaTemplates.csproj | 10 +++++ .../Microsoft.AspNetCore.SpaTemplates.nuspec | 40 +++++++++---------- .../content/Aurelia-CSharp/AureliaSpa.csproj | 10 ++--- .../Knockout-CSharp/KnockoutSpa.csproj | 10 ++--- .../content/Vue-CSharp/VueSpa.csproj | 10 ++--- .../Microsoft.DotNet.Web.ItemTemplates.nuspec | 2 + ...oft.DotNet.Web.ProjectTemplates.1.x.nuspec | 2 + ...oft.DotNet.Web.ProjectTemplates.2.0.nuspec | 2 + .../Directory.Build.props | 6 +++ .../Directory.Build.targets | 6 +++ ...oft.DotNet.Web.Spa.ProjectTemplates.csproj | 10 +++++ ...oft.DotNet.Web.Spa.ProjectTemplates.nuspec | 40 +++++++++---------- .../content/Angular-CSharp/AngularSpa.csproj | 10 ++--- .../content/React-CSharp/ReactSpa.csproj | 10 ++--- .../ReactRedux-CSharp/ReactReduxSpa.csproj | 10 ++--- 18 files changed, 134 insertions(+), 70 deletions(-) create mode 100644 src/Microsoft.AspNetCore.SpaTemplates/Directory.Build.props create mode 100644 src/Microsoft.AspNetCore.SpaTemplates/Directory.Build.targets create mode 100644 src/Microsoft.AspNetCore.SpaTemplates/Microsoft.AspNetCore.SpaTemplates.csproj create mode 100644 src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Directory.Build.props create mode 100644 src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Directory.Build.targets create mode 100644 src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Microsoft.DotNet.Web.Spa.ProjectTemplates.csproj diff --git a/Templating.sln b/Templating.sln index 27b2c6db22..f4a3a83b29 100644 --- a/Templating.sln +++ b/Templating.sln @@ -15,6 +15,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TemplatePackages", "Templat EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DependencyUpdater", "tools\DependencyUpdater\DependencyUpdater.csproj", "{15806338-550D-4418-99AE-42FDAE03808A}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.SpaTemplates", "src\Microsoft.AspNetCore.SpaTemplates\Microsoft.AspNetCore.SpaTemplates.csproj", "{01E12D5E-8540-4BC8-9A54-41EDD55E762E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.Web.Spa.ProjectTemplates", "src\Microsoft.DotNet.Web.Spa.ProjectTemplates\Microsoft.DotNet.Web.Spa.ProjectTemplates.csproj", "{402E62D1-7FD0-4E07-812C-0E385D98D6D9}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -41,6 +45,14 @@ Global {15806338-550D-4418-99AE-42FDAE03808A}.Debug|Any CPU.Build.0 = Debug|Any CPU {15806338-550D-4418-99AE-42FDAE03808A}.Release|Any CPU.ActiveCfg = Release|Any CPU {15806338-550D-4418-99AE-42FDAE03808A}.Release|Any CPU.Build.0 = Release|Any CPU + {01E12D5E-8540-4BC8-9A54-41EDD55E762E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {01E12D5E-8540-4BC8-9A54-41EDD55E762E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {01E12D5E-8540-4BC8-9A54-41EDD55E762E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {01E12D5E-8540-4BC8-9A54-41EDD55E762E}.Release|Any CPU.Build.0 = Release|Any CPU + {402E62D1-7FD0-4E07-812C-0E385D98D6D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {402E62D1-7FD0-4E07-812C-0E385D98D6D9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {402E62D1-7FD0-4E07-812C-0E385D98D6D9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {402E62D1-7FD0-4E07-812C-0E385D98D6D9}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -49,6 +61,8 @@ Global {ABC9D95C-7FBD-4F8D-827A-00942EA3D0C0} = {0AD6E692-E423-408C-B523-DAFB19412E4B} {B8EB8821-9B58-465A-9693-5F9289AA7B29} = {0AD6E692-E423-408C-B523-DAFB19412E4B} {62D00388-8824-4661-8CC8-8D8436FF97E6} = {0AD6E692-E423-408C-B523-DAFB19412E4B} + {01E12D5E-8540-4BC8-9A54-41EDD55E762E} = {0AD6E692-E423-408C-B523-DAFB19412E4B} + {402E62D1-7FD0-4E07-812C-0E385D98D6D9} = {0AD6E692-E423-408C-B523-DAFB19412E4B} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {E9B27B0D-4F85-431B-9C26-80CFE4393D36} diff --git a/src/Microsoft.AspNetCore.SpaTemplates/Directory.Build.props b/src/Microsoft.AspNetCore.SpaTemplates/Directory.Build.props new file mode 100644 index 0000000000..fa98bfe809 --- /dev/null +++ b/src/Microsoft.AspNetCore.SpaTemplates/Directory.Build.props @@ -0,0 +1,6 @@ + + + diff --git a/src/Microsoft.AspNetCore.SpaTemplates/Directory.Build.targets b/src/Microsoft.AspNetCore.SpaTemplates/Directory.Build.targets new file mode 100644 index 0000000000..fa98bfe809 --- /dev/null +++ b/src/Microsoft.AspNetCore.SpaTemplates/Directory.Build.targets @@ -0,0 +1,6 @@ + + + diff --git a/src/Microsoft.AspNetCore.SpaTemplates/Microsoft.AspNetCore.SpaTemplates.csproj b/src/Microsoft.AspNetCore.SpaTemplates/Microsoft.AspNetCore.SpaTemplates.csproj new file mode 100644 index 0000000000..456207cc1d --- /dev/null +++ b/src/Microsoft.AspNetCore.SpaTemplates/Microsoft.AspNetCore.SpaTemplates.csproj @@ -0,0 +1,10 @@ + + + + + + netcoreapp2.0 + Microsoft.AspNetCore.SpaTemplates.nuspec + + + diff --git a/src/Microsoft.AspNetCore.SpaTemplates/Microsoft.AspNetCore.SpaTemplates.nuspec b/src/Microsoft.AspNetCore.SpaTemplates/Microsoft.AspNetCore.SpaTemplates.nuspec index 1d2178fed7..681bf2912d 100644 --- a/src/Microsoft.AspNetCore.SpaTemplates/Microsoft.AspNetCore.SpaTemplates.nuspec +++ b/src/Microsoft.AspNetCore.SpaTemplates/Microsoft.AspNetCore.SpaTemplates.nuspec @@ -1,23 +1,23 @@ - - Microsoft.AspNetCore.SpaTemplates - 0.0.0 - Single Page Application templates for ASP.NET Core - Microsoft - en-US - https://github.com/aspnet/javascriptservices - https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm - Copyright © Microsoft Corporation - true - - - - - - - + + Microsoft.AspNetCore.SpaTemplates + $version$ + Microsoft + Single Page Application templates for ASP.NET Core + en-US + https://github.com/aspnet/javascriptservices + https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm + Copyright © Microsoft Corporation + true + + + + + + + diff --git a/src/Microsoft.AspNetCore.SpaTemplates/content/Aurelia-CSharp/AureliaSpa.csproj b/src/Microsoft.AspNetCore.SpaTemplates/content/Aurelia-CSharp/AureliaSpa.csproj index eff4c62c83..078dade5b7 100644 --- a/src/Microsoft.AspNetCore.SpaTemplates/content/Aurelia-CSharp/AureliaSpa.csproj +++ b/src/Microsoft.AspNetCore.SpaTemplates/content/Aurelia-CSharp/AureliaSpa.csproj @@ -9,13 +9,13 @@ - + - - - - + + + + diff --git a/src/Microsoft.AspNetCore.SpaTemplates/content/Knockout-CSharp/KnockoutSpa.csproj b/src/Microsoft.AspNetCore.SpaTemplates/content/Knockout-CSharp/KnockoutSpa.csproj index eff4c62c83..078dade5b7 100644 --- a/src/Microsoft.AspNetCore.SpaTemplates/content/Knockout-CSharp/KnockoutSpa.csproj +++ b/src/Microsoft.AspNetCore.SpaTemplates/content/Knockout-CSharp/KnockoutSpa.csproj @@ -9,13 +9,13 @@ - + - - - - + + + + diff --git a/src/Microsoft.AspNetCore.SpaTemplates/content/Vue-CSharp/VueSpa.csproj b/src/Microsoft.AspNetCore.SpaTemplates/content/Vue-CSharp/VueSpa.csproj index eff4c62c83..078dade5b7 100644 --- a/src/Microsoft.AspNetCore.SpaTemplates/content/Vue-CSharp/VueSpa.csproj +++ b/src/Microsoft.AspNetCore.SpaTemplates/content/Vue-CSharp/VueSpa.csproj @@ -9,13 +9,13 @@ - + - - - - + + + + diff --git a/src/Microsoft.DotNet.Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.nuspec b/src/Microsoft.DotNet.Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.nuspec index 56b24e1ad5..1992b80bea 100644 --- a/src/Microsoft.DotNet.Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.nuspec +++ b/src/Microsoft.DotNet.Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.nuspec @@ -8,6 +8,8 @@ en-US https://github.com/dotnet/templating https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm + Copyright © Microsoft Corporation + true diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates.1.x/Microsoft.DotNet.Web.ProjectTemplates.1.x.nuspec b/src/Microsoft.DotNet.Web.ProjectTemplates.1.x/Microsoft.DotNet.Web.ProjectTemplates.1.x.nuspec index 32709686a8..42bf1c608d 100644 --- a/src/Microsoft.DotNet.Web.ProjectTemplates.1.x/Microsoft.DotNet.Web.ProjectTemplates.1.x.nuspec +++ b/src/Microsoft.DotNet.Web.ProjectTemplates.1.x/Microsoft.DotNet.Web.ProjectTemplates.1.x.nuspec @@ -8,6 +8,8 @@ en-US https://github.com/dotnet/templating https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm + Copyright © Microsoft Corporation + true diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates.2.0/Microsoft.DotNet.Web.ProjectTemplates.2.0.nuspec b/src/Microsoft.DotNet.Web.ProjectTemplates.2.0/Microsoft.DotNet.Web.ProjectTemplates.2.0.nuspec index c194df847f..0d65c52d6d 100644 --- a/src/Microsoft.DotNet.Web.ProjectTemplates.2.0/Microsoft.DotNet.Web.ProjectTemplates.2.0.nuspec +++ b/src/Microsoft.DotNet.Web.ProjectTemplates.2.0/Microsoft.DotNet.Web.ProjectTemplates.2.0.nuspec @@ -8,6 +8,8 @@ en-US https://github.com/dotnet/templating https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm + Copyright © Microsoft Corporation + true diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Directory.Build.props b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Directory.Build.props new file mode 100644 index 0000000000..fa98bfe809 --- /dev/null +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Directory.Build.props @@ -0,0 +1,6 @@ + + + diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Directory.Build.targets b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Directory.Build.targets new file mode 100644 index 0000000000..fa98bfe809 --- /dev/null +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Directory.Build.targets @@ -0,0 +1,6 @@ + + + diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Microsoft.DotNet.Web.Spa.ProjectTemplates.csproj b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Microsoft.DotNet.Web.Spa.ProjectTemplates.csproj new file mode 100644 index 0000000000..e4962abb4f --- /dev/null +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Microsoft.DotNet.Web.Spa.ProjectTemplates.csproj @@ -0,0 +1,10 @@ + + + + + + netcoreapp2.0 + Microsoft.DotNet.Web.Spa.ProjectTemplates.nuspec + + + diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Microsoft.DotNet.Web.Spa.ProjectTemplates.nuspec b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Microsoft.DotNet.Web.Spa.ProjectTemplates.nuspec index 71ecb54fee..a3b6ca51aa 100644 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Microsoft.DotNet.Web.Spa.ProjectTemplates.nuspec +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Microsoft.DotNet.Web.Spa.ProjectTemplates.nuspec @@ -1,23 +1,23 @@ - - Microsoft.DotNet.Web.Spa.ProjectTemplates - 0.0.0 - Single Page Application templates for ASP.NET Core - Microsoft - en-US - https://github.com/aspnet/javascriptservices - https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm - Copyright © Microsoft Corporation - true - - - - - - - + + Microsoft.DotNet.Web.Spa.ProjectTemplates + $version$ + Microsoft + Single Page Application templates for ASP.NET Core + en-US + https://github.com/aspnet/javascriptservices + https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm + Copyright © Microsoft Corporation + true + + + + + + + diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/AngularSpa.csproj b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/AngularSpa.csproj index c2c5cfe338..8e9fe0cdff 100644 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/AngularSpa.csproj +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/AngularSpa.csproj @@ -9,13 +9,13 @@ - + - - - - + + + + diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/React-CSharp/ReactSpa.csproj b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/React-CSharp/ReactSpa.csproj index eff4c62c83..078dade5b7 100644 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/React-CSharp/ReactSpa.csproj +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/React-CSharp/ReactSpa.csproj @@ -9,13 +9,13 @@ - + - - - - + + + + diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ReactReduxSpa.csproj b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ReactReduxSpa.csproj index c2c5cfe338..8e9fe0cdff 100644 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ReactReduxSpa.csproj +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ReactReduxSpa.csproj @@ -9,13 +9,13 @@ - + - - - - + + + +