Kuinox commented on issue #453:
URL: https://github.com/apache/lucenenet/issues/453#issuecomment-808218724


   I tried to run the cli to see if the issue is not specific to my PC, but it 
look like the CLI need configuration after install and the doc doesn't specify 
it:  
   ```
   PS C:\Users\Kuinox> lucene
   Unhandled exception. System.IO.FileNotFoundException: The configuration file 
'appsettings.json' was not found and is not optional. The physical path is 
'C:\Users\Kuinox\.dotnet\tools\.store\lucene-cli\4.8.0-beta00013\lucene-cli\4.8.0-beta00013\tools\netcoreapp3.1\any\appsettings.json'.
      at 
Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean 
reload)
      at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
      at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 
providers)
      at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
      at Lucene.Net.Cli.Program.Main(String[] args) in 
D:\a\1\s\src\dotnet\tools\lucene-cli\Program.cs:line 27
   ```
   So I found out that, the demo is working, but I was catching every exception 
and never let it run to completion ><.  


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to