Closed NightOwl888 closed 4 years ago
I'll have a look as soon as i can (this week hopefully)
@NightOwl888 I have run the docs build locally based on this code in this PR https://github.com/apache/lucenenet/pull/391, it all worked well if you can test/merge?
Following the build instructions at Documentation & Website, the API docs no longer build. I went back to a branch/commit that previously succeeded and the failure happened there also, so I suspect the issue has something to do with dependencies that have changed.
Log Snippet 1
Click to expand
``` Cleaning tools... Directory: F:\projects\lucenenet\websites\apidocs\tools Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 10/24/2020 7:59 PM tmp d----- 10/24/2020 7:59 PM docfx Retrieving docfx... d----- 10/24/2020 7:59 PM nuget Download NuGet... d----- 10/24/2020 7:59 PM vswhere Download VsWhere... Feeds used: https://api.nuget.org/v3/index.json https://api.nuget.org/v3/index.json C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\ https://dotnet.myget.org/F/mstestv2/api/v3/index.json F:\Temp\j2n-nuget https://dotnet.myget.org/F/roslyn/api/v3/index.json https://pkgs.dev.azure.com/lucene-net/_packaging/lucene-net-release-vote/nuget/v3/index.json Installing package 'vswhere' to 'F:\projects\lucenenet\websites\apidocs\tools\tmp'. GET https://api.nuget.org/v3/registration5-gz-semver2/vswhere/index.json OK https://api.nuget.org/v3/registration5-gz-semver2/vswhere/index.json 886ms MSBuild auto-detection: using msbuild version '16.7.0.37604' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin'. GET https://pkgs.dev.azure.com/lucene-net/_packaging/fa497b4d-ab98-40df-865b-ee185560ac69/nuget/v3/registrations2-semver2/vswhere/index.json NotFound https://pkgs.dev.azure.com/lucene-net/_packaging/fa497b4d-ab98-40df-865b-ee185560ac69/nuget/v3/registrations2-semver2/vswhere/index.json 583ms GET https://dotnet.myget.org/F/roslyn/api/v3/registration1/vswhere/index.json CACHE https://api.nuget.org/v3/registration5-gz-semver2/vswhere/index.json NotFound https://dotnet.myget.org/F/roslyn/api/v3/registration1/vswhere/index.json 438ms GET https://dotnet.myget.org/F/mstestv2/api/v3/registration1/vswhere/index.json NotFound https://dotnet.myget.org/F/mstestv2/api/v3/registration1/vswhere/index.json 700ms Attempting to gather dependency information for package 'vswhere.2.8.4' with respect to project 'F:\projects\lucenenet\websites\apidocs\tools\tmp', targeting 'Any,Version=v0.0' Gathering dependency information took 28 ms Attempting to resolve dependencies for package 'vswhere.2.8.4' with DependencyBehavior 'Lowest' Resolving dependency information took 0 ms Resolving actions to install package 'vswhere.2.8.4' Resolved actions to install package 'vswhere.2.8.4' Retrieving package 'vswhere 2.8.4' from 'NuGet official package source'. Adding package 'vswhere.2.8.4' to folder 'F:\projects\lucenenet\websites\apidocs\tools\tmp' Added package 'vswhere.2.8.4' to folder 'F:\projects\lucenenet\websites\apidocs\tools\tmp' Successfully installed 'vswhere 2.8.4' to F:\projects\lucenenet\websites\apidocs\tools\tmp Executing nuget actions took 334 ms Cleaning... MSBuild auto-detection: using msbuild version '16.7.0.37604' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin'. Committing restore... Committing restore... Assets file has not changed. Skipping assets file writing. Path: F:\projects\lucenenet\src\docs\LuceneDocsPlugins\obj\project.assets.json Assets file has not changed. Skipping assets file writing. Path: F:\projects\lucenenet\src\docs\JavaDocToMarkdownConverter\obj\project.assets.json Restored F:\projects\lucenenet\src\docs\LuceneDocsPlugins\LuceneDocsPlugins.csproj (in 88 ms). Restored F:\projects\lucenenet\src\docs\JavaDocToMarkdownConverter\JavaDocToMarkdownConverter.csproj (in 89 ms). NuGet Config files used: F:\projects\lucenenet\NuGet.Config C:\Users\shad\AppData\Roaming\NuGet\NuGet.Config C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config C:\Program Files (x86)\NuGet\Config\Xamarin.Offline.config Feeds used: C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\ F:\Temp\j2n-nuget https://api.nuget.org/v3/index.json https://dotnet.myget.org/F/mstestv2/api/v3/index.json https://dotnet.myget.org/F/roslyn/api/v3/index.json https://pkgs.dev.azure.com/lucene-net/_packaging/lucene-net-release-vote/nuget/v3/index.json All projects are up-to-date for restore. Directory: F:\projects\lucenenet\websites\apidocs\Templates\LuceneTemplate ```Log Snippet 2
Click to expand
``` at Microsoft.DocAsCode.Build.Engine.DocumentBuildContext.