You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2022/01/20 06:53:10 UTC
[GitHub] [lucenenet] NightOwl888 commented on pull request #603: Upgraded build tools for LuceneDocsPlugins and moved docs/website build to windows-latest (fixes #601)
NightOwl888 commented on pull request #603:
URL: https://github.com/apache/lucenenet/pull/603#issuecomment-1017171189
> I can confirm that the sln and cproj open and build. When I run the docs build however, I now get this warning
>
> ```
> [22-01-19 10:16:40.609]Warning:[ExtractMetadata](Z:/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj)Workspace failed with: [Failure] Msbuild failed when processing the file 'Z:\src\Lucene.Net.Codecs\Lucene.Net.Codecs.csproj' with message: C:\Program Files\dotnet\sdk\5.0.404\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets: (241, 5): Package J2N, version 2.0.0-beta-0016 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions.
> [22-01-19 10:16:41.353]Warning:[ExtractMetadata](Z:/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj)Workspace failed with: [Failure] Msbuild failed when processing the file 'Z:\src\Lucene.Net\Lucene.Net.csproj' with message: C:\Program Files\dotnet\sdk\5.0.404\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets: (241, 5): Package J2N, version 2.0.0-beta-0016 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions.
>
>
> Build succeeded with warning.
> [22-01-19 10:17:04.629]Warning:[ExtractMetadata](Z:/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj)Workspace failed with: [Failure] Msbuild failed when processing the file 'Z:\src\Lucene.Net.Codecs\Lucene.Net.Codecs.csproj' with message: C:\Program Files\dotnet\sdk\5.0.404\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets: (241, 5): Package J2N, version 2.0.0-beta-0016 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions.
> [22-01-19 10:17:04.630]Warning:[ExtractMetadata](Z:/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj)Workspace failed with: [Failure] Msbuild failed when processing the file 'Z:\src\Lucene.Net\Lucene.Net.csproj' with message: C:\Program Files\dotnet\sdk\5.0.404\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets: (241, 5): Package J2N, version 2.0.0-beta-0016 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions.
> 2 Warning(s)
> 0 Error(s)
> ```
>
> I've mapped a network drive to this location to reduce the path length in case that was the cause but this hasn't resolved the warning. Have you seen this warning before (perhaps not caused by this PR)?
I can't think of a reason why J2N 2.0.0-beta-0016 cannot resolve. However, do note that the current version is 2.0.0. Given that fact, I suspect there might be a problem with not having all of the changes on your local system (although I am not sure how that could happen).
I was able to get a successful docs build on Azure DevOps: https://dev.azure.com/lucene-net-temp2/Lucene.NET/_build/results?buildId=846&view=results (although, it looks like the build needs to be fixed to update the PackageVersion env variable).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@lucenenet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org