May
May copied to clipboard
Incompatible with netstandard
When trying to install on a project with netstandard1.5 i get the following error:
DEBUG: Checking compatibility for Strilanc.Value.May 1.0.2 with .NETStandard,Version=v1.5.
ERROR: Package Strilanc.Value.May 1.0.2 is not compatible with netstandard1.5 (.NETStandard,Version=v1.5). Package Strilanc.Value.May 1.0.2 supports: portable-net40+sl4+win8+wp7 (.NETPortable,Version=v0.0,Profile=Profile2)
ERROR: One or more packages are incompatible with .NETStandard,Version=v1.5.
DEBUG: Incompatible packages: 1
Not sure if there is something in the package that makes it incompatible. But if it is possible i would love to be able to install it in my netstandard1.5 project. :)
@Strilanc, is there something that cannot cope with netstandard?
When I switch the target to netstandard, I get a calvacade of build errors. netstandard doesn't include System.Diagnostics? And for some reason even using System lines are turning into errors. I'm not sure how to fix these things, since I haven't touched .Net in a couple years.
#6 is what i did to get it working.
How did you convince VS to use unix linefeeds for the solution files?
And i don't know whether its ok that the project uses a project.json or not, as i think MS wanted to remove them in favour of .csproject. Be careful that you don't run into nuget issues while packaging.
@Trolldemorted It's not a VS setting, it's a git setting. I think it's actually the default, since it scrubs a common source of diff-noise you'd see when two people are developing the same thing on different OSes.