fsprojects / ProjectScaffold

A prototypical .NET solution (file system layout and tooling), recommended for F# projects
http://fsprojects.github.io/ProjectScaffold
The Unlicense
516 stars 153 forks source link

GenerateReferenceDocs target failing #237

Closed johnazariah closed 8 years ago

johnazariah commented 8 years ago

My build has been failing for the last 9 days on the GenerateReferenceDocs target. All preceding targets are working correctly.

projectscaffold-generatereferencedocs-crash.txt

I have run paket update, and these are the versions I have:

Paket version 2.49.5.0 Resolving packages for group Main:

Please let me know if there is something I should be doing differently.

forki commented 8 years ago

// @matthid @tpetricek

forki commented 8 years ago

can you try to run paket update? Does it already help?

How can we reproduce this?

matthid commented 8 years ago

can't really say anything without a repro or more info. I would assume (or as @tpetricek calls it: psychic debugging) you are building for net40 and added the Bcl Library, but are not copying it to the output directory.

If you can't provide a repro you can at least enable logging by setting the environment variable FSHARP_FORMATTING_LOG to ALL and then attaching the FSharp.Formatting.svclog here

johnazariah commented 8 years ago

@matthid :+1:

I'm totally new to Project Scaffold and I've blindly followed instructions on the site page to set up a project. I'm going to try and do this again from scratch being more careful in following instructions.

I'll let you know if the problem persists.

For your reference, I was building against 4.5.1 and hadn't written any reference documentation. The build was working on the 20th, and suddenly started failing at that step from then. I couldn't find a correlation with any of my checkins.

Here's the AppVeyor log if that's of any help: https://ci.appveyor.com/project/johnazariah/batch-toolkit-fsharp

johnazariah commented 8 years ago

OK. I was able to repro:

FSharp.Formatting.Logs.zip

Thanks for your help!

matthid commented 8 years ago

This is most likely a problem with the dependencies or the project setup. When targeting net45 System.Threading.Tasks from Microsoft.Bcl is not required and should not be referenced.

johnazariah commented 8 years ago

The problem resolved itself after I fixed up a bunch of references in my project.