Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Updated IISDeployer #860

Merged
merged 1 commit into from
Oct 7, 2016
Merged

Updated IISDeployer #860

merged 1 commit into from
Oct 7, 2016

Conversation

jhkimnew
Copy link
Contributor

@jhkimnew jhkimnew commented Oct 7, 2016

@pranavkm @Tratcher Please review this PR and approve if you agree so that I can merge this code change on my fork to dev branch.

Brief descripton of the issue:

IIS Deployer has an issue regarding the applicationPath pointing wrong directory instead of publish directory and so I fixed it following the way used by IISExpress Deployer and confirmed the issue is fixed.

@dnfclas
Copy link

dnfclas commented Oct 7, 2016

Hi @jhkimnew, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

@@ -36,13 +36,15 @@ public override DeploymentResult Deploy()

_application = new IISApplication(DeploymentParameters, Logger);

// Publish to IIS root\application folder.
DotnetPublish(publishRoot: _application.WebSiteRootFolder);
if (DeploymentParameters.PublishApplicationBeforeDeployment)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't you always have to publish to run? I think we always publish for express.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DeploymentParameters.PublishApplicationBeforeDeployment is set to true at the line 35.
So, adding this if condition would not affect any change. IISExpress has the same code logic.

@Tratcher Tratcher merged commit e67c82e into aspnet:dev Oct 7, 2016
@Tratcher Tratcher added this to the 1.1.0-preview1 milestone Oct 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants