diff --git a/BuildProject.ps1 b/BuildProject.ps1 index 46d4b6c..203f089 100644 --- a/BuildProject.ps1 +++ b/BuildProject.ps1 @@ -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 {