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

.Net 2.0 targeting #21

Open
pmeloy opened this issue Jan 23, 2019 · 4 comments
Open

.Net 2.0 targeting #21

pmeloy opened this issue Jan 23, 2019 · 4 comments

Comments

@pmeloy
Copy link

pmeloy commented Jan 23, 2019

Never mind, just clued in that it wants .Net CORE 2. I never bothered with it before so the 2.0 didn't trigger anything.

When I load the project in VS2017 I get an error saying:

Severity Code Description Project File Line Suppression State
Error The current .NET SDK does not support targeting .NET Standard 2.0. Either target .NET Standard 1.6 or lower, or use a version of the .NET SDK that supports .NET Standard 2.0. RaspberrySharp D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference.targets 126

I've downloaded and installed every SDK listed by the projects from 4.6.1 to 4.7.2. What am I missing?

@JTrotta
Copy link
Owner

JTrotta commented Jan 23, 2019

You have to use .NET 4.6.2 or more, or .NetStandard 2.0

@JTrotta JTrotta closed this as completed Jan 23, 2019
@pmeloy
Copy link
Author

pmeloy commented Jan 23, 2019

Pulled from github yesterday and it won't even load without 4.6.1, 4.6.2, 4.7.1, 4.7.2 and .NET Core 2.

Each project seems to have different requirements and won't play with higher versions.

Still, I managed to make everything happy write a components for the BMP180 and I'm working on ADC1015.

@JTrotta
Copy link
Owner

JTrotta commented Jan 23, 2019

Strange, tomorrow will check.

@JTrotta JTrotta reopened this Jan 23, 2019
@pmeloy
Copy link
Author

pmeloy commented Jan 24, 2019

Maybe it's my VS2017 settings? I get lots of reports of "e" not being declared but never used. I have that reporting turned off in VS2015 and haven't really used 2017 until now.

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

2 participants