Skip to content

Commit

Permalink
Clean before building for installer
Browse files Browse the repository at this point in the history
  • Loading branch information
dixonte committed May 7, 2020
1 parent 53304f9 commit 5c4d42a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions HidVanguard.Install/Fragments/Generated/Components.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,6 @@
<Component Id="cmp3837E3CC94C2C3BBC9B9A3026EA988AD" Guid="*" Win64="$(var.Win64)">
<File Id="filF60D45962A59C9DFE1501A3960A49B8D" KeyPath="yes" Source="$(var.SourceDir)\mscordaccore.dll" />
</Component>
<Component Id="cmp75A09585F70F34562319DA62E03088AA" Guid="*" Win64="$(var.Win64)">
<File Id="fil54FFF081084437C1BB2A312E98A900AC" KeyPath="yes" Source="$(var.SourceDir)\mscordaccore_amd64_amd64_4.700.19.60701.dll" />
</Component>
<Component Id="cmp99C4CD51A9DBBCAAC3147D792C62F605" Guid="*" Win64="$(var.Win64)">
<File Id="filA597AE8E3CBA5ED9CA8968485ABD64AF" KeyPath="yes" Source="$(var.SourceDir)\mscordaccore_amd64_amd64_4.700.20.11803.dll" />
</Component>
Expand Down Expand Up @@ -1753,7 +1750,6 @@
<ComponentRef Id="cmp71B1F6C717C44D8CE8FF4612229E0569" />
<ComponentRef Id="cmpCE6167BB9F42BFE7A5F9CB8DA7480F34" />
<ComponentRef Id="cmp3837E3CC94C2C3BBC9B9A3026EA988AD" />
<ComponentRef Id="cmp75A09585F70F34562319DA62E03088AA" />
<ComponentRef Id="cmp99C4CD51A9DBBCAAC3147D792C62F605" />
<ComponentRef Id="cmpE3ADF6CADBF3830225D645491DFDE4DD" />
<ComponentRef Id="cmpFAE67B05813B320774F72AFC4AB5C9D1" />
Expand Down
1 change: 1 addition & 0 deletions HidVanguard.Install/HidVanguard.Install.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
</Target>
<Target Name="BeforeBuild">
<RemoveDir Directories="$(SolutionDir)Publish" />
<Exec Command="dotnet publish $(SolutionDir)HidVanguard.Config\HidVanguard.Config.csproj --nologo -c Release --self-contained -r win-x64 -o $(SolutionDir)Publish" />
<Exec Command="dotnet publish $(SolutionDir)HidVanguard.Service\HidVanguard.Service.csproj --nologo -c Release --self-contained -r win-x64 -o $(SolutionDir)Publish" />
<HeatDirectory RunAsSeparateProcess="true" NoLogo="$(HarvestDirectoryNoLogo)" SuppressAllWarnings="$(HarvestDirectorySuppressAllWarnings)" SuppressSpecificWarnings="$(HarvestDirectorySuppressSpecificWarnings)" ToolPath="$(Wix)bin" TreatWarningsAsErrors="$(HarvestDirectoryTreatWarningsAsErrors)" TreatSpecificWarningsAsErrors="$(HarvestDirectoryTreatSpecificWarningsAsErrors)" VerboseOutput="$(HarvestDirectoryVerboseOutput)" AutogenerateGuids="$(HarvestDirectoryAutogenerateGuids)" GenerateGuidsNow="$(HarvestDirectoryGenerateGuidsNow)" OutputFile="$(ProjectDir)Fragments\Generated\Components.wxs" SuppressFragments="$(HarvestDirectorySuppressFragments)" SuppressUniqueIds="$(HarvestDirectorySuppressUniqueIds)" Transforms="$(ProjectDir)Xsl\ComponentsFilter.xsl" Directory="$(SolutionDir)Publish" ComponentGroupName="C_CommonAssemblies" DirectoryRefId="InstallLocation" KeepEmptyDirectories="false" PreprocessorVariable="var.SourceDir" SuppressCom="true" SuppressRootDirectory="true" SuppressRegistry="true">
Expand Down

0 comments on commit 5c4d42a

Please sign in to comment.