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

net5.0-windows platform doesn't work #3933

Closed
michalkovy opened this issue Nov 10, 2020 · 4 comments · Fixed by #3938
Closed

net5.0-windows platform doesn't work #3933

michalkovy opened this issue Nov 10, 2020 · 4 comments · Fixed by #3938

Comments

@michalkovy
Copy link

michalkovy commented Nov 10, 2020

Description

When I target net5.0-windows platform and use latest preview paket I get this error:

Paket version 6.0.0-alpha051
...
Paket failed with
-> Extracting platforms from path 'net5.0-windows' failed, a newer Paket version might support it, otherwise please open an issue for a missing platform handler.

.NET 5.0 has new OS specific target frameworks which needs to be used when OS specific functionality is required, see documentation. E.g. one needs to use net5.0-windows to use WPF or WinForms.

OS version can be also specified (and is required to get new APIs), these target platforms are valid, too:
net5.0-windows10.0.19041.0
net5.0-windows10.0.18362.0
net5.0-windows10.0.17763.0
net5.0-windows8.0
net5.0-windows7.0

I haven't tested other OS specific platforms.

Repro steps

Create project that targets framework net5.0-windows.

Expected behavior

All net5.0 OS specific frameworks are supported

Actual behavior

Paket fails

Known workarounds

None to me

@forki
Copy link
Member

forki commented Nov 10, 2020 via email

@michalkovy
Copy link
Author

I have added to the description info about windows versions for net5.0-windows.

@forki
Copy link
Member

forki commented Nov 12, 2020

@michalkovy please test latest version and let us know.

@forki forki closed this as completed Nov 12, 2020
@michalkovy
Copy link
Author

my change doesn't work completely, I am working on a fix

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

Successfully merging a pull request may close this issue.

2 participants