Skip to content

Commit a79f9a2

Browse files
Attempt to fix build 2 (#650)
* Attempt to fix build 2 * Display available UAP * Use 26100 * Remove update manifest job * Updated pubxml files
1 parent 3d1c4d8 commit a79f9a2

15 files changed

Lines changed: 30 additions & 58 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ You can install the prerequisites in one of two ways:
158158
* The following workloads:
159159
* .NET Desktop Development
160160
* Universal Windows Platform Development
161-
* Windows 11 SDK (10.0.22000.0) (Tools -> Get Tools and Features -> Individual Components)
161+
* Windows 11 SDK (10.0.26100.0) (Tools -> Get Tools and Features -> Individual Components)
162162

163163
### Building
164164

pipelines/azure-pipelines.release.yml

Lines changed: 10 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ variables:
2020
buildPlatform: "x64"
2121

2222
# Docker image which is used to build the project
23-
WindowsContainerImage: 'onebranch.azurecr.io/windows/ltsc2019/vse2022:latest'
23+
WindowsContainerImage: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'
2424

2525
resources:
2626
repositories:
@@ -84,6 +84,15 @@ extends:
8484
ob_symbolsPublishing_enabled: true
8585

8686
steps:
87+
- task: PowerShell@2
88+
name: InspectSDKs
89+
displayName: 'Inspect installed UAP SDKs'
90+
inputs:
91+
targetType: inline
92+
script: |
93+
Write-Host "Installed Windows Kits:"
94+
Get-ChildItem 'C:\Program Files (x86)\Windows Kits\10\Platforms\UAP' -ErrorAction SilentlyContinue | Select Name
95+
Get-ChildItem 'C:\Program Files (x86)\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\UAP' -ErrorAction SilentlyContinue | Select Name
8796
- task: PowerShell@2
8897
name: OutputVersionStep
8998
displayName: Set output variables for UpdateManifest job
@@ -225,40 +234,3 @@ extends:
225234
timeoutInMinutes: 1440 # task times out in 1 day
226235
inputs:
227236
instructions: "Please update aka.ms vanity URLs for latest release"
228-
229-
- job: UpdateManifest
230-
dependsOn:
231-
- Build
232-
- Wait
233-
pool:
234-
type: windows
235-
236-
variables:
237-
runCodesignValidationInjection: ${{ false }}
238-
skipComponentGovernanceDetection: ${{ true }}
239-
manifestVersion: $[dependencies.Build.outputs['OutputVersionStep.manifestVersion']]
240-
appxBundleFile: $[dependencies.Build.outputs['OutputVersionStep.appxBundleFile']]
241-
vcLibsBundleFile: "Microsoft.VCLibs.x64.14.00.Desktop.appx"
242-
msixPackageUrl: "https://github.com/microsoft/winget-create/releases/download/v$(manifestVersion)/$(appxBundleFile)"
243-
portablePackageUrl: "https://github.com/microsoft/winget-create/releases/download/v$(manifestVersion)/wingetcreate.exe"
244-
ob_outputDirectory: $(Build.ArtifactStagingDirectory)
245-
ob_git_checkout: false
246-
247-
steps:
248-
- task: PowerShell@2
249-
displayName: Update package manifest in the OWC
250-
inputs:
251-
targetType: inline
252-
script: |
253-
# These are the steps you would run in your CI/CD pipeline to update your OWC manifest using wingetcreate.
254-
# More information about using wingetcreate in your CI/CD pipeline can be found here:
255-
# https://github.com/microsoft/winget-create#using-windows-package-manager-manifest-creator-in-a-cicd-pipeline
256-
257-
# Download and install C++ Runtime framework package.
258-
iwr https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile $(vcLibsBundleFile)
259-
Add-AppxPackage $(vcLibsBundleFile)
260-
261-
# Download, install, and execute update.
262-
iwr https://aka.ms/wingetcreate/latest/msixbundle -OutFile $(appxBundleFile)
263-
Add-AppxPackage $(appxBundleFile)
264-
wingetcreate update Microsoft.WingetCreate --urls $(msixPackageUrl) '$(portablePackageUrl)|x64' '$(portablePackageUrl)|x86' -v $(manifestVersion) -t $(GITHUB_PAT) --submit

pipelines/azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ variables:
3434
buildPlatform: "x64"
3535

3636
# Target framework
37-
targetFramework: "net8.0-windows10.0.22000.0"
37+
targetFramework: "net8.0-windows10.0.26100.0"
3838

3939
resources:
4040
repositories:

src/WingetCreateCLI/Properties/PublishProfiles/x64ReleasePublishProfile.pubxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
66
<PropertyGroup>
77
<Configuration>Release</Configuration>
88
<Platform>x64</Platform>
9-
<PublishDir>bin\x64\Release\net8.0-windows10.0.22000.0\win-x64\publish\</PublishDir>
9+
<PublishDir>bin\x64\Release\net8.0-windows10.0.26100.0\win-x64\publish\</PublishDir>
1010
<PublishProtocol>FileSystem</PublishProtocol>
11-
<TargetFramework>net8.0-windows10.0.22000.0</TargetFramework>
11+
<TargetFramework>net8.0-windows10.0.26100.0</TargetFramework>
1212
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1313
<SelfContained>true</SelfContained>
1414
<PublishSingleFile>False</PublishSingleFile>

src/WingetCreateCLI/Properties/PublishProfiles/x86ReleasePublishProfile.pubxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
66
<PropertyGroup>
77
<Configuration>Release</Configuration>
88
<Platform>x86</Platform>
9-
<PublishDir>bin\x86\Release\net8.0-windows10.0.22000.0\win-x86\publish\</PublishDir>
9+
<PublishDir>bin\x86\Release\net8.0-windows10.0.26100.0\win-x86\publish\</PublishDir>
1010
<PublishProtocol>FileSystem</PublishProtocol>
11-
<TargetFramework>net8.0-windows10.0.22000.0</TargetFramework>
11+
<TargetFramework>net8.0-windows10.0.26100.0</TargetFramework>
1212
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
1313
<SelfContained>true</SelfContained>
1414
<PublishSingleFile>False</PublishSingleFile>

src/WingetCreateCLI/WingetCreateCLI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0-windows10.0.22000.0</TargetFramework>
5+
<TargetFramework>net8.0-windows10.0.26100.0</TargetFramework>
66
<AssemblyName>WingetCreateCLI</AssemblyName>
77
<RootNamespace>Microsoft.WingetCreateCLI</RootNamespace>
88
<Version>1.12</Version>

src/WingetCreateCore/WingetCreateCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
55
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
66
<RootNamespace>Microsoft.WingetCreateCore</RootNamespace>
7-
<TargetFramework>net8.0-windows10.0.22000.0</TargetFramework>
7+
<TargetFramework>net8.0-windows10.0.26100.0</TargetFramework>
88
<Platforms>x86;x64</Platforms>
99
<RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>

src/WingetCreatePackage/WingetCreatePackage.wapproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
2828
<PropertyGroup>
2929
<ProjectGuid>ac37dfd2-1332-4282-b373-8dcf8bb4e3ba</ProjectGuid>
30-
<TargetPlatformVersion>10.0.22000.0</TargetPlatformVersion>
30+
<TargetPlatformVersion>10.0.26100.0</TargetPlatformVersion>
3131
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
3232
<DefaultLanguage>en-US</DefaultLanguage>
3333
<EntryPointProjectUniqueName>..\WingetCreateCLI\WingetCreateCLI.csproj</EntryPointProjectUniqueName>

src/WingetCreateTests/WingetCreateTestMsixInstaller/WingetCreateTestMsixInstaller.wapproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
4040
<PropertyGroup>
4141
<ProjectGuid>154eb646-d902-41b5-9ce1-e78acc63aa0a</ProjectGuid>
42-
<TargetPlatformVersion>10.0.22000.0</TargetPlatformVersion>
42+
<TargetPlatformVersion>10.0.26100.0</TargetPlatformVersion>
4343
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
4444
<DefaultLanguage>en-US</DefaultLanguage>
4545
<AppxPackageSigningEnabled>False</AppxPackageSigningEnabled>

src/WingetCreateTests/WingetCreateTests/Resources/TestPublisher.DontMoveInstallerFieldsToRoot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Installers:
3737
ExpectedReturnCodes:
3838
- InstallerReturnCode: 1001
3939
ReturnResponse: installInProgress
40-
MinimumOSVersion: 10.0.22000.0
40+
MinimumOSVersion: 10.0.26100.0
4141
PackageFamilyName: TestPackageFamilyName1
4242
Platform:
4343
- Windows.Desktop

0 commit comments

Comments
 (0)