Open dsyme opened 4 years ago
Same issue, nicer error with latest version:
> dotnet fsdocs build --projects .\src\FsCheck\FsCheck.fsproj
cracking projects...
skipping project 'FsCheck.fsproj' because it doesn't have a target path
Error while cracking project files, no project files succeeded, exiting.
Removing TargetFrameworks
solves it.
@Krzysztof-Cieslak This is a bug related to the tool's use of
dotnet-proj-info
- you might know the answer or where to look?Basically of a project file uses
then the project cracking logic used by
fsdocs build
doesn't findTargetPath
for the default target framework.You currently have to switch to a single TargetFramework
(We get an error like this if anyone is searching for this)
In theory I guess we could also build API docs for each of the targets but I don't think it will be needed much, the default will do.