Skip to content

Commit

Permalink
expandwin is empty #1085
Browse files Browse the repository at this point in the history
  • Loading branch information
apobekiaris committed Jan 26, 2025
1 parent a9cbbe7 commit 0e1cb5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
21 changes: 3 additions & 18 deletions Support/Build/CreateXpandNugets.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,11 @@ function AddAllDependency($file, $nuspecpaths) {
}
$metadata.version = $version

$netStandardNuspecs=@($nuspecpaths|where-Object{
$p=Get-XmlContent $_.FullName
$p.package.files.file.target -match "netstandard"
})
$netStandardNuspecs=@($nuspecpaths|where-Object{
$p=Get-XmlContent $_.FullName
$p.package.files.file.target -match "netstandard"
})
$net6Nuspecs=@($nuspecpaths|where-Object{
$p=Get-XmlContent $_.FullName
$p.package.files.file.target -match "net9"
})
($netStandardNuspecs) | ForEach-Object {
[xml]$package = Get-Content $_.Fullname
Add-NuspecDependency $package.package.metaData.Id $Version $nuspecpath "netstandard2.0"
}

($net6Nuspecs+$netStandardNuspecs) | ForEach-Object {

($nuspecpaths) | ForEach-Object {
[xml]$package = Get-Content $_.Fullname
Add-NuspecDependency $package.package.metaData.Id $Version $nuspecpath "net6.0"
Add-NuspecDependency $package.package.metaData.Id $Version $nuspecpath "net9.0"
}
$nuspecpath.Save($file)
Format-Xml -path $file
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$sources=@("https://api.nuget.org/v3/index.json","https://xpandnugetserver.azurewebsites.net/nuget","C:\Program Files\DevExpress 24.2\Components\System\Components\packages")
& $PSScriptRoot\support\build\go.ps1 -taskList @("Release") -packageSources $sources -msbuildArgs @("/p:Configuration=Release","/WarnAsError","/v:m") -version "24.2.301.0"
& $PSScriptRoot\support\build\go.ps1 -taskList @("Release") -packageSources $sources -msbuildArgs @("/p:Configuration=Release","/WarnAsError","/v:m") -version "24.2.302.0"
exit $LastExitCode


0 comments on commit 0e1cb5c

Please sign in to comment.