Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr.Abc committed Aug 4, 2024
1 parent 3a7d308 commit f735ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish-all.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ switch ($os)
$ProgramFiles = [Environment]::GetEnvironmentVariable("ProgramFiles(x86)")
$vsLocation= &@("$ProgramFiles\Microsoft Visual Studio\Installer\vswhere.exe") "-latest" "-products" "*" "-requires" "Microsoft.VisualStudio.Component.VC.Tools.x86.x64" "-property" "installationPath"

&"nuget" "restore"
$sharpproj = "SPRView.Net.Win32.Thumbnail"
foreach($proj in $sharpproj){
Set-Location $proj
&"nuget" "restore"
if(Test-Path("$($vsLocation)\Common7\Tools\vsdevcmd.bat")){
&"$($vsLocation)\Common7\Tools\vsdevcmd.bat" "-arch=x64"
&"$($vsLocation)\Msbuild\Current\Bin\MSBuild.exe" "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)/../SPRView.Net.Win32.Thumbnail/SPRView.Net.Win32.Thumbnail.vcxproj" /p:Configuration="Release" /p:Platform="x64"
Expand Down

0 comments on commit f735ffa

Please sign in to comment.