Skip to content

Commit

Permalink
Fixed issue in bulk component creation functions where IDs where invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Kroenert authored and Florian Kroenert committed Jun 8, 2016
1 parent 60acb2f commit 01333f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/FakeLib/WiXHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ let bulkComponentCreation fileFilter directoryInfo architecture =
|> Seq.filter fileFilter
|> Seq.map (fun file ->
{
Id = "f" + file.Name.GetHashCode().ToString().Replace("-", "")
Id = getFileId(file.FullName)
Name = file.Name
Source = file.FullName
ProcessorArchitecture = architecture
Expand All @@ -544,7 +544,7 @@ let bulkComponentCreation fileFilter directoryInfo architecture =
/// The components are embedded into the passed in root directory.
let bulkComponentCreationAsSubDir fileFilter (directoryInfo : DirectoryInfo) architecture =
{
Id = (directoryInfo.FullName.GetHashCode().ToString())
Id = getDirectoryId(directoryInfo.FullName)
Name = directoryInfo.Name
Files = []
Components = bulkComponentCreation fileFilter directoryInfo architecture
Expand Down

0 comments on commit 01333f3

Please sign in to comment.