vstest-docs
vstest-docs copied to clipboard
Universal Windows Unit test application Problem upgrading package
Hi, I just created a UWP Unit Test App in VS 2019. The first thing I did was check the packages and see if they were up to date. It appears that the Microsoft.NET.Test.Sdk package was out of date (it was at 16.0.1 and Nuget reports the latest as 16.1.1. So I thought let's just update the package before I start doing anything. I try and immediately get: Cannot modify an evaluated object originating in an imported file "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\WindowsXaml\v16.0\Microsoft.Windows.UI.Xaml.Common.targets" and the upgrade fails.
is this a problem with vstest? Why would this happen? It's pretty confusing.
Our team is also experiencing this issue. Please provide an explanation or workaround.