where
This commit is contained in:
Родитель
2ce7698b48
Коммит
737af180b0
|
@ -1060,13 +1060,15 @@ function GetAppInfo {
|
|||
$package = [Microsoft.Dynamics.Nav.CodeAnalysis.Packaging.NavAppPackageReader]::Create($PackageStream, $true)
|
||||
$manifest = $package.ReadNavAppManifest()
|
||||
$manifest | out-host
|
||||
Write-Host "Dependencies"
|
||||
$manifest.Dependencies | Out-Host
|
||||
Write-Host "done"
|
||||
$appInfo = @{
|
||||
"appId" = $manifest.AppId
|
||||
"publisher" = $manifest.AppPublisher
|
||||
"name" = $manifest.AppName
|
||||
"version" = "$($manifest.AppVersion)"
|
||||
"dependencies" = @($manifest.Dependencies | ForEach-Object { @{ "id" = $_.AppId; "name" = $_.Name; "publisher" = $_.Publisher; "version" = "$($_.Version)" } })
|
||||
"dependencies" = @($manifest.Dependencies | Where-Object { $_ } | ForEach-Object { @{ "id" = $_.AppId; "name" = $_.Name; "publisher" = $_.Publisher; "version" = "$($_.Version)" } })
|
||||
"application" = "$($manifest.Application)"
|
||||
"platform" = "$($manifest.Platform)"
|
||||
"propagateDependencies" = $manifest.PropagateDependencies
|
||||
|
|
Загрузка…
Ссылка в новой задаче