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

Ionide Intellisense not recognizing Nuget Packages #697

Closed
robertmaxton42 opened this issue Jan 14, 2018 · 4 comments
Closed

Ionide Intellisense not recognizing Nuget Packages #697

robertmaxton42 opened this issue Jan 14, 2018 · 4 comments
Assignees
Labels
language services Problems related to language services - FSAC or FCS reproduction needed Bug reports that can't be reproduced by maintainers

Comments

@robertmaxton42
Copy link

I'm having trouble getting Ionide to recognize packages outside .NET. For example, FParsec:

https://imgur.com/242w0BS

As with #421, I can build fine, but the solution listed there doesn't seem to work for me - while I didn't have MSBUILD_TOOLS added as a variable the first time, I've added it and then reinstalled Ionide, and then Code entirely and the problem persists.

@Krzysztof-Cieslak
Copy link
Member

Can you share the project file (and Paket files if you use it)

@Krzysztof-Cieslak Krzysztof-Cieslak added the reproduction needed Bug reports that can't be reproduced by maintainers label Jan 16, 2018
@robertmaxton42
Copy link
Author

Sure. Zip contains the .fsproj, paket.references, paket.lock, paket.dependencies, and for bonus points the .fs file in my screenshot above (there isn't actually any more code than is visible but I thought it might be handy), directory tree structure preserved.

IonideDebug.zip

@enricosada enricosada self-assigned this Jan 17, 2018
@enricosada
Copy link
Contributor

enricosada commented Jan 17, 2018

@robertmaxton42 i tried locally, the repro works for me locally after some changes.

as a note, i tried with .net 4.6.2, not 4.7.1 because i dont have it (enricosada/IonideDebug_697@02a7c84), but shouldnt matter (to be sure, please try my repo too)

Some errors:

First, the file Parser.fs was not included in the fsproj enricosada/IonideDebug_697@0df74be (that may be the cause, because if not in project, cannot use fsproj references like FParsec). ref #681

And you shouldnt use <Reference Include="FParsec because that's to reference the assemblies in GAC, just remove it enricosada/IonideDebug_697@ceceff2

@robertmaxton42 can you please check on bottom left, in the F#: solution explorer if the project is loaded correctly, if reference and files are correct, like this
image

@enricosada enricosada added the language services Problems related to language services - FSAC or FCS label Jan 17, 2018
@robertmaxton42
Copy link
Author

Yep, that fixed it. The first one, that is, though I took out the FParsec reference in the fsproj just to be safe. Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language services Problems related to language services - FSAC or FCS reproduction needed Bug reports that can't be reproduced by maintainers
Development

No branches or pull requests

3 participants