Roj,

Please use the official 4.8.0-beta00004 packages on NuGet. 

https://www.nuget.org/packages?q=Tag%3Alucene.net+Author%3A%22The+Apache+Software+Foundation%22

That old MyGet CI feed unfortunately was inconsistently updated with some of 
the newer components and is now broken.

Thanks,
Shad Storhaug (NightOwl888)

-----Original Message-----
From: Roj Goldfarb [mailto:[email protected]] 
Sent: Tuesday, July 18, 2017 8:33 PM
To: [email protected]
Subject: Problem with Lucene.Net.Analysis.Common 4.8 beta

I have a Visual Studio 2013 c# console application using Lucene.Net 4.8 beta 
components. The ASP.Net Framework is 4.5.1.

It uses the StandardAnalyzer for indexing.


The Lucene.Net 4.8 components are:


Lucene.Net 4.8.0770-beta

Lucene.Net.Analysis.Common 4.8.0.1035-beta


When i build it i get the following warning (but the build completes 
successfully):


     Warning 1 Reference to type 'Lucene.Net.Analysis.TokenStreamComponents' 
claims it is defined in
     
'c:\RHG\LC\LuceneConsoleTest48\packages\Lucene.Net.4.8.0.770-beta\lib\net451\Lucene.Net.dll',
     but it could not be found


When I run the application is Visual Studio (either the Debug or Release 
configuration) is get the following

exception as soon as the program starts:


An unhandled exception of type 'System.TypeLoadException' occurred in 
mscorlib.dll

Additional information: Method 'CreateComponents' in type 
'Lucene.Net.Analysis.Standard.StandardAnalyzer'
from assembly 'Lucene.Net.Analysis.Common, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=null'
does not have an implementation.


any suggestions ?


Robert


Reply via email to