heat.exe website will crash with System.ArgumentNullException if there is a virtual directory that is the same as or under the home directory for the containing web site.
Repro Steps
Expected result: Heat can parse this into the appropriate fragements. (It's wacky, but IIS doesn't care)
Result:
Microsoft (R) Windows Installer XML Toolset Harvester version 3.0.3815.0
Copyright (C) Microsoft Corporation 2006. All rights reserved.
heat.exe : error HEAT0001 : Key cannot be null.
Parameter name: key
Exception Type: System.ArgumentNullException
Stack Trace:
at System.Collections.Hashtable.ContainsKey(Object key)
at System.Collections.Hashtable.Contains(Object key)
at Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.Harvest
UniqueDirectory(String path, Boolean harvestChildren)
at Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.MutateWebVirtualDirs()
at Microsoft.Tools.WindowsInstallerXml.Extensions.IIsHarvesterMutator.Mutate(Wix wix)
at Microsoft.Tools.WindowsInstallerXml.Mutator.Mutate(Wix wix)
at Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run String[] args)
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 21 days (the time period specified by
the administrator of this Tracker).