tamaboss.blogg.se

The handle is invalid windows 7
The handle is invalid windows 7





the handle is invalid windows 7

Is this the intended behavior? What changed? The reason I am asking this question is to understand why this is failing in the new version of Visual Studio. I do understand that it is bad design for my service to fail if it is not called by a console. Test method .ExampleTest threwĮxception: System.IO.IOException: The handle is invalid.

the handle is invalid windows 7

ThrowOnNoConsole, Boolean& succeeded) at ()Īt .ExampleTest() inĬ:\\CacheManagerTest.cs:line 35 Result Message: Result StackTrace: at System.IO._Error.WinIOError(Int32 errorCode,

the handle is invalid windows 7

Test Source: C:\\CacheManagerTest.cs : line 34 This test passes in visual studio 2013 but in 2015 I get the following error: To find out whats going on I made a simple unit test I found that one of my tests that passes in VS2013 is failing in VS2015, the test calls a service that includes among other things a call to Console.Clear()







The handle is invalid windows 7