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

build.cmd fails if only F# 4.0/VS 2015 installed #46

Open
latkin opened this issue Jan 31, 2016 · 1 comment
Open

build.cmd fails if only F# 4.0/VS 2015 installed #46

latkin opened this issue Jan 31, 2016 · 1 comment

Comments

@latkin
Copy link
Contributor

latkin commented Jan 31, 2016

It appears this repo has a hard dependency on FSharp.Core 4.3.1.0 being GACed.

4.3.1.0 is binplaced by VS 2015/F# 4.0, but not added to the GAC. Only the latest (4.4.0.0) is GACed.

If the latest FSharp.Core is not the desired dependency that's fine, but it might be good to document that and/or print a helpful error message during build/test if the required version can't be loaded.

As it stands tests just blow up with

System.IO.FileLoadException: Could not load file or assembly 'FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.IO.FileLoadException: Could not load file or assembly 'FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
@palladin
Copy link
Contributor

palladin commented Feb 1, 2016

Thanks for pointing that out.

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

No branches or pull requests

2 participants