You can post it for iis.
There are four things you need to do, except that iis is installed in disconnected mode:
, iis.
https://docs.microsoft.com/en-us/aspnet/core/publishing/iis
visual studio 2017.
Update:
FlubuCore ( #), 3 4 . flubu script, ( 4):
protected override void ConfigureTargets(ITaskContext session)
{
session.CreateTarget("iis.install").Do(IisInstall);
}
private static void IisInstall(ITaskContext context)
{
context.Tasks().IisTasks()
.CreateAppPoolTask("SomeAppPoolName")
.ManagedRuntimeVersion("No Managed Code")
.Mode(CreateApplicationPoolMode.DoNothingIfExists)
.Execute(context);
context.Tasks().IisTasks()
.CreateWebsiteTask()
.WebsiteName("SomeWebSiteName")
.BindingProtocol("Http")
.Port(2000)
.PhysicalPath("SomePhysicalPath")
.ApplicationPoolName("SomeAppPoolName")
.WebsiteMode(CreateWebApplicationMode.DoNothingIfExists)
.Execute(context);
}
, visual studio 2017, script flubu dotnet cli tool prebuild postbuild "dotnet flubu iis.install". .
flubu :
: MSBuild, NANT - ?