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

Support .net 6 #4012

Closed
pbiggar opened this issue May 2, 2021 · 5 comments
Closed

Support .net 6 #4012

pbiggar opened this issue May 2, 2021 · 5 comments

Comments

@pbiggar
Copy link

pbiggar commented May 2, 2021

Description

with paket 6.0.0-beta10, the "framework" tag cannot be set to net6.0

Repro steps

create paket file like so:

version 6.0.0-beta10

source https://api.nuget.org/v3/index.json
framework: net6.0
storage: none

Then run dotnet paket install

Expected behavior

It works.

Actual behavior

Paket failed with
-> Error in paket.dependencies line 4
     Could not parse framework 'net6.0'. Try to update or install again or report a paket bug.
@pbiggar
Copy link
Author

pbiggar commented May 2, 2021

Perhaps there is a different way to use .net 6 (preview 3), but this seemed the natural way and it didn't work. I couldn't find docs or issues pointing to another way to do it.

@smoothdeveloper
Copy link
Contributor

@pbiggar I've seen it but haven't had chance to hack on it.

There is probably adjustments to make to this file in the first place:
https://github.com/fsprojects/Paket/blob/master/src/Paket.Core/Versioning/FrameworkHandling.fs

As well as adding a test case:
https://github.com/fsprojects/Paket/tree/master/integrationtests/scenarios

@pbiggar
Copy link
Author

pbiggar commented May 3, 2021

Thanks so much, and for the speedy update. I'll check it out this week.

@pbiggar
Copy link
Author

pbiggar commented May 6, 2021

This seems to work, see darklang/dark#3044

Thanks!

@smoothdeveloper
Copy link
Contributor

@pbiggar thanks for the update, could you close the issue (and we create another one if there is still something down the line)?

@pbiggar pbiggar closed this as completed May 6, 2021
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