Skip to content

Regression: Can't install 1.1.3 Package in GitHub actions for MSTest projects (1.0.3 is fine) #2768

Closed

Description

Describe the bug

We're trying to update our Windows App SDK version in our project here: CommunityToolkit/Labs-Windows#183

This is still failing to install in our GitHub action CI when trying to run our tests with MSTest with the following message:

Installing missing frameworks...
DEP0800: The required framework "C:\Users\runneradmin\.nuget\packages\microsoft.windowsappsdk\1.1.3\buildTransitive\..\tools\MSIX\win10-x64\Microsoft.WindowsAppRuntime.1.1.msix" failed to install. [0x80073CF9] Deployment Add operation with target volume C: on Package Microsoft.WindowsAppRuntime.1.1_1003.565.600.0_x64__8wekyb3d8bbwe from:  (Microsoft.WindowsAppRuntime.1.1.msix)  failed with error 0x8000000B. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
	DeploymentSucceeded = False
	DeploymentError = Err_Deploy_SDKInstall
	DeploymentUserError = False
	DeploymentHRESULT = 2147958009
	HasSharedCode = False
	SDKFileName = 
Deleting file "vs.appxrecipe" from layout...

This seems like it's still a problem related to changes which broke 1.0.3 in #2631.

Our CI (and VS) have no issues when running with 1.0.3.

This is blocking us from updating to 1.1.x still which we need for other fixes (though still trying to identify if there are other blocking issues related to MSTest but can't validate what's working in our CI first because of these deployment issues since 1.1.1).

Steps to reproduce the bug

See https://github.com/CommunityToolkit/Labs-Windows/runs/7460607269?check_suite_focus=true

  1. Create MSTest project for Windows App SDK
  2. Create GitHub workflow to run windows-latest with a step to execute tests after building them in release mode:
  - name: Run experiment tests against WinAppSDK
    run:  vstest.console.exe ./tests/**/ProjectName.Tests.WinAppSdk.build.appxrecipe /Framework:FrameworkUap10 /logger:"trx;LogFileName=WinAppSdk.trx"

See failure to install package.

Expected behavior

Package installs and tests run.

Screenshots

image

NuGet package version

1.1.3

Packaging type

Packaged (MSIX)

Windows version

Windows 10 version 21H2 (19044, November 2021 Update)

IDE

Visual Studio 2022

Additional context

Related to Regression #2631 (fixed for main build, but still failing for mstest - raising this new issue to track specifically as haven't gotten traction replying to closed issue there)

Also see #2706

Activity

  1. added
    bug
    area-WinAppSDKDeployment
    area-Installer
    on Jul 25, 2022
  2. DrusTheAxe commented on Aug 1, 2022

    @DrusTheAxe
    Member

    Installing missing frameworks...
    DEP0800: The required framework "C:\Users\runneradmin.nuget\packages\microsoft.windowsappsdk\1.1.3\buildTransitive..\tools\MSIX\win10-x64\Microsoft.WindowsAppRuntime.1.1.msix" failed to install. [0x80073CF9] Deployment Add operation with target volume C: on Package Microsoft.WindowsAppRuntime.1.1_1003.565.600.0_x64__8wekyb3d8bbwe from: (Microsoft.WindowsAppRuntime.1.1.msix) failed with error 0x8000000B

    I suspect this is a dupe of DEP0800 error when trying to deploy MAUI app on windows platform #2741

    Error DEP0800: The required framework "C:\Users\ltemimi.nuget\packages\microsoft.windowsappsdk\1.1.1\buildTransitive..\tools\MSIX\win10-x64\Microsoft.WindowsAppRuntime.1.1.msix" failed to install. [0x80073CF9] Deployment Add operation with target volume C: on Package Microsoft.WindowsAppRuntime.1.1_1001.524.1918.0_x64__8wekyb3d8bbwe from: (Microsoft.WindowsAppRuntime.1.1.msix) failed with error 0x8000000B

    0x8000000B = E_BOUNDS ?

    sachintaMSFT ?

    Michael Hawker (@michael-hawker) Does this repro with 1.1.3?

  3. michael-hawker commented on Aug 23, 2022

    @michael-hawker
    Author

    Howard Kapustein (@DrusTheAxe) sorry missed this notification before (I was out for a week); it did repo on 1.1.3, and I just tried with 1.1.4 as well, same issue 😥:

    Copying file "D:\a\Labs-Windows\Labs-Windows\labs\CiTestExp\tests\CiTestExp.Tests.WinAppSdk\bin\x64\Release\net6.0-windows10.0.19041.0\AppxManifest.xml" to layout "AppxManifest.xml"...
    Checking whether required frameworks are installed...
    Framework: Microsoft.WindowsAppRuntime.1.1/X86. Skipping installation because framework package architecture does not match target architecture X64 and app package architecture X64.
    Framework: Microsoft.WindowsAppRuntime.1.1/X86. Skipping installation because framework package architecture does not match target architecture X64 and app package architecture X64.
    Framework: Microsoft.WindowsAppRuntime.1.1/X64, app package version 1004.584.2120.0 is not currently installed.
    Framework: Microsoft.WindowsAppRuntime.1.1/ARM64. Skipping installation because framework package architecture does not match target architecture X64 and app package architecture X64.
    Installing missing frameworks...
    DEP0800: The required framework "C:\Users\runneradmin\.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\..\tools\MSIX\win10-x64\Microsoft.WindowsAppRuntime.1.1.msix" failed to install. [0x80073CF9] Deployment Add operation with target volume C: on Package Microsoft.WindowsAppRuntime.1.1_1004.584.2120.0_x64__8wekyb3d8bbwe from:  (Microsoft.WindowsAppRuntime.1.1.msix)  failed with error 0x8000000B. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
    

    See our CI run here: https://github.com/CommunityToolkit/Labs-Windows/runs/7963041945?check_suite_focus=true (works fine with 1.0.3, but not 1.1.x.) Our PR is here: CommunityToolkit/Labs-Windows#183

  4. added
    duplicate
    on Aug 29, 2022
  5. sachintaMSFT commented on Aug 29, 2022

    @sachintaMSFT
    Contributor

    It is a duplicate of the issue# #2829. Latest status of the root cause and the fix is being shared there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-Installerarea-WinAppSDKDeploymentbugduplicate

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions