Go mono!#89
Conversation
|
Howdy. Had an issue with the build on first pass, due to package restore not being run, because of the |
|
+1 I'm happy that this was merged in. Hopefully, I'll be able to use this now! The nuget.targets thing is usually just case sensitivity issue. It should have been NuGet.targets but seems like that's been resolved now. Want to set up a mono CI environment? Travis is free and is just a case of committing a travis.yml file into the root of your project - see here https://github.com/nosami/OmniSharpServer/blob/master/.travis.yml for an example. |
This pull request essentially enables System.IO.Abstractions to be used on Mono. In particular, it fixes #82 as well.
The trick which got me into fixing it actually is to remove the recursive access for
MockFileSystem.Directory(see 3e17340). The rest was to fix all backwhacked tests to run as well on slashdotted systems. I followed a lazy strategy by introducing aMockUnixSupporthelper. I aliased it in tests withXFSfor the sake of brevity.All tests pass both on Mono and Windows.
I tested on Win7 w/ Net4 and Linux 3.16.3-1 w/ Mono3.4.
@nosami @tathamoddie It was sort of a stretch to get this running on Mono as well, but I suppose it's worth the effort. Feedback and comments welcome.