Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
<ToolsDir>$(RepoRoot)tools\</ToolsDir>
<ToolsTempDir>$(RepoRoot).tools\</ToolsTempDir>
<LocalizeDir>$(RepoRoot)localize\</LocalizeDir>
<TemplatesDir>$(ArtifactsDir)templates\</TemplatesDir>
<TemplatesNoTimestampDir>$(ArtifactsDir)templates-notimestamp\</TemplatesNoTimestampDir>
<TemplatesDir>$(RepoRoot)template_feed\</TemplatesDir>
<SrcDir>$(RepoRoot)src\</SrcDir>
<TestDir>$(RepoRoot)test\</TestDir>
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
Expand Down
32 changes: 32 additions & 0 deletions Microsoft.TemplateEngine.sln
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Microsoft.TemplateEngine.Co
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.TemplateEngine.Authoring.TemplateApiVerifier", "tools\Microsoft.TemplateEngine.Authoring.TemplateApiVerifier\Microsoft.TemplateEngine.Authoring.TemplateApiVerifier.csproj", "{449B9DDA-F18C-411E-9A74-3930652BB78A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "template-feed", "template-feed", "{FF433F83-22C2-46E0-99B3-4FFCA5190A94}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.TemplateEngine.Authoring.Templates", "template_feed\Microsoft.TemplateEngine.Authoring.Templates\Microsoft.TemplateEngine.Authoring.Templates.csproj", "{1F74F8F5-99E4-47AE-8608-6D470325E81C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests", "test\Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests\Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests.csproj", "{8651DEEB-0291-4E49-92AA-3B097DAF9D37}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -484,6 +490,30 @@ Global
{449B9DDA-F18C-411E-9A74-3930652BB78A}.Release|x64.Build.0 = Release|Any CPU
{449B9DDA-F18C-411E-9A74-3930652BB78A}.Release|x86.ActiveCfg = Release|Any CPU
{449B9DDA-F18C-411E-9A74-3930652BB78A}.Release|x86.Build.0 = Release|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Debug|x64.ActiveCfg = Debug|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Debug|x64.Build.0 = Debug|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Debug|x86.ActiveCfg = Debug|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Debug|x86.Build.0 = Debug|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Release|Any CPU.Build.0 = Release|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Release|x64.ActiveCfg = Release|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Release|x64.Build.0 = Release|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Release|x86.ActiveCfg = Release|Any CPU
{1F74F8F5-99E4-47AE-8608-6D470325E81C}.Release|x86.Build.0 = Release|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Debug|x64.ActiveCfg = Debug|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Debug|x64.Build.0 = Debug|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Debug|x86.ActiveCfg = Debug|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Debug|x86.Build.0 = Debug|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Release|Any CPU.Build.0 = Release|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Release|x64.ActiveCfg = Release|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Release|x64.Build.0 = Release|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Release|x86.ActiveCfg = Release|Any CPU
{8651DEEB-0291-4E49-92AA-3B097DAF9D37}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -523,6 +553,8 @@ Global
{43053BC4-32B4-4404-B62D-410F367CE0CE} = {B794BF86-4185-4DCE-AC86-C27D5D966B9B}
{EE8CD472-D8C4-4CD0-BC84-6C305F5971AE} = {43053BC4-32B4-4404-B62D-410F367CE0CE}
{449B9DDA-F18C-411E-9A74-3930652BB78A} = {B794BF86-4185-4DCE-AC86-C27D5D966B9B}
{1F74F8F5-99E4-47AE-8608-6D470325E81C} = {FF433F83-22C2-46E0-99B3-4FFCA5190A94}
{8651DEEB-0291-4E49-92AA-3B097DAF9D37} = {8B498D0C-F488-4B38-8A7D-B20BF9DB6F60}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6EA1A508-6033-4538-BF98-7F71B4E297AD}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(NETCoreTargetFramework)</TargetFramework>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeSource>False</IncludeSource>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
<OutputPath>$(ArtifactsTmpDir)</OutputPath>
<EnableDefaultItems>False</EnableDefaultItems>
<UsingToolTemplateLocalizer>true</UsingToolTemplateLocalizer>
<IsPackable>true</IsPackable>
<IsShipping>true</IsShipping>
<IsShippingPackage>true</IsShippingPackage>
<NoWarn>2008;NU5105</NoWarn>
<NoPackageAnalysis>true</NoPackageAnalysis>
<PackageId>Microsoft.TemplateEngine.Authoring.Templates</PackageId>
<Authors>Microsoft</Authors>
<Description>The templates for useful items and projects for template authoring.</Description>
<language>en-US</language>
<PackageProjectUrl>https://github.com/dotnet/templating</PackageProjectUrl>
<PackageType>Template</PackageType>
<SuppressDependenciesWhenPacking>True</SuppressDependenciesWhenPacking>
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Remove="Microsoft.NETCore.App" />
<Content Include="content\**">
<PackagePath>content</PackagePath>
</Content>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## The templates for template authoring

The package contains the templates useful for the template authoring:
| Template name | Short name | Description|
|---|---|---|
|`template.json` configuration file|`template.json`|A template for template.json configuration file for .NET template.|
|Template Package|`template-package`|A project for creating template package containing .NET templates.|

The package is available for download from nuget.org.
Please feel to contribute or provide the feedback in discussions or via opening the issue in dotnet/templating repo.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"CreateTemplateConfigFolder": {
"longName": "create-template-config-folder",
"shortName": ""
},
"TemplateName": {
"longName": "template-name",
"shortName": "tn"
},
"TemplateShortName": {
"longName": "short-name",
"shortName": "sn"
},
"TemplateIdentity": {
"longName": "template-identity",
"shortName": "ti"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"author": "Microsoft",
"name": "template.json configuration file",
"description": "A template for template.json configuration file for .NET template. See https://aka.ms/template-json-reference for complete configuration description.",
"symbols/CreateTemplateConfigFolder/description": "True when template.json should be created in .template.config folder.",
"symbols/CreateTemplateConfigFolder/displayName": "Create .template.config folder",
"symbols/TemplateName/description": "The template name.",
"symbols/TemplateName/displayName": "Template name",
"symbols/TemplateShortName/description": "The template short name.",
"symbols/TemplateShortName/displayName": "Template short name",
"symbols/TemplateIdentity/description": "The template identity (should be unique).",
"symbols/TemplateIdentity/displayName": "Template identity",
"postActions/instructions/description": "Manual actions required",
"postActions/instructions/manualInstructions/default/text": "Open template.json in the editor and complete the configuration."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"author": "Microsoft",
"name": "template.json configuration file",
"description": "A template for template.json configuration file for .NET template. See https://aka.ms/template-json-reference for complete configuration description.",
"symbols/CreateTemplateConfigFolder/description": "True when template.json should be created in .template.config folder.",
"symbols/CreateTemplateConfigFolder/displayName": "Create .template.config folder",
"symbols/TemplateName/description": "The template name.",
"symbols/TemplateName/displayName": "Template name",
"symbols/TemplateShortName/description": "The template short name.",
"symbols/TemplateShortName/displayName": "Template short name",
"symbols/TemplateIdentity/description": "The template identity (should be unique).",
"symbols/TemplateIdentity/displayName": "Template identity",
"postActions/instructions/description": "Manual actions required",
"postActions/instructions/manualInstructions/default/text": "Open template.json in the editor and complete the configuration."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"author": "Microsoft",
"name": "template.json configuration file",
"description": "A template for template.json configuration file for .NET template. See https://aka.ms/template-json-reference for complete configuration description.",
"symbols/CreateTemplateConfigFolder/description": "True when template.json should be created in .template.config folder.",
"symbols/CreateTemplateConfigFolder/displayName": "Create .template.config folder",
"symbols/TemplateName/description": "The template name.",
"symbols/TemplateName/displayName": "Template name",
"symbols/TemplateShortName/description": "The template short name.",
"symbols/TemplateShortName/displayName": "Template short name",
"symbols/TemplateIdentity/description": "The template identity (should be unique).",
"symbols/TemplateIdentity/displayName": "Template identity",
"postActions/instructions/description": "Manual actions required",
"postActions/instructions/manualInstructions/default/text": "Open template.json in the editor and complete the configuration."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"author": "Microsoft",
"name": "template.json configuration file",
"description": "A template for template.json configuration file for .NET template. See https://aka.ms/template-json-reference for complete configuration description.",
"symbols/CreateTemplateConfigFolder/description": "True when template.json should be created in .template.config folder.",
"symbols/CreateTemplateConfigFolder/displayName": "Create .template.config folder",
"symbols/TemplateName/description": "The template name.",
"symbols/TemplateName/displayName": "Template name",
"symbols/TemplateShortName/description": "The template short name.",
"symbols/TemplateShortName/displayName": "Template short name",
"symbols/TemplateIdentity/description": "The template identity (should be unique).",
"symbols/TemplateIdentity/displayName": "Template identity",
"postActions/instructions/description": "Manual actions required",
"postActions/instructions/manualInstructions/default/text": "Open template.json in the editor and complete the configuration."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"author": "Microsoft",
"name": "template.json configuration file",
"description": "A template for template.json configuration file for .NET template. See https://aka.ms/template-json-reference for complete configuration description.",
"symbols/CreateTemplateConfigFolder/description": "True when template.json should be created in .template.config folder.",
"symbols/CreateTemplateConfigFolder/displayName": "Create .template.config folder",
"symbols/TemplateName/description": "The template name.",
"symbols/TemplateName/displayName": "Template name",
"symbols/TemplateShortName/description": "The template short name.",
"symbols/TemplateShortName/displayName": "Template short name",
"symbols/TemplateIdentity/description": "The template identity (should be unique).",
"symbols/TemplateIdentity/displayName": "Template identity",
"postActions/instructions/description": "Manual actions required",
"postActions/instructions/manualInstructions/default/text": "Open template.json in the editor and complete the configuration."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"author": "Microsoft",
"name": "template.json configuration file",
"description": "A template for template.json configuration file for .NET template. See https://aka.ms/template-json-reference for complete configuration description.",
"symbols/CreateTemplateConfigFolder/description": "True when template.json should be created in .template.config folder.",
"symbols/CreateTemplateConfigFolder/displayName": "Create .template.config folder",
"symbols/TemplateName/description": "The template name.",
"symbols/TemplateName/displayName": "Template name",
"symbols/TemplateShortName/description": "The template short name.",
"symbols/TemplateShortName/displayName": "Template short name",
"symbols/TemplateIdentity/description": "The template identity (should be unique).",
"symbols/TemplateIdentity/displayName": "Template identity",
"postActions/instructions/description": "Manual actions required",
"postActions/instructions/manualInstructions/default/text": "Open template.json in the editor and complete the configuration."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"author": "Microsoft",
"name": "template.json configuration file",
"description": "A template for template.json configuration file for .NET template. See https://aka.ms/template-json-reference for complete configuration description.",
"symbols/CreateTemplateConfigFolder/description": "True when template.json should be created in .template.config folder.",
"symbols/CreateTemplateConfigFolder/displayName": "Create .template.config folder",
"symbols/TemplateName/description": "The template name.",
"symbols/TemplateName/displayName": "Template name",
"symbols/TemplateShortName/description": "The template short name.",
"symbols/TemplateShortName/displayName": "Template short name",
"symbols/TemplateIdentity/description": "The template identity (should be unique).",
"symbols/TemplateIdentity/displayName": "Template identity",
"postActions/instructions/description": "Manual actions required",
"postActions/instructions/manualInstructions/default/text": "Open template.json in the editor and complete the configuration."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"author": "Microsoft",
"name": "template.json configuration file",
"description": "A template for template.json configuration file for .NET template. See https://aka.ms/template-json-reference for complete configuration description.",
"symbols/CreateTemplateConfigFolder/description": "True when template.json should be created in .template.config folder.",
"symbols/CreateTemplateConfigFolder/displayName": "Create .template.config folder",
"symbols/TemplateName/description": "The template name.",
"symbols/TemplateName/displayName": "Template name",
"symbols/TemplateShortName/description": "The template short name.",
"symbols/TemplateShortName/displayName": "Template short name",
"symbols/TemplateIdentity/description": "The template identity (should be unique).",
"symbols/TemplateIdentity/displayName": "Template identity",
"postActions/instructions/description": "Manual actions required",
"postActions/instructions/manualInstructions/default/text": "Open template.json in the editor and complete the configuration."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"author": "Microsoft",
"name": "template.json configuration file",
"description": "A template for template.json configuration file for .NET template. See https://aka.ms/template-json-reference for complete configuration description.",
"symbols/CreateTemplateConfigFolder/description": "True when template.json should be created in .template.config folder.",
"symbols/CreateTemplateConfigFolder/displayName": "Create .template.config folder",
"symbols/TemplateName/description": "The template name.",
"symbols/TemplateName/displayName": "Template name",
"symbols/TemplateShortName/description": "The template short name.",
"symbols/TemplateShortName/displayName": "Template short name",
"symbols/TemplateIdentity/description": "The template identity (should be unique).",
"symbols/TemplateIdentity/displayName": "Template identity",
"postActions/instructions/description": "Manual actions required",
"postActions/instructions/manualInstructions/default/text": "Open template.json in the editor and complete the configuration."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"author": "Microsoft",
"name": "template.json configuration file",
"description": "A template for template.json configuration file for .NET template. See https://aka.ms/template-json-reference for complete configuration description.",
"symbols/CreateTemplateConfigFolder/description": "True when template.json should be created in .template.config folder.",
"symbols/CreateTemplateConfigFolder/displayName": "Create .template.config folder",
"symbols/TemplateName/description": "The template name.",
"symbols/TemplateName/displayName": "Template name",
"symbols/TemplateShortName/description": "The template short name.",
"symbols/TemplateShortName/displayName": "Template short name",
"symbols/TemplateIdentity/description": "The template identity (should be unique).",
"symbols/TemplateIdentity/displayName": "Template identity",
"postActions/instructions/description": "Manual actions required",
"postActions/instructions/manualInstructions/default/text": "Open template.json in the editor and complete the configuration."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"author": "Microsoft",
"name": "template.json configuration file",
"description": "A template for template.json configuration file for .NET template. See https://aka.ms/template-json-reference for complete configuration description.",
"symbols/CreateTemplateConfigFolder/description": "True when template.json should be created in .template.config folder.",
"symbols/CreateTemplateConfigFolder/displayName": "Create .template.config folder",
"symbols/TemplateName/description": "The template name.",
"symbols/TemplateName/displayName": "Template name",
"symbols/TemplateShortName/description": "The template short name.",
"symbols/TemplateShortName/displayName": "Template short name",
"symbols/TemplateIdentity/description": "The template identity (should be unique).",
"symbols/TemplateIdentity/displayName": "Template identity",
"postActions/instructions/description": "Manual actions required",
"postActions/instructions/manualInstructions/default/text": "Open template.json in the editor and complete the configuration."
}
Loading