Skip to content
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

Fixes a file path issue on Linux if you run on an sdk version beyond netstandard1.6 #63

Merged
merged 7 commits into from
Feb 4, 2019

Conversation

Vannevelj
Copy link
Contributor

This fixes the issue described in #62 using the solution provided in #61. @alexfowler09 was correct with his suggestion -- after applying the suggested changes, Linux worked both on my VM as well as my build server.

I'm unclear what changed inside the SDK to make it suddenly work. So far I haven't been able to pinpoint anything aside from the fact that it seemingly doesn't resolve the ~ as a relative path inside Directory.GetDirectories(path) and I'm unsure if this is a regression. Seeing as Mongo2Go points to netstandard1.6, it seems like it potentially is a change between netcore1.0 and netcore1.1/2.0. I'll give this further investigation but at least the most pressing issue is resolved.

It doesn't seem unreasonable that the Mac lookups might require similar changes but since I don't own a Mac, I can't try it out to verify. Will leave it as-is, I guess you'll see if someone complains about something similar.

@Vannevelj
Copy link
Contributor Author

@JohannesHoppe Is there anything you'd like to see added/changed about the PR?

@JohannesHoppe
Copy link
Member

I'm sorry, I did not had some time to review this. I promise to do that soon! 👍

@JohannesHoppe JohannesHoppe merged commit 599992e into Mongo2Go:master Feb 4, 2019
JohannesHoppe added a commit that referenced this pull request Feb 4, 2019
* fixes a file path issue on Linux if you run on an SDK version beyond .NET Standard 1.6 (PR #63, fixes #62, fixes #61)

many thanks to @Vannevelj
@JohannesHoppe
Copy link
Member

Test runs successful on my mac, too

@JohannesHoppe
Copy link
Member

The package Mongo2Go 2.2.9 was recently published on NuGet Gallery. Many thanks!

@Vannevelj
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants