Fri 30 Jul 2004 11:17:46 PM UTC, comment #1:
Thanks Gilles for your bug report. Grammatica (.NET) has been built with Mono on Linux until now and I haven't even had access to a Windows machine for testing until very recently... :-(
So I guess that explains why things might not be so smooth with the .NET version yet. I'm planning big improvements in this area for version 1.5 but unfortunately it's been on hold while I've been stuck with other projects for the last 6 months... I'll try to have a look at this issue in the upcoming weeks, however.
If you want to try the "bleeding edge" you'd might try extracting the latest sources from CVS (should be better than version 1.4, but less tested). I also happen to know that Adrian Moore have been hacking on a .NET version of Grammatica that might be more integrated with VS.NET. You'll find his contact information here: http://savannah.nongnu.org/users/AgentSmith/
|
Fri 30 Jul 2004 09:46:11 AM UTC, original submission:
When I add a reference to grammatica-1.4.dll (and other versions) and I try to run the solution, an error occured at runtime loading the assembly. Exception repported is:
System.IO.FileNotFoundException: Le fichier ou l'assembly nommé grammatica.dll, ou l'une de ses dépendances, est introuvable.
Nom du fichier : "grammatica.dll"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at WindowsApplication1.Form1.Form1_Load(Object sender, EventArgs e) in e:\csa fr parser\grammatica\windowsapplication1\windowsapplication1\form1.cs:line 93
Fusion log follows:
Pre-bind state information
LOG: Where-ref bind. Location = E:\grammatica-1.4\lib\grammatica.dll
LOG: Appbase = E:\CSA FR Parser\Grammatica\WindowsApplication1\WindowsApplication1\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///E:/grammatica-1.4/lib/grammatica.dll.
I successed recompiling Grammatica's C# source code by myself. Maybe the compiled dll does not contain assembly info (dll's version is not accessible in the file's Windows properties).
For your information, when I compiled the DLL, some warnings occured (in french, sorry):
E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\ProductionPatternElement.cs(49,18): warning CS0659: 'PerCederberg.Grammatica.Parser.ProductionPatternElement' se substitue à Object.Equals(object o) mais pas à Object.GetHashCode()
E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\ProductionPatternAlternative.cs(51,18): warning CS0659: 'PerCederberg.Grammatica.Parser.ProductionPatternAlternative' se substitue à Object.Equals(object o) mais pas à Object.GetHashCode()
E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\LookAheadSet.cs(592,23): warning CS0659: 'PerCederberg.Grammatica.Parser.LookAheadSet.Sequence' se substitue à Object.Equals(object o) mais pas à Object.GetHashCode()
E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\Node.cs(66,31): warning CS0679: D'autres langages peuvent autoriser la substitution du membre virtuel interne 'PerCederberg.Grammatica.Parser.Node.IsHidden()'
E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\Production.cs(76,32): warning CS0679: D'autres langages peuvent autoriser la substitution du membre virtuel interne 'PerCederberg.Grammatica.Parser.Production.IsHidden()'
E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\ProductionPatternAlternative.cs(284,43): warning CS0168: La variable 'alt' est déclarée, mais jamais utilisée
Gilles Harand
-unavailable-
|