I created a component FSharp.Core.Fluent which is a PCL Profile 259 component.
When you reference this from a script, the F# language service in Visual Studio suffers a silent no-intellisense condition unless the script already contains this:
This is because the component contains ExtensionAttribute attributes for extension methods, and the process of building the initial type checking environment hits the "unresolved assembly System.Runtime" problem when resolving the ExtensionAttribute type. This happens very early and Visual Studio doesn't report the problem to the user.
I believe the correct and simplest thing is to add System.Runtime to the set of DLLs referenced by default in scripts and in F# Interactive in Visual F# 4.0. Adding it
I will send a PR for this and look for a way to test this.
I created a component FSharp.Core.Fluent which is a PCL Profile 259 component.
When you reference this from a script, the F# language service in Visual Studio suffers a silent no-intellisense condition unless the script already contains this:
This is because the component contains ExtensionAttribute attributes for extension methods, and the process of building the initial type checking environment hits the "unresolved assembly System.Runtime" problem when resolving the ExtensionAttribute type. This happens very early and Visual Studio doesn't report the problem to the user.
I believe the correct and simplest thing is to add System.Runtime to the set of DLLs referenced by default in scripts and in F# Interactive in Visual F# 4.0. Adding it
I will send a PR for this and look for a way to test this.