Closed jozefizso closed 3 years ago
Hello jozefizso, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback π
FYI @Sergio0694
@jozefizso Are your tests running on .NET Framework? If so, this is a known issue (seems the same as CommunityToolkit/dotnet#12), which I have fixed already (not in this repo). @michael-hawker We might want to consider pushing another hotfix with this π€
For future reference: we would need to cherry pick e2b336184f51fcd755f3151222ff948176ee954c from the new repo.
@Sergio0694 I know we discussed just releasing an update from the new repo with some other fixes, so may be best to use that as a test maybe? Let's talk about it more at the start of next week after .NET Conf?
@Sergio0694 yes, we use .NET Framework 4.6.2. We run VSTest with NUnit runner 4.
Closing this was e2b336184f51fcd755f3151222ff948176ee954c fixed it, it will be available in a future release π
Describe the bug
After upgrading Microsoft.Toolkit.Mvvm to v7.1.1 from v7.0.2 out unit tests are failing because their freeze after executing every test in the project. We use NUnit 4 to run tests. The problem is reproducible locally and on Azure Pipelines build machines.
Steps to Reproduce
We don't have a sample app as this is a proprietary software. We have application which uses Microsoft.Toolkit.Mvvm package and we have another unit tests project using NUnit.
Steps to reproduce the behavior:
Observe all tests were finished but Test Explorer reports tests are still running. This error is logged in the console:
Expected behavior
There should be no errors when NUnit tries to unload the app domain.
Environment
NuGet Package(s): 7.1.1
Windows 10 Build Number:
App min and target version:
Device form factor:
Visual Studio version: