-
Notifications
You must be signed in to change notification settings - Fork 790
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
Add FSharp.Core package reference with IsImplicitlyDefined = true #3678
Comments
@KevinRansom Could you take a look at this please? |
It looks like this would also solve other issues - according to this comment, PackageReferences without |
@KevinRansom did you take a look at this? |
I'd like to send a PR to fix this, may I submit it? https://github.com/microsoft/visualfsharp/compare/master...jeffkl:fix?expand=1 |
@jeffkl absolutely! |
Closing out as per the resolution of #6730 |
So then F# will never be compatible with Central Package Management (Nuget new feature)? See NuGet/Home#11949 (comment) |
Things can always change, and you can always just use paket |
I just wrote a tool that extracts
ProjectReference
entries from a msbuild project. It removes any references that is automatically added by the framework by checking for metadataIsImplicitlyDefined
. This works for C# and VB, but F# does not add this metadata.Also, looking at this it seems the same is true for
System.ValueTuple
.Repro steps
Create a fsharp SDK based project (for instance
dotnet new classlib --language F#
). Extract allProjectReferences
.Expected behavior
FSharp.Core
should be added with metadataIsImplicitlyDefined
equal totrue
.Actual behavior
FSharp.Core
is not added withIsImplicitlyDefined
.Known workarounds
Manually add it, which defeats the purpose altogether.
Related information
The text was updated successfully, but these errors were encountered: