Make templates show up in the One ASP.NET dialog (#208)
* Add templates parameter * Fix primary outputs * Reorder primary outputs * Update hosted template name * Fix whitespace
This commit is contained in:
parent
493992ad04
commit
969b8b86a6
|
|
@ -4,6 +4,9 @@
|
|||
"skipRestore": {
|
||||
"longName": "no-restore",
|
||||
"shortName": ""
|
||||
},
|
||||
"Framework": {
|
||||
"longName": "framework"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -17,7 +17,32 @@
|
|||
"preferNameDirectory": true,
|
||||
"primaryOutputs": [
|
||||
{
|
||||
"condition": "(HostIdentifier == \"dotnetcli\" || HostIdentifier == \"dotnetcli-preview\")",
|
||||
"path": "BlazorHosted.CSharp.sln"
|
||||
},
|
||||
{
|
||||
"condition": "(OS == \"Windows_NT\" && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"condition": "(OS == \"Windows_NT\" && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"condition": "(OS == \"Windows_NT\" && HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"shortName": "blazorhosted",
|
||||
|
|
@ -32,6 +57,19 @@
|
|||
}
|
||||
],
|
||||
"symbols": {
|
||||
"Framework": {
|
||||
"type": "parameter",
|
||||
"description": "The target framework for the project.",
|
||||
"datatype": "choice",
|
||||
"choices": [
|
||||
{
|
||||
"choice": "netcoreapp2.0",
|
||||
"description": "Target netcoreapp2.0"
|
||||
}
|
||||
],
|
||||
"replaces": "netcoreapp2.0",
|
||||
"defaultValue": "netcoreapp2.0"
|
||||
},
|
||||
"HostIdentifier": {
|
||||
"type": "bind",
|
||||
"binding": "HostIdentifier"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "http://json.schemastore.org/vs-2017.3.host",
|
||||
"name": {
|
||||
"text": "Blazor, hosted in a ASP.NET Web Application",
|
||||
"text": "Blazor (ASP.NET Core hosted)",
|
||||
"package": "{0CD94836-1526-4E85-87D3-FB5274C5AFC9}",
|
||||
"id": "1050"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@
|
|||
"skipRestore": {
|
||||
"longName": "no-restore",
|
||||
"shortName": ""
|
||||
},
|
||||
"Framework": {
|
||||
"longName": "framework"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -26,6 +26,19 @@
|
|||
}
|
||||
],
|
||||
"symbols": {
|
||||
"Framework": {
|
||||
"type": "parameter",
|
||||
"description": "The target framework for the project.",
|
||||
"datatype": "choice",
|
||||
"choices": [
|
||||
{
|
||||
"choice": "netcoreapp2.0",
|
||||
"description": "Target netcoreapp2.0"
|
||||
}
|
||||
],
|
||||
"replaces": "netcoreapp2.0",
|
||||
"defaultValue": "netcoreapp2.0"
|
||||
},
|
||||
"HostIdentifier": {
|
||||
"type": "bind",
|
||||
"binding": "HostIdentifier"
|
||||
|
|
|
|||
Loading…
Reference in New Issue