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

Incompatible with netstandard #5

Open
chrsin opened this issue Sep 13, 2016 · 4 comments
Open

Incompatible with netstandard #5

chrsin opened this issue Sep 13, 2016 · 4 comments

Comments

@chrsin
Copy link

chrsin commented Sep 13, 2016

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. :)

@Trolldemorted
Copy link

@Strilanc, is there something that cannot cope with netstandard?

@Strilanc
Copy link
Owner

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.

@Trolldemorted
Copy link

#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.

@Strilanc
Copy link
Owner

@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.

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

No branches or pull requests

3 participants