Skip to content

Commit

Permalink
build script works with latest msbuild
Browse files Browse the repository at this point in the history
(need to specify platform)
  • Loading branch information
Lysann Schlegel committed Aug 3, 2019
1 parent 2d20b36 commit f089832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/Create-Release-Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ $files = New-Object System.Collections.ArrayList

# build FileDBGenerator
dotnet restore "$root/src/FileDBGenerator"
msbuild "$root/RDAExplorer.sln" /target:"src\FileDBGenerator" /property:Configuration=Release
msbuild "$root/RDAExplorer.sln" /target:"src\FileDBGenerator" /property:Configuration=Release /property:Platform="Any CPU"
if (!$?) { throw "Failed to build FileDBGenerator" }
$files.AddRange(("$root/src/FileDBGenerator/bin/Release/FileDBGenerator.exe", `
"$root/src/FileDBGenerator/bin/Release/FileDBGenerator.exe.config", `
"$root/src/FileDBGenerator/bin/Release/*.dll"))

# build RDAExplorerGUI
dotnet restore "$root/src/RDAExplorerGUI"
msbuild "$root/RDAExplorer.sln" /target:"src\RDAExplorerGUI" /property:Configuration=Release
msbuild "$root/RDAExplorer.sln" /target:"src\RDAExplorerGUI" /property:Configuration=Release /property:Platform="Any CPU"
if (!$?) { throw "Failed to build RDAExplorerGUI" }
$files.AddRange(("$root/src/RDAExplorerGUI/bin/Release/RDAExplorerGUI.exe", `
"$root/src/RDAExplorerGUI/bin/Release/RDAExplorerGUI.exe.config", `
Expand Down

0 comments on commit f089832

Please sign in to comment.