Skip to content

Commit 70b9574

Browse files
committed
Add framework and set self contained to false
1 parent 12b7d2e commit 70b9574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ if(-not(Test-Path -Path $MSBuildPath -PathType Leaf))
6363
Write-Error "Could not find msbuild. Is Visual Studio installed?" -ErrorAction Stop
6464
}
6565

66-
Start-Process -FilePath $MSBuildPath -ArgumentList "$PSScriptRoot\Source\NETworkManager.sln /restore /t:Clean,Build /p:Configuration=Release /p:OutputPath=$BuildPath\NETworkManager" -Wait -NoNewWindow
66+
Start-Process -FilePath $MSBuildPath -ArgumentList "$PSScriptRoot\Source\NETworkManager.sln /restore /t:Clean,Build /p:Configuration=Release /p:TargetFramework=net6.0-windows10.0.17763.0 /p:RuntimeIdentifier=win-x64 /p:SelfContained=false /p:OutputPath=$BuildPath\NETworkManager" -Wait -NoNewWindow
6767

6868
# Test if release build is available
6969
if(-not(Test-Path -Path "$BuildPath\NETworkManager\NETworkManager.exe" -PathType Leaf))

0 commit comments

Comments
 (0)