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

Error when referencing paket from fsx script #4202

Open
jkone27 opened this issue Feb 26, 2023 · 0 comments
Open

Error when referencing paket from fsx script #4202

jkone27 opened this issue Feb 26, 2023 · 0 comments

Comments

@jkone27
Copy link

jkone27 commented Feb 26, 2023

Description

#r "nuget: Paket"

got this error when referencing paket from fsx (dotnet sdk 7)

error FS3217: /Users/admin/.packagemanagement/nuget/Projects/56595--2b10e8d7-1d9c-4147-8f88-58ccc9f52584/Project.fsproj : error NU1202: Package Paket 7.2.0 is not compatible with net7.0 (.NETCoreApp,Version=v7.0). Package Paket 7.2.0 supports: netcoreapp2.1 (.NETCoreApp,Version=v2.1) / any

Repro steps

dotnet sdk 7, try reference paket from an .fsx script in vscode and try run the script in interactive mode alt+enter..

Expected behavior

I can reference NET7 and old dependencies of dotnetcore are not pulled in...

Actual behavior

Some error related to old dotnetcore2.x that i dont even have installed on my machine...

Known workarounds

not know atm

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

1 participant