Closed johnazariah closed 8 years ago
// @matthid @tpetricek
can you try to run paket update? Does it already help?
How can we reproduce this?
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
@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
OK. I was able to repro:
Thanks for your help!
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.
The problem resolved itself after I fixed up a bunch of references in my project.
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.