ReSharper Utlimate 2018.1.3 NUnit (.NET Core / VS2017) Exception

Completed

Hello,

if I run NUnit-Tests with Resharper, then I get the following exception. I think the problem was already reported one month ago by another user, but there is no fix yet? (I tried also the EAP Version). What is the solution of this Problem? I have to test some .NET Core Projects.

 

2018.07.20 14:38:25.325   ERROR Transition failed: Transition from state <HandShake> on event <remote::.ProtocolVersion>. Cause: System.InvalidOperationException: Test-cases are missing for the selected tests. Rebuild the project and try again. bei JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.DotNetVsTestExecution.SendGetProcessStartInfo() bei Appccelerate.StateMachine.Machine.ActionHolders.ArgumentLessActionHolder.Execute(Object argument) bei Appccelerate.StateMachine.Machine.States.State`2.ExecuteEntryAction(IActionHolder actionHolder, ITransitionContext`2 context)

--- EXCEPTION #1/1 [LoggerException]
Message = “
  Transition failed: Transition from state <HandShake> on event <remote::.ProtocolVersion>.
  Cause: System.InvalidOperationException: Test-cases are missing for the selected tests. Rebuild the project and try again.
     bei JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.DotNetVsTestExecution.SendGetProcessStartInfo()
     bei Appccelerate.StateMachine.Machine.ActionHolders.ArgumentLessActionHolder.Execute(Object argument)
     bei Appccelerate.StateMachine.Machine.States.State`2.ExecuteEntryAction(IActionHolder actionHolder, ITransitionContext`2 context)

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  bei JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.DotNetVsTestProtocol.<.ctor>b__22_14(Object sender, TransitionExceptionEventArgs`2 args)
     bei Appccelerate.StateMachine.Machine.StateMachine`2.RaiseEvent[T](EventHandler`1 eventHandler, T arguments, ITransitionContext`2 context, Boolean raiseEventOnException)
     bei Appccelerate.StateMachine.Machine.StateMachine`2.OnExceptionThrown(ITransitionContext`2 context, Exception exception)
     bei Appccelerate.StateMachine.Machine.Contexts.TransitionContext`2.OnExceptionThrown(Exception exception)
     bei Appccelerate.StateMachine.Machine.States.State`2.HandleException(Exception exception, ITransitionContext`2 context)
     bei Appccelerate.StateMachine.Machine.States.State`2.HandleEntryActionException(ITransitionContext`2 context, Exception exception)
     bei Appccelerate.StateMachine.Machine.States.State`2.ExecuteEntryAction(IActionHolder actionHolder, ITransitionContext`2 context)
     bei Appccelerate.StateMachine.Machine.States.State`2.ExecuteEntryActions(ITransitionContext`2 context)
     bei Appccelerate.StateMachine.Machine.States.State`2.Entry(ITransitionContext`2 context)
     bei Appccelerate.StateMachine.Machine.States.State`2.EnterShallow(ITransitionContext`2 context)
     bei Appccelerate.StateMachine.Machine.States.State`2.EnterHistoryNone(ITransitionContext`2 context)
     bei Appccelerate.StateMachine.Machine.States.State`2.EnterByHistory(ITransitionContext`2 context)
     bei Appccelerate.StateMachine.Machine.Transitions.Transition`2.Fire(ITransitionContext`2 context)
     bei Appccelerate.StateMachine.Machine.States.State`2.Fire(ITransitionContext`2 context)
     bei Appccelerate.StateMachine.Machine.StateMachine`2.Fire(TEvent eventId, Object eventArgument)
     bei Appccelerate.StateMachine.ActiveStateMachine`2.ProcessEventQueue(CancellationToken cancellationToken)
     bei Appccelerate.StateMachine.ActiveStateMachine`2.<Start>b__32_0()
     bei System.Threading.Tasks.Task.InnerInvoke()
     bei System.Threading.Tasks.Task.Execute()
     bei System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
     bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     bei System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
     bei System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
     bei System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(Object obj)
     bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
     bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     bei System.Threading.ThreadHelper.ThreadStart(Object obj)


2018.07.20 14:38:25.410   ERROR System.InvalidOperationException: Test-cases are missing for the selected tests. Rebuild the project and try again.
   bei JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.DotNetVsTestExecution.SendGetProcessStartInfo()
   bei Appccelerate.StateMachine.Machine.ActionHolders.ArgumentLessActionHolder.Execute(Object argument)
   bei Appccelerate.StateMachine.Machine.States.State`2.ExecuteEntryAction(IActionHolder actionHolder, ITransitionContext`2 context)
2018.07.20 14:38:25.411    WARN Element CleanCodeProfisTest.Profi.Ich_Teste_Was was left pending after its run completion.
2018.07.20 14:38:25.411    WARN Element CleanCodeProfisTest.Profi.Ich_Teste_Was.HelloWorldKommt was left pending after its run completion.

1 comment
Comment actions Permalink

It is solved -> the microsoft SDK was not correct installed

0

Please sign in to leave a comment.