-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
The current approach of the MSTestV2 is not compatible with the most recent version of MSTest (4.0.0).
Error message:
Error Message:
Test method Tests.LayeredArchitectureTest.Method threw exception:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Stack Trace:
at ArchUnitNET.MSTestV2.ArchRuleAssert.FulfilsRule(Architecture architecture, IArchRule archRule)
at ArchUnitNET.MSTestV2.ArchRuleExtensions.CheckRule(Architecture architecture, IArchRule archRule)
at Tests.LayeredArchitectureTest.Method() in /_/tests/*.Tests/LayeredArchitectureTest.cs:line 169
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)I did not find any easy solution with the current approach; therefore, I adjusted the code already and added a new package. I will create a new PR soon.
tinohagerNicolaSeitz and nixdagbibts
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.