diff --git a/build/DirectXTK12-GitHub-GDK-Dev17.yml b/build/DirectXTK12-GitHub-GDK-Dev17.yml index b3201255..3638bf88 100644 --- a/build/DirectXTK12-GitHub-GDK-Dev17.yml +++ b/build/DirectXTK12-GitHub-GDK-Dev17.yml @@ -59,8 +59,6 @@ jobs: fetchTags: false - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -84,6 +82,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet install PGDK inputs: @@ -171,8 +171,6 @@ jobs: fetchTags: false - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -196,6 +194,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet install PGDK inputs: @@ -277,8 +277,6 @@ jobs: fetchTags: false - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -302,6 +300,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet install PGDK inputs: diff --git a/build/DirectXTK12-GitHub-GDK.yml b/build/DirectXTK12-GitHub-GDK.yml index 132b44dd..0f0449fc 100644 --- a/build/DirectXTK12-GitHub-GDK.yml +++ b/build/DirectXTK12-GitHub-GDK.yml @@ -78,8 +78,6 @@ jobs: fetchTags: false - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -103,6 +101,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet install PGDK inputs: @@ -196,8 +196,6 @@ jobs: failOnStderr: true - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -220,6 +218,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet install PGDK inputs: @@ -284,8 +284,6 @@ jobs: failOnStderr: true - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -308,6 +306,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet install PGDK inputs: diff --git a/build/DirectXTK12-GitHub-SDK-prerelease.yml b/build/DirectXTK12-GitHub-SDK-prerelease.yml index 52e4fa0a..cc22457a 100644 --- a/build/DirectXTK12-GitHub-SDK-prerelease.yml +++ b/build/DirectXTK12-GitHub-SDK-prerelease.yml @@ -46,8 +46,6 @@ jobs: fetchTags: false - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -71,6 +69,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet Install WSDK x64 inputs: @@ -145,8 +145,6 @@ jobs: fetchTags: false - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -169,6 +167,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet Install WSDK x64 inputs: @@ -214,16 +214,15 @@ jobs: platform: x64 configuration: Release -- job: UWP_BUILD_ARM_ARM64 - displayName: 'Universal Windows Platform (UWP) for ARM/ARM64' +- job: UWP_BUILD_ARM64 + displayName: 'Universal Windows Platform (UWP) for ARM64' + # Windows on ARM 32-bit is deprecated. https://learn.microsoft.com/windows/arm/arm32-to-arm64 steps: - checkout: self clean: true fetchTags: false - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -246,6 +245,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet Install WSDK arm64 inputs: diff --git a/build/DirectXTK12-GitHub-SDK-release.yml b/build/DirectXTK12-GitHub-SDK-release.yml index f4145b85..b457cbdb 100644 --- a/build/DirectXTK12-GitHub-SDK-release.yml +++ b/build/DirectXTK12-GitHub-SDK-release.yml @@ -46,8 +46,6 @@ jobs: fetchTags: false - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -71,6 +69,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet Install WSDK x64 inputs: @@ -145,8 +145,6 @@ jobs: fetchTags: false - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -169,6 +167,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet Install WSDK x64 inputs: @@ -214,16 +214,15 @@ jobs: platform: x64 configuration: Release -- job: UWP_BUILD_ARM_ARM64 - displayName: 'Universal Windows Platform (UWP) for ARM/ARM64' +- job: UWP_BUILD_ARM64 + displayName: 'Universal Windows Platform (UWP) for ARM64' + # Windows on ARM 32-bit is deprecated. https://learn.microsoft.com/windows/arm/arm32-to-arm64 steps: - checkout: self clean: true fetchTags: false - task: NuGetToolInstaller@1 displayName: 'Use NuGet' - inputs: - versionSpec: '6.5.x' - task: PowerShell@2 displayName: 'Create nuget.config with single source' inputs: @@ -246,6 +245,8 @@ jobs: arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config - task: nuget-security-analysis@0 displayName: 'Secure Supply Chain Analysis' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet Install WSDK arm64 inputs: diff --git a/build/DirectXTK12-GitHub-Test-Dev17.yml b/build/DirectXTK12-GitHub-Test-Dev17.yml index f57a5b2b..351c52f7 100644 --- a/build/DirectXTK12-GitHub-Test-Dev17.yml +++ b/build/DirectXTK12-GitHub-Test-Dev17.yml @@ -66,6 +66,8 @@ jobs: failOnStderr: true - task: NuGetToolInstaller@1 displayName: 'Use NuGet' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet restore tests inputs: @@ -168,6 +170,8 @@ jobs: failOnStderr: true - task: NuGetToolInstaller@1 displayName: 'Use NuGet' + - task: NuGetAuthenticate@1 + displayName: 'NuGet Auth' - task: NuGetCommand@2 displayName: NuGet restore tests inputs: diff --git a/build/Directory.Build.props b/build/Directory.Build.props index 43baa29f..f34ed2ce 100644 --- a/build/Directory.Build.props +++ b/build/Directory.Build.props @@ -18,6 +18,21 @@ 15.0 + + <_PCNuGetPackage>Microsoft.PGDK + <_XboxNuGetPackage>Microsoft.GDK + + + + <_PCNuGetPackage>Microsoft.GDK.PC + <_XboxNuGetPackage>Microsoft.GDK.Xbox + + + + <_PCNuGetPackage>$(_PCNuGetPackage).$(GDKEditionNumber) + <_XboxNuGetPackage>$(_XboxNuGetPackage).$(GDKEditionNumber) + + @@ -32,11 +47,11 @@ Project="$(ExtractedFolder)SDK\Microsoft.Windows.SDK.cpp.arm64\build\native\Microsoft.Windows.SDK.cpp.arm64.props" /> - + - +