HostsFileTruncate Property MSBuild Extension Pack Help 4.0.12.0
If True, any host entry not in the HostEntries item group will be removed from the hosts file. Default is False. Only used by the Update task action.

Namespace: MSBuild.ExtensionPack.Computer
Assembly: MSBuild.ExtensionPack (in MSBuild.ExtensionPack.dll) Version: 4.0.0.0
See Also

Reference