Per Rovegård
Per Rovegård
In addition, not all streams support synchronous reads. ``` System.NotSupportedException: Synchronous reads are not supported. at Microsoft.AspNetCore.Components.Forms.BrowserFileStream.Read(Byte[] buffer, Int32 offset, Int32 count) at System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count) at...
+1 I was just about to open an issue about this. Breaks my test suite.
Sorry for the delay. I just sat down to create a GitHub repo to illustrate the problem, but I got momentarily stuck at some changes between NUnit 2 and 3....
Ok, here's a demo repo: https://github.com/provegard/NSpecInNUnit (Open with VS2015, enable NuGet package restore.) When I run the `a_spec` class using ReSharper, I get three failing tests. They fail because the...
The point is that I use ReSharper or NUnit console runner. With ReSharper installed, you get an icon next to the test class that you can use to run the...
Thanks, the HasRun approach worked. I could swear I've tried something like that before (minus setting Pending) and without getting it to work. @amirrajan I'm not sure what you mean...
I'm experiencing this as well. I'll see if I can put together a PR tonight.
Since I don't want to generate an OpenAPI document (I already have that via another library), I added `NSwag.Generation.AspNetCore` version `14.0.0-preview012`, then this: ``` services.AddSingleton(); ... private class GeneratorWrapper(IServiceProvider serviceProvider)...
Got it to work using `MetadataReference.CreateFromAssembly(typeof (object).Assembly)`, so I suppose the sample doc should be updated.
You're right that I split the error message wrong, but regardless I think the `InvalidCastException` error is unexpected and confusing.