Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Can't set the PathForWebsite value #47

Open
Gaikotsu2 opened this issue Jun 4, 2012 · 3 comments
Open

BUG: Can't set the PathForWebsite value #47

Gaikotsu2 opened this issue Jun 4, 2012 · 3 comments

Comments

@Gaikotsu2
Copy link
Contributor

There is no exposed extension method that allows you to set the PathForWebsite property on the IISProtoTask. This causes null reference errors in IIS7Task.CreateWebsite(...) when it tries to create the directory for the web site.

@drusellers
Copy link
Member

@Gaikotsu2
Copy link
Contributor Author

Shouldn't all methods that allow for the creation of an IIS7 site allow for
you to set a required property? Or is this method being deprecated?
https://github.com/chucknorris/dropkick/blob/master/product/dropkick/Configuration/Dsl/Iis/Extension.cs#L29

On Mon, Jun 11, 2012 at 9:16 AM, Dru Sellers <
reply@reply.github.com

wrote:

Well, there is this method right?
https://github.com/chucknorris/dropkick/blob/master/product/dropkick/Configuration/Dsl/Iis/Extension.cs#L39

You can set the path there.

Do you want something here?

https://github.com/chucknorris/dropkick/blob/master/product/dropkick/Configuration/Dsl/Iis/IisSiteOptions.cs


Reply to this email directly or view it on GitHub:
#47 (comment)

@drusellers
Copy link
Member

I think it would depend on if the site exists or not. if its null, we should probably blow up with a good error saying we have insufficient info to CREATE a site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants