-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use OmniSharp's embedded Mono version for integration tests. #101
Use OmniSharp's embedded Mono version for integration tests. #101
Conversation
@DustinCampbell, as you can see we are adding integration tests for running Bakery with the same mono version's embedded with OmniSharp. Currently hitting an issue with installing the locally created nupkg, so we can't really see yet if the hangs you are experiencing on OmniSharp is due to Bakery or not. But, we'll keep you posted! |
Something weird going on when NuGet libraries are unzipping the NuPkg.
|
Seems like at least |
FWIW, the exception shows that it was probing for |
You're right that |
Let me be a bit more precise: The embedded Mono framework does not carry System.Net.Http because OmniSharp.Stdio does not need it. OmniSharp.Http does use it, so it includes it directly. |
FWIW, here's where that's getting thrown from in NuGet: https://github.com/NuGet/NuGet.Client/blob/8144fdeca466151c1516b65dc30d429562890b86/src/NuGet.Core/NuGet.Protocol/Utility/LocalFolderUtility.cs#L1115 |
And here's where it blows up in Mono: https://github.com/mono/mono/blob/7b4dfeebc40cf8c027819b8b7bd85a4e7c87ad50/mcs/class/System/System.IO.Compression/DeflateStream.cs#L524 |
Looking at the Mono code, it appears that we should indeed include the monoPosixHelper with the embedded Mono. I'm running a couple of OSX builds for OmniSharp with Mono runtime logging and xUnit diagnostics turned on. Once I have that information, I'll sift through the logs and see if I can verify that this is true. |
Yeah, I can see the difference in the mono logging output on Travis. On Linux (which passes), I see this:
On OSX, I see this:
Note that the |
OK. I've got a mono package that includes that particular native dll. However, there's some weirdness with how |
It looks like |
Everything is working ok with the new Mono package. Here's the PR that I submitted for OmniSharp: OmniSharp/omnisharp-roslyn#1137. |
Thanks @DustinCampbell! I will update this PR to use the new embedded mono bits. |
5b3ac55
to
541ca38
Compare
fa8e111
to
e7ae351
Compare
Success! |
No description provided.