This is a migrated thread and some comments may be shown as answers.

F# Assemblies

1 Answer 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sean
Top achievements
Rank 1
Sean asked on 01 Jul 2015, 08:24 PM

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?

1 Answer, 1 is accepted

Sort by
0
Svetlozar
Telerik team
answered on 06 Jul 2015, 03:39 PM
Hello,

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!

Regards,
Svetlozar
Telerik
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
Tags
General Discussions
Asked by
Sean
Top achievements
Rank 1
Answers by
Svetlozar
Telerik team
Share this question
or