From 7bce46bc5b9419b6d9e825bd8853e5857d932adc Mon Sep 17 00:00:00 2001 From: Amit Saraf Date: Thu, 27 Jun 2019 10:22:32 -0700 Subject: [PATCH] Download latest version (6.2.0) of PSDesiredStateConfiguration nuget package. (#9932) --- assets/files.wxs | 40 +++++++++++++++++++ nuget.config | 1 + src/powershell-unix/powershell-unix.csproj | 2 +- .../powershell-win-core.csproj | 2 +- .../MOF-Compilation.Tests.ps1 | 9 ++++- tools/releaseBuild/signing.xml | 1 - 6 files changed, 51 insertions(+), 4 deletions(-) diff --git a/assets/files.wxs b/assets/files.wxs index b678fdec060..76db49ee5dc 100644 --- a/assets/files.wxs +++ b/assets/files.wxs @@ -1667,6 +1667,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2940,6 +2972,14 @@ + + + + + + + + diff --git a/nuget.config b/nuget.config index 74cb0168d2f..5ec994d9118 100644 --- a/nuget.config +++ b/nuget.config @@ -4,6 +4,7 @@ + diff --git a/src/powershell-unix/powershell-unix.csproj b/src/powershell-unix/powershell-unix.csproj index 0da368c68bf..e24c81471f6 100644 --- a/src/powershell-unix/powershell-unix.csproj +++ b/src/powershell-unix/powershell-unix.csproj @@ -38,7 +38,7 @@ - + diff --git a/src/powershell-win-core/powershell-win-core.csproj b/src/powershell-win-core/powershell-win-core.csproj index 66f248ae69d..31bf3d1106d 100644 --- a/src/powershell-win-core/powershell-win-core.csproj +++ b/src/powershell-win-core/powershell-win-core.csproj @@ -53,7 +53,7 @@ - + diff --git a/test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1 b/test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1 index 9f20cdad24f..3b3aa271ed2 100644 --- a/test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1 +++ b/test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1 @@ -7,7 +7,14 @@ Describe "DSC MOF Compilation" -tags "CI" { } BeforeAll { - $env:DSC_HOME = Join-Path -Path (Join-Path -Path $PSScriptRoot -ChildPath assets) -ChildPath dsc + Import-Module PSDesiredStateConfiguration + $dscModule = Get-Module PSDesiredStateConfiguration + $baseSchemaPath = Join-Path $dscModule.ModuleBase 'Configuration' + $testResourceSchemaPath = Join-Path -Path (Join-Path -Path (Join-Path -Path $PSScriptRoot -ChildPath assets) -ChildPath dsc) schema + + # Copy test resources to PSDesiredStateConfiguration module + Copy-Item $testResourceSchemaPath $baseSchemaPath -Recurse -Force + $_modulePath = $env:PSModulePath $powershellexe = (get-process -pid $PID).MainModule.FileName $env:PSModulePath = join-path ([io.path]::GetDirectoryName($powershellexe)) Modules diff --git a/tools/releaseBuild/signing.xml b/tools/releaseBuild/signing.xml index 8978f1796f9..95837fbeb05 100644 --- a/tools/releaseBuild/signing.xml +++ b/tools/releaseBuild/signing.xml @@ -37,7 +37,6 @@ -