filzrev commented on issue #911: URL: https://github.com/apache/lucenenet/issues/911#issuecomment-1929389419
> Lucene.Net.Analysis.OpenNLP now fails to build metatdata when executed from docfx. On my environment. It can successfully execute `docfx metadata docfx.analysis-opennlp.json` command with following changes. **1. Remove MSBuild `TargetFramework` property from `docfx.analysis-opennlp.json`** It seems this settings override target framework(`net6`) that specified at `Lucene.Net.Analysis.OpenNLP.csproj`. https://github.com/apache/lucenenet/blob/43e0e894b9b40f5b28064a13ef98874a82c15330/websites/apidocs/docfx.analysis-opennlp.json#L17-L19 **2. Build with .NET 8 SDK v`8.0.200`** I've confirmed following error is not occurred when build with .NET 8 preview SDK `8.0.200-preview.23624.5`. (It'll be released next week) ``` > ROSLYNCODETASKFACTORYCSHARPCOMPILER : error : Unknown command '/noconfig'. C:\Users\sample\.nuget\packages\ikvm.image\8.7.5\buildTransitive\IKVM.Image.targets(95,9): error : The source file for this compilation can be found at: "C:\Users\sample\AppData\Local\Temp\MSBuildTempsample\tmpe1e76f87dcd94e66b4bcf0ec3cccbc5b.tmp" ``` **Minimum reproducible `.csproj` for this issue** ``` <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net6</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <ItemGroup> <PackageReference Include="IKVM.Maven.Sdk" Version="1.6.8" /> <PackageReference Include="IKVM.Image" Version="8.7.5" /> </ItemGroup> </Project> ``` -- 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-unsubscr...@lucenenet.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org