MSLukeWest

Results 26 comments of MSLukeWest

The issue nentioned by @dotMorten is tracked internally here: https://microsoft.visualstudio.com/OS/_workitems/edit/40425553

@dotMorten If you're still getting this failure, please try a couple things: 1) Update the project's Microsoft.Windows.SDK.BuildTools package reference to the latest (non-preview) version, 10.0.22621.1 2) Update VS to 17.4...

@nohwnd It looks like that wouldn't be done in the UWP provider, it would be done here in https://github.com/microsoft/testfx/tree/main/src/Adapter/PlatformServices.Universal. It looks like right now it's context implementation comes from https://github.com/microsoft/testfx/blob/main/src/Adapter/PlatformServices.Shared/netstandard1.0/Services/ns10TestContextImplementation.cs

Debugging observations: In the working case Framework assemblies (System.*) are being loaded from the CoreFramework app directory, for example System.Xml.ReaderWriter.dll is loaded from "C:\Program Files\WindowsApps\Microsoft.NET.CoreFramework.Debug.2.2_2.2.29301.2_x86__8wekyb3d8bbwe\System.Xml.ReaderWriter.dll". In the failing case these...

There's two possible workarounds, either: 1. Go to "Manage NuGet Packages" for your test project, and update MSTest.TestAdapter to version 2.1.2, or 2. In the project properties for your test...

To help narrow down the regression I tried using each of the two preview releases that came between 2.1.2 and 2.2.1, but they both failed with other errors: 2.2.0-preview-20201126-03: Build...

I found that [this](https://github.com/microsoft/testfx/commit/76f0f89086d7ef3fa2c837fa3e40a0464ac069f2#diff-128a880f7dcded9d33db1aea61f20d7c7df5ded5b3ce8a0fc4eedab69f1f3f77) change that updated PlatformServices.Universal from using Microsoft.Internal.TestPlatform.ObjectModel v14.0.0 to Microsoft.TestPlatform.ObjectModel v16.9.0-preview-20201021-10 is what caused this issue. If I sync to the 2.1.2 build label and make...

@NelsonLamprecht Yes, the most recent release of Visual Studio 2019 supports running UWP unit tests with just the Build Tools sku installed.

If you're installing the Build Tools sku you will need to include the "Universal Windows Platform build tools" workload. The ID is "Microsoft.VisualStudio.Workload.UniversalBuildTools".

@aronweiler - The likely cause of this issue is that the Universal build tools workload (ID: "Microsoft.VisualStudio.Workload.UniversalBuildTools") isn't included in your install. You can check this by looking for the...