Skip to content

Commit

Permalink
fix: Prevented bug that external packages were not correctly found
Browse files Browse the repository at this point in the history
  • Loading branch information
r-dh committed Jul 22, 2020
1 parent 1000ee3 commit e16ccb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BuildProject.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
$vswhere = "${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"

$mspath = & $vswhere -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe | select-object -first 1

& "dotnet" restore
if ($mspath) {
& $mspath './Maria.Editor/Maria.Editor.csproj' '/p:Configuration=Release' '/p:Platform=x64'
} else {
Expand Down

0 comments on commit e16ccb6

Please sign in to comment.