Skip to content

Commit

Permalink
Issue#2: Cannot add environment variables to project object if only m…
Browse files Browse the repository at this point in the history
…erge modules are present.
  • Loading branch information
oleg-shilo committed Dec 9, 2016
1 parent 9b6f4fa commit 95553de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/src/WixSharp/Compiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ static XElement GetTopLevelDir(XElement product)
{
prevDir = dir;
if (dir.Elements("Component").Count() == 0) //just a subdirectory without any installable items
dir = dir.Elements("Directory").First();
dir = dir.Elements("Directory").FirstOrDefault();
else
return dir; //dir containing installable items (e.g. files or shortcuts)
}
Expand Down
4 changes: 2 additions & 2 deletions Source/src/WixSharp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.1.1.0")]
[assembly: AssemblyFileVersion("1.1.1.0")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]

0 comments on commit 95553de

Please sign in to comment.