"netstandard not found or is invalid"
dsyme opened this issue · 11 comments
Yeah I have noticed that with #207 it is only an Intellisense/highlighting issue but still works.
A workaround this could be to have a similar workaround as is done to load System.Runtime.dll
https://github.com/rudihorn/IfSharp/tree/netstandard. There should be a nicer way of doing this though.
Edit: Seems there are a few libraries which would need to be loaded this way.
This is just another symptom of the larger problem we're working on solving for FSI on .NET Core. The problem ends up getting deep, as we need to read both facade and implementation assemblies in an interactive process. Implementation assemblies can and will change over time, so you need a separate resolver either in NuGet or the .NET SDK to tell you what implementation assemblies are correct for a given context. Until that is resolved, I wouldn't expect to get further than a hack here.
@cartermp Might it be worth just determining the currently loaded assemblies and then using those? Thanks for the clarification though!
This is just another symptom of the larger problem we're working on solving for FSI on .NET Core. The problem ends up getting deep, as we need to read both facade and implementation assemblies in an interactive process. Implementation assemblies can and will change over time, so you need a separate resolver either in NuGet or the .NET SDK to tell you what implementation assemblies are correct for a given context. Until that is resolved, I wouldn't expect to get further than a hack here.
We're getting this error on .NET Framework/Mono too, so I don't think it's related. More likely got to do with locating Facades on Mono.
I think the original issue is resolved via fixes in #218 (which also enables XPlot.plotly and other Paket goodness). Give it a go and re-open if there are issues.
We now default reference netstandard on the netcore build as well. Is there any official guidance if that's the right fix? It seems pragmatically a good idea for compatibility but will silently referencing netstandard bite us later?
@gusennan glad it's useful.
I think there's something not quite right on the code completion for Mono/.NET Core on non-Windows systems. It needs some digging into more deeply. On the plus side while it used to be a blocking error, at least for me it's a fake error which is annoying but can be ignored until someone gets a chance to look at it.