lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rory Plaire <>
Subject RE: [Lucene.Net] Could not load assembly
Date Sat, 11 Jun 2011 22:23:14 GMT
The easiest way to diagnose these issues is to run fuslogvw.exe from
the .Net SDK command line and choose to log bind failures. Fusion,
the .Net loader, gives a wealth of info about these kind of failures.
After you setup the logging, run the test to failure again; the log
should then point to the issue.

Sent from my Windows Phone From: Prescott Nasser
Sent: Saturday, June 11, 2011 2:33 PM
Subject: [Lucene.Net] Could not load assembly

While trying to set up a test for Contrib.IsolatedStorage, I'm running
into an issue I haven't been able to solve.

{System.TypeLoadException: Could not load type
'Lucene.Net.Documents.Document' from assembly 'Lucene.Net,
Version=, Culture=neutral, PublicKeyToken=null'.
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs
   at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control
ctrl, EventArgs e)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr
unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

I'm not sure why I'm getting this. When I call the
IsolatedStorageDirectory constructor, that runs fine, but when I try
to call something from the Lucene.Net core I'm running into this

Directory isoDir = new IsolatedStorageDirectory("//", null);
Document doc; //this line throws the error, the above runs fine.

I've cleared the GAC, made sure I've got the latest binaries referenced etc.

Any thoughts?


View raw message