Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Reference docs not building #3

Open
dsyme opened this issue Sep 5, 2014 · 1 comment
Open

Reference docs not building #3

dsyme opened this issue Sep 5, 2014 · 1 comment

Comments

@dsyme
Copy link

dsyme commented Sep 5, 2014

The "build ReleaseDocs" target is not working. It looks like a missing assembly reference in "generate.fsx", possibly here: https://github.com/fsprojects/FSharp.Data.DbPedia/blob/master/docs/tools/generate.fsx#L73

Creating C:\GitHub\fsprojects\FSharp.Data.DbPedia\docs\output\reference
[0 sec] Reading assembly: C:\GitHub\fsprojects\FSharp.Data.DbPedia\docs\tools\../../bin\FSharp.Data.DbPedia.dll
[0 sec] Parsing assembly
System.InvalidOperationException: The entity or value 'FSharp.Data.JsonValue' does not exist or is in an unresolved assembly. You may need to add a reference to assembly 'FSharp.Data'
   at Microsoft.FSharp.Compiler.SourceCodeServices.Impl.dflt@86[a](String asmName, String path) in C:\GitHub\fsharp\FSharp.Compiler.Service\src\fsharp\vs\Typed.fs:line 36
@tpetricek
Copy link

I have no idea what has happened, but somehow F# Compiler Service changed how assembly resolution works and so things that worked previously require more effort now.

Try adding libDirs parameter (like here) and pointing it to the directory where FSharp.Data.DesignTime.dll is located. In Foogle Charts, I even had to add specific version of FSharp.Core.dll (with optdata and sigdata) to the lib folder.

This is a bit mysterious to me, so if anyone has any idea why it works/does not work, I would love to know that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants