You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
#r "System.Runtime"
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 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.
The text was updated successfully, but these errors were encountered: