Conversation
.gitignore
Outdated
| x64/ | ||
| build/ | ||
| [Oo]bj/ | ||
| bin/ |
There was a problem hiding this comment.
Doesn't that result in committing all the built binaries to the repo?
There was a problem hiding this comment.
I'll revert that one
| var assembly = typeof(GherkinDialectProvider).GetTypeInfo().Assembly; | ||
| var resourceStream = assembly.GetManifestResourceStream("Gherkin." + languageFileName); | ||
|
|
||
| #if (NETSTANDARD1_5 || NETSTANDARD2_0 || NETCOREAPP1_0 || NETCOREAPP1_1 || NETCOREAPP2_0) |
There was a problem hiding this comment.
Might want to clean this up to NETSTANDARD2_0 || NETCOREAPP2_0 ... not sure there's any point in keeping the old ones after changing the project definition 😉 -- ditto to the other similar lines, of course.
|
I don't see any problem going to 2.0, it's RTM, and it's so much easier to work with that it's hard to imagine people are not going to upgrade all their projects to it even though it's still early. |
|
In SpecFlow we want to target the lowest .Net Standard as possible, because we have a lot of users who are on .Net 4.5 (which is afaik .net Standard 1.5). So updating to .Net Standard 2.0 is not what we want. And it is not needed API wise. I have not yet an idea, why this change is needed for you Aslak to get it compiled, but I will have a look at it. |
|
@aslakhellesoy which error do you get on Mac OS X? |
|
@SabotageAndi I'm getting the following on OS X: Do I need to install some old .NET framework? I'm not sure how to do that - I just followed these instructions |
|
@aslakhellesoy Thanks for the output. I am able to reproduce it on my Mac. |
|
Ok, you can compile netcoreapp1.1 with the .NET Core 2.0 SDK, but you can not run them. PR for fix in the Contribute.md is created: #7 |
gasparnagy
left a comment
There was a problem hiding this comment.
I agree with @SabotageAndi. targeting .net core 2.0 would limit the potential user base too much.
|
Allright, I won't merge this - #7 solved it for me. |
I had to change to
netcoreapp2.0to make this build on OS X.Does this look ok?