Skip to content

Commit 6a92f0c

Browse files
docs: use docfx v2.42
It appears that the latest (v2.43) requires VS 2019. I get the waring Warning:[MetadataCommand.ExtractMetadata]Fail to find MSBuild >= 16.0 on machine. Please install Visual Studio 2019 with MSBuild >= 16.0: https://visualstudio.microsoft.com/vs/
1 parent 36dcbd8 commit 6a92f0c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ environment:
3535
install:
3636
- choco install gitversion.portable -y
3737
- npm install gh-pages -g
38-
- choco install docfx -y
3938
# No longer signing the assembly
4039
#- nuget install secure-file -ExcludeVersion
4140
#- if defined snk_secret secure-file\tools\secure-file -decrypt src\ipfs.ci.snk.enc -secret %snk_secret% -out src\ipfs.dev.snk
@@ -56,6 +55,8 @@ build_script:
5655

5756
after_build:
5857
# Build documentation in doc\_site
58+
# v2.43 is requiring VS 2019!!!
59+
- cmd: choco install docfx -y --version 2.42 --force
5960
- cmd: builddocs.cmd
6061
- cmd: 7z a -tzip docs.zip doc\_site
6162
- cmd: appveyor PushArtifact docs.zip

builddocs.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
docfx doc\docfx.json --logLevel Warning
1+
docfx doc\docfx.json --logLevel Warning --warningsAsErrors

0 commit comments

Comments
 (0)