diff --git a/Directory.Build.props b/Directory.Build.props index 7342d151e1..92ebf42a30 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,10 +1,17 @@ + + - false + Microsoft ASP.NET Core + $(MSBuildThisFileDirectory) + https://github.com/aspnet/templating + git true diff --git a/build/dependencies.props b/build/dependencies.props index 54cbb62c85..77dd2dba8c 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -3,7 +3,7 @@ $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - 2.1.0-preview2-15742 + 2.1.0-preview2-15746 2.1.0-preview2-30355 2.1.0-preview2-30355 2.1.0-preview2-30355 diff --git a/korebuild-lock.txt b/korebuild-lock.txt index e761020952..e21a153898 100644 --- a/korebuild-lock.txt +++ b/korebuild-lock.txt @@ -1,2 +1,2 @@ -version:2.1.0-preview2-15742 -commithash:21fbb0f2c3fe4a9216e2d59632b98cfd7d685962 +version:2.1.0-preview2-15746 +commithash:d5f868ce395d404711be71181179fcf63643641e diff --git a/src/Directory.Build.props b/src/Directory.Build.props index dfe4379d0b..03608a0aa8 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -7,6 +7,9 @@ False False 2008;8021 + aspnet;templates + $(MSBuildThisFileDirectory)templates.nuspec + $(MSBuildProjectDirectory) diff --git a/src/Microsoft.DotNet.Web.Client.ItemTemplates/Microsoft.DotNet.Web.Client.ItemTemplates.csproj b/src/Microsoft.DotNet.Web.Client.ItemTemplates/Microsoft.DotNet.Web.Client.ItemTemplates.csproj index bfeaf5583c..fa34138de5 100644 --- a/src/Microsoft.DotNet.Web.Client.ItemTemplates/Microsoft.DotNet.Web.Client.ItemTemplates.csproj +++ b/src/Microsoft.DotNet.Web.Client.ItemTemplates/Microsoft.DotNet.Web.Client.ItemTemplates.csproj @@ -2,7 +2,7 @@ netcoreapp2.1 - Microsoft.DotNet.Web.Client.ItemTemplates.nuspec + Web Client-Side File Templates for Microsoft Template Engine diff --git a/src/Microsoft.DotNet.Web.Client.ItemTemplates/Microsoft.DotNet.Web.Client.ItemTemplates.nuspec b/src/Microsoft.DotNet.Web.Client.ItemTemplates/Microsoft.DotNet.Web.Client.ItemTemplates.nuspec deleted file mode 100644 index a197d32981..0000000000 --- a/src/Microsoft.DotNet.Web.Client.ItemTemplates/Microsoft.DotNet.Web.Client.ItemTemplates.nuspec +++ /dev/null @@ -1,22 +0,0 @@ - - - - Microsoft.DotNet.Web.Client.ItemTemplates - $version$ - Microsoft - Web Client-Side File Templates for Microsoft Template Engine - http://go.microsoft.com/fwlink/?LinkID=288859 - en-US - https://github.com/dotnet/templating - https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm - Copyright © Microsoft Corporation - true - aspnet templates - - - - - - - - diff --git a/src/Microsoft.DotNet.Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.csproj b/src/Microsoft.DotNet.Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.csproj index 6a2c8e0762..6a6bf62bb8 100644 --- a/src/Microsoft.DotNet.Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.csproj +++ b/src/Microsoft.DotNet.Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.csproj @@ -2,7 +2,7 @@ netcoreapp2.1 - Microsoft.DotNet.Web.ItemTemplates.nuspec + Web File Templates for Microsoft Template Engine diff --git a/src/Microsoft.DotNet.Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.nuspec b/src/Microsoft.DotNet.Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.nuspec deleted file mode 100644 index b68a93793a..0000000000 --- a/src/Microsoft.DotNet.Web.ItemTemplates/Microsoft.DotNet.Web.ItemTemplates.nuspec +++ /dev/null @@ -1,22 +0,0 @@ - - - - Microsoft.DotNet.Web.ItemTemplates - $version$ - Microsoft - Web File Templates for Microsoft Template Engine - http://go.microsoft.com/fwlink/?LinkID=288859 - en-US - https://github.com/dotnet/templating - https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm - Copyright © Microsoft Corporation - true - aspnet templates - - - - - - - - diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates/Microsoft.DotNet.Web.ProjectTemplates.csproj b/src/Microsoft.DotNet.Web.ProjectTemplates/Microsoft.DotNet.Web.ProjectTemplates.csproj index ead011a142..2829a3cdb0 100644 --- a/src/Microsoft.DotNet.Web.ProjectTemplates/Microsoft.DotNet.Web.ProjectTemplates.csproj +++ b/src/Microsoft.DotNet.Web.ProjectTemplates/Microsoft.DotNet.Web.ProjectTemplates.csproj @@ -5,7 +5,7 @@ netcoreapp2.1 Microsoft.DotNet.Web.ProjectTemplates.2.1 - Microsoft.DotNet.Web.ProjectTemplates.nuspec + ASP.NET Core Web Template Pack for Microsoft Template Engine diff --git a/src/Microsoft.DotNet.Web.ProjectTemplates/Microsoft.DotNet.Web.ProjectTemplates.nuspec b/src/Microsoft.DotNet.Web.ProjectTemplates/Microsoft.DotNet.Web.ProjectTemplates.nuspec deleted file mode 100644 index e0bbc9cca1..0000000000 --- a/src/Microsoft.DotNet.Web.ProjectTemplates/Microsoft.DotNet.Web.ProjectTemplates.nuspec +++ /dev/null @@ -1,22 +0,0 @@ - - - - Microsoft.DotNet.Web.ProjectTemplates.2.1 - $version$ - Microsoft - ASP.NET Core Web Template Pack for Microsoft Template Engine - http://go.microsoft.com/fwlink/?LinkID=288859 - en-US - https://github.com/dotnet/templating - https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm - Copyright © Microsoft Corporation - true - aspnet templates - - - - - - - - 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 index ed7ae00d8c..5cb599a956 100644 --- 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 @@ -4,7 +4,8 @@ netcoreapp2.1 - Microsoft.DotNet.Web.Spa.ProjectTemplates.nuspec + Single Page Application templates for ASP.NET Core + $(PackageTags);spa 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 deleted file mode 100644 index 7edc9c7bb3..0000000000 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Microsoft.DotNet.Web.Spa.ProjectTemplates.nuspec +++ /dev/null @@ -1,25 +0,0 @@ - - - - Microsoft.DotNet.Web.Spa.ProjectTemplates - $version$ - Microsoft - Single Page Application templates for ASP.NET Core - http://go.microsoft.com/fwlink/?LinkID=288859 - en-US - https://github.com/aspnet/javascriptservices - https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm - Copyright © Microsoft Corporation - true - aspnet templates spa - - - - - - - - diff --git a/src/SetPackageProperties.targets b/src/SetPackageProperties.targets index d98dae4333..0d4c99dde3 100644 --- a/src/SetPackageProperties.targets +++ b/src/SetPackageProperties.targets @@ -3,7 +3,18 @@ $(NuspecProperties); + id=$(PackageId); version=$(PackageVersion); + licenseUrl=$(PackageLicenseUrl); + iconUrl=$(PackageIconUrl); + description=$(Description); + author=$(Authors); + copyright=$(Copyright); + tags=$(PackageTags.Replace(';', ' ')); + projectUrl=$(PackageProjectUrl); + repositoryUrl=$(RepositoryUrl); + repositoryType=$(RepositoryType); + repositoryCommit=$(RepositoryCommit); diff --git a/src/templates.nuspec b/src/templates.nuspec new file mode 100644 index 0000000000..da8ee99dee --- /dev/null +++ b/src/templates.nuspec @@ -0,0 +1,26 @@ + + + + $id$ + $version$ + $author$ + $description$ + $iconUrl$ + en-US + true + $projectUrl$ + $licenseUrl$ + $copyright$ + $tags$ + + + + + + + + +