In standalone template, generate a launchSettings.json that doesn't have
IISExpress. Fixes #235
This commit is contained in:
parent
1d31a80b50
commit
eb727c0464
|
|
@ -19,7 +19,7 @@
|
||||||
<files>
|
<files>
|
||||||
<file
|
<file
|
||||||
src="content/**/*"
|
src="content/**/*"
|
||||||
exclude="**/launchSettings.json;**/node_modules/**;**/bin/**;**/obj/**;**/*.user;**/.vs/**;**/.vscode/**;content/Directory.Build.*"
|
exclude="content/BlazorHosted.CSharp.Client/Properties/launchSettings.json;content/BlazorHosted.CSharp.Server/Properties/launchSettings.json;**/node_modules/**;**/bin/**;**/obj/**;**/*.user;**/.vs/**;**/.vscode/**;content/Directory.Build.*"
|
||||||
target="Content" />
|
target="Content" />
|
||||||
</files>
|
</files>
|
||||||
</package>
|
</package>
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,24 @@
|
||||||
"type": "bind",
|
"type": "bind",
|
||||||
"binding": "HostIdentifier"
|
"binding": "HostIdentifier"
|
||||||
},
|
},
|
||||||
|
"HttpPort": {
|
||||||
|
"type": "parameter",
|
||||||
|
"datatype": "integer",
|
||||||
|
"description": "Port number to use for the HTTP endpoint in launchSettings.json."
|
||||||
|
},
|
||||||
|
"HttpPortGenerated": {
|
||||||
|
"type": "generated",
|
||||||
|
"generator": "port"
|
||||||
|
},
|
||||||
|
"HttpPortReplacer": {
|
||||||
|
"type": "generated",
|
||||||
|
"generator": "coalesce",
|
||||||
|
"parameters": {
|
||||||
|
"sourceVariableName": "HttpPort",
|
||||||
|
"fallbackVariableName": "HttpPortGenerated"
|
||||||
|
},
|
||||||
|
"replaces": "61501"
|
||||||
|
},
|
||||||
"skipRestore": {
|
"skipRestore": {
|
||||||
"type": "parameter",
|
"type": "parameter",
|
||||||
"datatype": "bool",
|
"datatype": "bool",
|
||||||
|
|
|
||||||
|
|
@ -15,5 +15,11 @@
|
||||||
"learnMoreLink": "https://github.com/aspnet/blazor",
|
"learnMoreLink": "https://github.com/aspnet/blazor",
|
||||||
"uiFilters": [
|
"uiFilters": [
|
||||||
"oneaspnet"
|
"oneaspnet"
|
||||||
|
],
|
||||||
|
"ports": [
|
||||||
|
{
|
||||||
|
"name": "HttpPort",
|
||||||
|
"useHttps": false
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"profiles": {
|
||||||
|
"BlazorStandalone.CSharp": {
|
||||||
|
"commandName": "Project",
|
||||||
|
"launchBrowser": true,
|
||||||
|
"environmentVariables": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
},
|
||||||
|
"applicationUrl": "http://localhost:61501/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue