Skip to content

Commit

Permalink
2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaneri committed Nov 7, 2023
1 parent 0321131 commit ab6e76a
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 2,940 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.26.0
7.26.1
23 changes: 21 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,25 @@ Write-Host "Root Directory is: $PSScriptRoot"
Write-Host '#################################################################################'
Write-Host

# Search for MSBuild in both Program Files directories and the Windows Microsoft.NET folder
$pathsToSearch = @(
"${env:ProgramFiles(x86)}\Microsoft Visual Studio",
"${env:ProgramFiles}\Microsoft Visual Studio",
"${env:WINDIR}\Microsoft.NET"
)

$MSBUILD = Get-ChildItem -Path $pathsToSearch -Filter msbuild.exe -Recurse -ErrorAction SilentlyContinue -Force | Select-Object -First 1

if ($null -ne $MSBUILD) {
# MSBuild.exe found, output the path
Write-Output "MSBuild.exe found at: $($msbuild.FullName)"
} else {
# MSBuild.exe not found
Write-Error "MSBuild.exe not found."
exit 1
}


$NSWAG_FRAMEWORK = 'NetCore31'
$CONFIGURATION = 'Release'
$FRAMEWORK = 'netcoreapp3.1'
Expand Down Expand Up @@ -146,10 +165,10 @@ Set-Location -Path $VCDR_SWAG_DIR
Set-Location -Path $VCDRSERVICE_SRC
& dotnet build

& msbuild -t:Rebuild -p:Configuration=$CONFIGURATION -p:Platform=$PLATFORM
& $MSBUILD -t:Rebuild -p:Configuration=$CONFIGURATION -p:Platform=$PLATFORM
Copy-Item -Path "$VCDRSERVICE_SRC\*.cs" -Destination $VCDRSERVICE_LEGACY_SRC -Verbose
Set-Location -Path $VCDRSERVICE_LEGACY_SRC
& msbuild VMware.VCDRService_legacy.csproj /p:Configuration=$CONFIGURATION /p:Platform=$PLATFORM /p:TargetFrameworkVersion=$LEGACYFRAMEWORK -t:Rebuild
& $MSBUILD VMware.VCDRService_legacy.csproj /p:Configuration=$CONFIGURATION /p:Platform=$PLATFORM /p:TargetFrameworkVersion=$LEGACYFRAMEWORK -t:Rebuild
Set-Location $BASEDIR
#endregion build

Expand Down
Binary file removed publish/VMware.VCDRService-7-26-0.zip
Binary file not shown.
23 changes: 0 additions & 23 deletions publish/VMware.VCDRService/7.26.0/LICENSE

This file was deleted.

165 changes: 0 additions & 165 deletions publish/VMware.VCDRService/7.26.0/Types.ps1xml

This file was deleted.

121 changes: 0 additions & 121 deletions publish/VMware.VCDRService/7.26.0/VMware.VCDRService.psd1

This file was deleted.

28 changes: 0 additions & 28 deletions publish/VMware.VCDRService/7.26.0/VMware.VCDRService.psm1

This file was deleted.

Binary file not shown.
Binary file not shown.
Loading

0 comments on commit ab6e76a

Please sign in to comment.