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.

Visual Studio F# error - FSharp.Core.sigdata

See original GitHub issue

I’ve installed the latest FSharp bundle, but now whenever I hit control-spacebar in Visual Studio, I get this error:

Problem reading assembly ‘FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’: Error opening binary file ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.3.1.0__b03f5f7f11d50a3a\FSharp.Core.dll’: FSharp.Core.sigdata not found alongside FSharp.Core

Also, when I try to compile, I get:

FSC: error FS1223: FSharp.Core.sigdata not found alongside FSharp.Core FSC: error FS0229: Error opening binary file ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.3.1.0__b03f5f7f11d50a3a\FSharp.Core.dll’: FSharp.Core.sigdata not found alongside FSharp.Core FSC: error FS3160: Problem reading assembly ‘FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’: Error opening binary file ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.3.1.0__b03f5f7f11d50a3a\FSharp.Core.dll’: FSharp.Core.sigdata not found alongside FSharp.Core Done building project “Library1.fsproj” – FAILED.

Edit 2

On top of that, I get the following errors when I try to run fsi.exe:

> Session termination detected. Press Enter to restart.



unknown(1,1): error FS1223: FSharp.Core.sigdata not found alongside FSharp.Core


unknown(1,1): error FS0229: Error opening binary file 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.3.1.0__b03f5f7f11d50a3a\FSharp.Core.dll': Exception of type 'Microsoft.FSharp.Compiler.ErrorLogger+StopProcessing' was thrown.


unknown(1,1): error FS3160: Problem reading assembly 'FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a': Exception of type 'Microsoft.FSharp.Compiler.ErrorLogger+StopProcessing' was thrown.

Note: I can still run fsi.exe for F# 3.0. I’m only having this issue with 3.1 (C:\Program Files (x86)\Microsoft SDKs\F#\3.1\Framework\v4.0)

Any idea how I can get back to functioning F#?

Edit 3

It appears that I am again able to compile my F# projects after numerous repair installs/system reboots of things. The issues with fsi.exe and Visual Studio Intellisense remain.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
aggiebencommented, Dec 5, 2016

I am currently having this problem.

D:\Users\ben
λ gcm fsi

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Application     Fsi.exe                                            4.4.0.0    C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\Fsi.exe


D:\Users\ben
λ fsi

Microsoft (R) F# Interactive version 14.0.23413.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

For help type #help;;

>

unknown(1,1): error FS1223: FSharp.Core.sigdata not found alongside FSharp.Core


unknown(1,1): error FS0229: Error opening binary file 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.4.0.0__b03f5f7f11d50a3a\FSharp.Core.dll': Exception of type 'Microsoft.FSharp.Compiler.ErrorLogger+StopProcessing' was thrown.


unknown(1,1): error FS3160: Problem reading assembly 'FSharp.Core, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a': Exception of type 'Microsoft.FSharp.Compiler.ErrorLogger+StopProcessing' was thrown.
D:\Users\ben
λ
1reaction
Overlord-Zurgcommented, Aug 4, 2015

Wow, THE Don Syme! Yes sir, I tried both of those things, but they had no impact. Ideally I would be able to do a full system wipe, but I’m not really organized enough to have that be feasible right now (or ever).

The problem is no longer urgent for me, since I can now use Visual Studio 2015 with F# 4.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio F# error - FSharp.Core.sigdata
I've installed the latest FSharp bundle, but now whenever I hit control-spacebar in Visual Studio, I get this error:.
Read more >
After updating VS 2017 to 15.8.1 lost reference to Fsharp ...
Visual Studio templates now use the NuGet FSharp.Core and deploys its binaries side by side, instead of the global location. As a workaround, ......
Read more >
Help with trying to get a .NetFramework project running in ...
I'm trying to move an F# solution from VS2019 to VS2022 and encountering Error FS0229 Error opening binary file 'C:\Program Files ...
Read more >
lang/fsharp: Functional and object-oriented language for ...
Commit Credits Log message 10.2.1_2 08 Aug 2023 11:22:12 Jan Beich (jbeich) lang/mono: switch to 5.20 by default PR... 10.2.1 08 Aug 2023 11:16:45 Jan...
Read more >
What's new in F# 6 - F# Guide
Get an overview of the new features available in F# 6. ... F# 6 is available in all .NET Core distributions and Visual...
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