diff options
Diffstat (limited to 'src/ext/Iis/wixext/IIsCompiler.cs')
-rw-r--r-- | src/ext/Iis/wixext/IIsCompiler.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ext/Iis/wixext/IIsCompiler.cs b/src/ext/Iis/wixext/IIsCompiler.cs index cb573ad1..1fcf5f61 100644 --- a/src/ext/Iis/wixext/IIsCompiler.cs +++ b/src/ext/Iis/wixext/IIsCompiler.cs | |||
@@ -67,7 +67,6 @@ namespace WixToolset.Iis | |||
67 | { | 67 | { |
68 | case "Component": | 68 | case "Component": |
69 | var componentId = context["ComponentId"]; | 69 | var componentId = context["ComponentId"]; |
70 | var directoryId = context["DirectoryId"]; | ||
71 | 70 | ||
72 | switch (element.Name.LocalName) | 71 | switch (element.Name.LocalName) |
73 | { | 72 | { |
@@ -265,7 +264,6 @@ namespace WixToolset.Iis | |||
265 | } | 264 | } |
266 | } | 265 | } |
267 | 266 | ||
268 | |||
269 | if (null == id) | 267 | if (null == id) |
270 | { | 268 | { |
271 | id = this.ParseHelper.CreateIdentifier("crt", componentId, binaryRef, certificatePath); | 269 | id = this.ParseHelper.CreateIdentifier("crt", componentId, binaryRef, certificatePath); |
@@ -351,7 +349,7 @@ namespace WixToolset.Iis | |||
351 | 349 | ||
352 | if (null == id) | 350 | if (null == id) |
353 | { | 351 | { |
354 | id = this.ParseHelper.CreateIdentifier("wsc", webId); | 352 | this.Messaging.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, element.Name.LocalName, "Id")); |
355 | } | 353 | } |
356 | 354 | ||
357 | this.ParseHelper.ParseForExtensionElements(this.Context.Extensions, intermediate, section, element); | 355 | this.ParseHelper.ParseForExtensionElements(this.Context.Extensions, intermediate, section, element); |