Skip to content

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

@michael-hawker

Description

@michael-hawker

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

Metadata

Metadata

Assignees

Labels

area-DeploymentIssues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)area-InstallerbugSomething isn't workingduplicateThis issue or pull request already exists

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions