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

Solving the issue of NETStandard.Library 1.6.1 #129

Closed
Kralizek opened this issue Jun 6, 2017 · 3 comments
Closed

Solving the issue of NETStandard.Library 1.6.1 #129

Kralizek opened this issue Jun 6, 2017 · 3 comments
Labels
guidance Question that needs advice or information.

Comments

@Kralizek
Copy link

Kralizek commented Jun 6, 2017

I guess we all know the pain brought onto us by the poor versioning of the package NETStandard.Library 1.6.1.

I know the latest versions of Amazon.Lambda.Tools solved it at deploy-time, but I wonder if there is a reason why the simple package version constraint wouldn't work?

I am thinking of something like <PackageReference Include="NETStandard.Library" Version="[1.6.0]" /> added to the package Amazon.Lambda.Core. This will give us an error at restore-time if we're using packages of newer runtimes.

@jnb-source
Copy link

IS this referencing the fact that deplying to AWS throws?:
Project is referencing NETStandard.Library version 1.6.1. Max version supported by netcoreapp1.0 is 1.6.0.

If so, what is the solution? I have not been able to get it resolved.

Thanks,

@Kralizek
Copy link
Author

Kralizek commented Jun 6, 2017

@JNBarnes I guess you have no other solution than using .NET Core 1.0 and therefore use the package (directly or indirectly) with the version 1.6.0.

@normj
Copy link
Member

normj commented Jul 7, 2017

That is an interesting idea. I was playing around with it and you really don't get a very helpful error messages. This is what I got when I tried it out.

Package restore failed. Rolling back package changes for 'AWSLambda1'.

I'd rather give our messaging during deployment then get issues opened about why I can't restore a package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

5 participants