aspnetcore/src/Microsoft.DotNet.Web.Projec.../content/EmptyWeb-CSharp/.template.config/template.json

130 lines
3.6 KiB
JSON

{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Web", "Empty"],
"name": "ASP.NET Core Empty",
"generatorVersions": "[1.0.0.0-*)",
"description": "An empty project template for creating an ASP.NET Core application. This template does not have any content in it.",
"groupIdentity": "Microsoft.Web.Empty",
"precedence": "3000",
"identity": "Microsoft.Web.Empty.CSharp.2.1",
"shortName": "web",
"thirdPartyNotices": "https://aka.ms/template-3pn",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "Company.WebApplication1",
"preferNameDirectory": true,
"guids": [ "53bc9b9d-9d6a-45d4-8429-2a2761773502" ],
"sources": [
{
"modifiers": [
{
"condition": "(!IncludeLaunchSettings)",
"exclude": [
"Properties/launchSettings.json"
]
},
]
}
],
"symbols": {
"RuntimeFrameworkVersion": {
"type": "parameter",
"replaces": "2.1.0-preview2-25624-02",
"datatype": "string",
"defaultValue": "2.1.0-preview2-25624-02"
},
"IncludeLaunchSettings": {
"type": "parameter",
"datatype": "bool",
"defaultValue": "false",
"description": "Whether to include launchSettings.json in the generated template."
},
"KestrelPort": {
"type": "parameter",
"datatype": "integer",
"description": "Port number to use to configure Kestrel in launchSettings.json."
},
"KestrelPortGenerated": {
"type": "generated",
"generator": "port"
},
"KestrelPortReplacer": {
"type": "generated",
"generator": "coalesce",
"parameters": {
"sourceVariableName": "KestrelPort",
"fallbackVariableName": "KestrelPortGenerated"
},
"replaces": "5000"
},
"IISExpressPort": {
"type": "parameter",
"datatype": "integer",
"description": "Port number to use to configure IIS Express in launchSettings.json."
},
"IISExpressPortGenerated": {
"type": "generated",
"generator": "port"
},
"IISExpressPortReplacer": {
"type": "generated",
"generator": "coalesce",
"parameters": {
"sourceVariableName": "IISExpressPort",
"fallbackVariableName": "IISExpressPortGenerated"
},
"replaces": "55556"
},
"TargetFrameworkOverride": {
"type": "parameter",
"description": "Overrides the target framework",
"replaces": "TargetFrameworkOverride",
"datatype": "string",
"defaultValue": ""
},
"Framework": {
"type": "parameter",
"description": "The target framework for the project.",
"datatype": "choice",
"choices": [
{
"choice": "netcoreapp2.1",
"description": "Target netcoreapp2.1"
}
],
"replaces": "netcoreapp2.1",
"defaultValue": "netcoreapp2.1"
},
"copyrightYear": {
"type": "generated",
"generator": "now",
"replaces": "1975",
"parameters": {
"format": "yyyy"
}
},
"skipRestore": {
"type": "parameter",
"datatype": "bool",
"description": "If specified, skips the automatic restore of the project on create.",
"defaultValue": "false"
}
},
"primaryOutputs": [ { "path": "Company.WebApplication1.csproj" } ],
"defaultName": "WebApplication1",
"postActions": [
{
"condition": "(!skipRestore)",
"description": "Restore NuGet packages required by this project.",
"manualInstructions": [
{ "text": "Run 'dotnet restore'" }
],
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
"continueOnError": true
}
]
}