Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

[MonoDevelop] FSharp.Core references show as "unresolved" #30

Closed
funnelweb opened this issue Oct 12, 2012 · 10 comments
Closed

[MonoDevelop] FSharp.Core references show as "unresolved" #30

funnelweb opened this issue Oct 12, 2012 · 10 comments

Comments

@funnelweb
Copy link
Contributor

In the solution explorer view each FSharp.Core reference shows as "unresolved"

This doesn't seem to be a blocking problem (you can still build) but it looks bad.

@funnelweb
Copy link
Contributor Author

I think this is some kind of problem with the core F# 3.0 installation where the FSharp.Core.dll is not part of any package known to MonoDevelop, but it is in the lib/mono/4.0 directory.

I tried fiddling around adding an lib/pkgconfig/fscore.pc (just editing it directly in) but didn't see any results.

@migueldeicaza, do you know if/how this DLL should be registered as part of a package?

@7sharp9
Copy link
Member

7sharp9 commented Nov 6, 2012

It would be good to know how to resolve this as I have a similar issue with another reference.

@tpetricek
Copy link
Member

I had the same issue. My pull request "sort of" fixes this by generating the fsproj file in the configure.sh script and by adding <HintPath> tag which makes MonoDevelop happy. Does that work for you @7sharp9 ?

@7sharp9
Copy link
Member

7sharp9 commented Nov 9, 2012

@funnelweb I dont suppose you know where about in the script that everything is copied to the:

/Library/Frameworks/Mono.framework/Versions/3.0.0/lib/ ... directory?

Im having trouble following the install script. Im referring to the fsharp compiler code not the fsharpbinding

@funnelweb
Copy link
Contributor Author

src/fsharp/targets.make. what's the root problem, i can help get the scripts right

@7sharp9
Copy link
Member

7sharp9 commented Nov 9, 2012

The root problem is the FSharp.Core is not registered as a package, a .pc file needs to be created and placed i the following folder:

/Library/Frameworks/Mono.framework/Versions/3.0.0/lib/pkgconfig

The standard lib/pkgconfig/ location is not checked for packages by monodevelop, I guess it makes sense in this instance as the packages are the mono ones.

Im not much of a script wizard so Im stumbling in the dark to be honest...

@7sharp9
Copy link
Member

7sharp9 commented Mar 2, 2013

Can we do anything with this issue after @migueldeicaza commented on the other issue we have with package locations?

@funnelweb
Copy link
Contributor Author

it would be so good to fix this!

@mhutch
Copy link

mhutch commented Apr 23, 2013

FWIW you can install pc files into /Library/Frameworks/Mono.framework/External/pkgconfig so they aren't removed when Mono is updated.

@7sharp9
Copy link
Member

7sharp9 commented Feb 4, 2014

Resolved upstream in MonoDevelop See #317

@7sharp9 7sharp9 closed this as completed Feb 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants