Skip to content

Updated from Windows App SDK 1.6 to 1.8#285

Open
licon4812 wants to merge 19 commits into
w-ahmad:mainfrom
licon4812:win-app-sdk-1.8
Open

Updated from Windows App SDK 1.6 to 1.8#285
licon4812 wants to merge 19 commits into
w-ahmad:mainfrom
licon4812:win-app-sdk-1.8

Conversation

@licon4812

@licon4812 licon4812 commented Dec 31, 2025

Copy link
Copy Markdown
Contributor

resolves #284

@licon4812

Copy link
Copy Markdown
Contributor Author

vstest.console process failed to connect to testhost process after 90 seconds. This may occur due to machine slowness, please set environment variable VSTEST_CONNECTION_TIMEOUT to increase timeout.

@ghost1372

Copy link
Copy Markdown

@licon4812
you dont need to include full package!
instead of
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.8.250907003" />

you need to include Microsoft.WindowsAppSDK.WinUI meta package

@licon4812

Copy link
Copy Markdown
Contributor Author

@licon4812 you dont need to include full package! instead of <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.8.250907003" />

you need to include Microsoft.WindowsAppSDK.WinUI meta package

thanks for the tip

@w-ahmad

w-ahmad commented Apr 15, 2026

Copy link
Copy Markdown
Owner

Thanks for the PR @licon4812! It seems your branch is quite behind the main, could you update it please?

image

Comment thread src/WinUI.TableView.csproj Outdated
@w-ahmad

w-ahmad commented Apr 15, 2026

Copy link
Copy Markdown
Owner

@licon4812 I see your merge commit, but not sure why... Your branch still seems behind. Make sure it's upto date so then we can investigate at what point the actions are failing.

Screenshot_20260415_201848_Edge

@licon4812

Copy link
Copy Markdown
Contributor Author

@licon4812 I see your merge commit, but not sure why... Your branch still seems behind. Make sure it's upto date so then we can investigate at what point the actions are failing.

Screenshot_20260415_201848_Edge

It is bizarre that I had to do it twice 🤣

@licon4812 licon4812 requested a review from w-ahmad April 30, 2026 07:59

@w-ahmad w-ahmad left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests are failing because the project doesn’t include the WinAppSDK package and the sample apps are failing because they are on v1.6 too. Since the TableView project has moved to 1.8 and now only use the WinUI package, we need to add the WinAppSDK and Build Tools packages to the test and samples project.

@licon4812

Copy link
Copy Markdown
Contributor Author

@w-ahmad Currently, the tests work locally, just not on the pipeline agent

image

@w-ahmad

w-ahmad commented May 7, 2026

Copy link
Copy Markdown
Owner

thanks for the updates @licon4812!
If the tests run fine locally, the issue is likely with the runner. Currently, the latest Windows runner uses VS 2022, so let's try running it with a VS 2026 runner instead.

@w-ahmad w-ahmad added this to the v1.5.0 milestone May 8, 2026
licon4812 and others added 4 commits May 21, 2026 13:56
Removed the <PublishProfile> property from the test project file. Updated Microsoft.TestPlatform.TestHost reference to exclude build assets, preventing unnecessary build-time dependencies.
Replaces MainWindow.Activate() with UnitTestClient.Run(Environment.CommandLine) in OnLaunched, enabling automated test execution using command-line arguments and streamlining the unit test startup process.
Fix output path for build artifacts and update test command.
@w-ahmad

w-ahmad commented Jul 4, 2026

Copy link
Copy Markdown
Owner

@licon4812, the tests are now passing in CI. The issue was that the test runner wasn’t happy with the launch path, which I fixed in the latest commit.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update from Windows APP SDK 1.6 to 1.8

3 participants