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

NuGet fails to update implicitly added dependency with Update attribute. #10883

Open
brettfo opened this issue Nov 1, 2024 · 0 comments
Open
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet

Comments

@brettfo
Copy link
Contributor

brettfo commented Nov 1, 2024

F# projects get an implicit reference to FSharp.Core added. The initial <PackageReferene Include... line comes from the SDK and is not in the user's source. If a newer version is requested, the project file will contain only the following line:

example.fsproj:

...
<PackageReference Update="FSharp.Core" Version="[some-newer-version]" />
...

Currently trying to make that update results in Package [FSharp.Core] does not exist as a dependency in [example.csproj]. which ultimately turns into an update_not_possible error.

@brettfo brettfo added the L: dotnet:nuget NuGet packages via nuget or dotnet label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet
Projects
Status: No status
Development

No branches or pull requests

1 participant