question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FSharp.Core is missing HintPath in the iOS template

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
TimLarivierecommented, Sep 7, 2021

Maybe the folks at https://github.com/xamarin/xamarin-macios can help fix that behavior?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found