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