Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FSharp Binaries installed reference wrong versions #1654

Closed
OmarTawfik opened this issue Oct 24, 2016 · 0 comments · Fixed by #1657
Closed

FSharp Binaries installed reference wrong versions #1654

OmarTawfik opened this issue Oct 24, 2016 · 0 comments · Fixed by #1657
Assignees

Comments

@OmarTawfik
Copy link
Contributor

During VS install, NGen fails because loaded binaries reference wrong versions of their dependencies:

ExecNetFx: Failed to load dependency System.ValueTuple of assembly FSharp.Compiler, Version=4.4.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a because of the following error : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

ExecNetFx: Failed to load dependency FSharp.Core of assembly FSharp.Data.TypeProviders, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a because of the following error : The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

ExecNetFx: 1>Error compiling C:\Program Files (x86)\Microsoft SDKs\F#\4.1\Framework\v4.0\fsc.exe: The image file is not compatible with the version of Ngen you're running. Use 32bit Ngen for 32bit assemblies, and 64bit Ngen for 64bit assemblies. (Exception from HRESULT: 0x80131F07)

ExecNetFx: 1>Error compiling C:\Program Files (x86)\Microsoft SDKs\F#\4.1\Framework\v4.0\fsi.exe: The image file is not compatible with the version of Ngen you're running. Use 32bit Ngen for 32bit assemblies, and 64bit Ngen for 64bit assemblies. (Exception from HRESULT: 0x80131F07)

@OmarTawfik OmarTawfik self-assigned this Oct 24, 2016
KevinRansom pushed a commit that referenced this issue Oct 26, 2016
* Remove prequesities from vsix manifests

* Fix #1655 - Upgrade to SwixBuild plugin version 1.0.71

* Fix #1654 - FSharp Binaries installed reference wrong versions

* Bring back language service registration

* Remove System.ValueTuple binding redirection
nosami pushed a commit to xamarin/visualfsharp that referenced this issue Jan 26, 2022
* Remove prequesities from vsix manifests

* Fix dotnet#1655 - Upgrade to SwixBuild plugin version 1.0.71

* Fix dotnet#1654 - FSharp Binaries installed reference wrong versions

* Bring back language service registration

* Remove System.ValueTuple binding redirection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant