F# Assemblies

2 posts, 0 answers
  1. Sean
    Sean avatar
    2 posts
    Member since:
    Feb 2012

    Posted 01 Jul 2015 Link to this post

    When I refer to F# assemblies from my C# code, JustCode puts a red squiggle under any types defined in the F# assemblies, and states "Unknown type or namespace".  And any property defined to be of the type defined in the F# assembly complains "Unknown member." However, the code compiles and runs flawlessly.  Intellisense continues to work flawlessly on the "unknown" types.

    Even if JustCode never gets full-fledged F# support, it seems that it should be able to resolve types defined in F# assemblies, considering that Visual Studio itself is doing it just fine.We use F# in many of our projects, and having JustCode report bogus problems really diminishes the value of JustCode for my team.

    Has anyone else run into this?

  2. Svetlozar
    Svetlozar avatar
    260 posts

    Posted 06 Jul 2015 Link to this post


    Thank your great feedback!

    When you have F# projects in the solution you need to have assembly references to them instead of project references. That way we could use our metadata reader to resolve the type information from the assemblies, like you properly suggested.

    What we could definitely improve in the short term is to configure references to F# projects as assembly references in our code analysis process.

    In the long term we will consider adding F# support as well. F# has similar services as Roslyn and the implementation cost is significantly lower than before. Unfortunately the user demand for F# is still not that big.

    If you have other suggestions, please don't hesitate to write back!

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top