Menu

Error generating code..

Help
2005-05-11
2013-03-22
  • Eclectic_Mo

    Eclectic_Mo - 2005-05-11

    Using ORM.NET tool (1.7.2.32067) against even the standard databases like northwind and pubs, I always get an error -
    System.InvalidOperationException: Unable to generate a temporary class (result=1).
    error CS1514: { expected
    error CS1001: Identifier expected
    error CS1031: Type expected
    error CS1519: Invalid token '{' in class, struct, or interface member declaration
    error CS1514: { expected
    error CS1001: Identifier expected
    error CS1031: Type expected
    error CS1519: Invalid token '{' in class, struct, or interface member declaration.

    Stack trace -

       at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence evidence)
       at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
       at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
       at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
       at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
       at System.Xml.Serialization.XmlSerializer..ctor(Type type)
       at ORM.NET.OrmLibGenerator.Generate(Database db)

    What am I doing wrong?
    Im on a WinXp Pro box with .NET framework 1.1

     
    • cavassinif

      cavassinif - 2005-05-12

      Hi Eclectic,

      Did you try executing the source project? maybe that way you'll find where the error is

      Regards
      Fabio

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.