FSharp.Core is missing HintPath in the iOS template
See original GitHub issueI have had the same exception on startup ( Could not load type of field 'Fabulous.ViewElement… Could not resolve type …'Microsoft.FSharp.Core.FSharpValueOption etc) happen to me a couple of times this week, but on iOS instead. Android has been fine.
In each case I have tracked down the problem to this line in my fsproj:
<Reference Include="FSharp.Core">
<Private>True</Private>
</Reference>
which needed to be replaced with
<Reference Include="FSharp.Core">
<HintPath>..\packages\FSharp.Core.4.7.2\lib\netstandard2.0\FSharp.Core.dll</HintPath>
</Reference>
_Originally posted by @Ryan-Palmer-CIT in https://github.com/fsprojects/Fabulous/issues/385#issuecomment-656587527_
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:16 (5 by maintainers)
Top Results From Across the Web
FSharp.Core is missing HintPath in the iOS template · Issue #776
I just looked over the git history. My first commit was a clean Fabulous template installed and working. My second commit updates a...
Read more >FSharp.Core.dll is missing in reference assemblies
I have a F# project in VS2019 . By default, when I open the application, the FSharp.Core.dll is referring to C:\Program Files ...
Read more >Tutorial: Using F# with Unity3D 2018.3
Today's tutorial gives step-by-step instructions on how to use F# as a programming language in Unity. It updates an older tutorial from 2015 ......
Read more >NuGet Support in Visual Studio for Mac 7.7
Core NuGet package being used and displayed in the Dependencies folder. FSharp.Core 4.3.4 is the NuGet package implicitly added by the F# .NET ......
Read more >SDK-Style project and project.assets.json
SDK-Style project and project.assets.json. Last week I encountered an issue with MSBuild while trying to run it from command line.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe the folks at https://github.com/xamarin/xamarin-macios can help fix that behavior?
Done https://github.com/fsprojects/Fabulous/pull/890