ArchUnitNET
ArchUnitNET copied to clipboard
MSTest 4 is not Supported
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.
Is there any news about this Issue? As i see the PR does exists since a month.