-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: newer errors
PostPosted: Sun Jun 05, 2005 5:21 am 
Hi
got rid of the previous error...now i am compiling the *.cs files again and getting this error....any ideas ? am compiling from commandline....command issued is as....


csc /t:library /out:NHibernate.Bsmcrm.dll /resource:Unit.hbm.xml,Manager.hbm.xml,Salesrep.hbm.xml,Customer.hbm.xml,Contact.hbm.xml,Product.hbm.xm




C:\MICROSOFT.NET\bsmcrm-alpha\lib>csc /t:library /out:NHibernate.Bsmcrm.dll /resource:Unit.hbm.xml,Manager.hbm.xml,Salesrep.hbm.xml,Customer.hbm.xml,Contact.hbm.xml,Product.hbm.xm
l,Project.hbm.xml,Transaction.hbm.xml,Adminuser.hbm.xml,Log.hbm.xml, Activity.hbm.xml Unit.cs Manager.cs Salesrep.cs Customer.cs Contact.cs Transaction.cs Product.cs Project.cs Log
.cs Activity.cs Adminuser.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

Activity.hbm.xml(1,1): error CS0116: A namespace does not directly contain members such as fields or methods
Activity.hbm.xml(4,12): error CS1514: { expected
Activity.hbm.xml(4,52): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(5,26): error CS1002: ; expected
Activity.hbm.xml(5,32): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(5,51): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(6,15): error CS1519: Invalid token 'class' in class, struct, or interface member declaration
Activity.hbm.xml(6,20): error CS1001: Identifier expected
Activity.hbm.xml(7,7): error CS1519: Invalid token '>' in class, struct, or interface member declaration
Activity.hbm.xml(8,29): error CS1525: Invalid expression term '>'
Activity.hbm.xml(9,13): error CS1002: ; expected
Activity.hbm.xml(9,17): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(11,30): error CS1002: ; expected
Activity.hbm.xml(11,34): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(12,33): error CS1525: Invalid expression term '>'
Activity.hbm.xml(14,13): error CS1002: ; expected
Activity.hbm.xml(14,17): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(14,32): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(15,35): error CS1002: ; expected
Activity.hbm.xml(15,39): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(17,34): error CS1002: ; expected
Activity.hbm.xml(17,38): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(18,38): error CS1525: Invalid expression term '>'
Activity.hbm.xml(20,14): error CS1002: ; expected
Activity.hbm.xml(20,18): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(20,35): error CS1001: Identifier expected
Activity.hbm.xml(20,76): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(22,6): error CS1519: Invalid token '-' in class, struct, or interface member declaration
Activity.hbm.xml(22,9): error CS1519: Invalid token '-' in class, struct, or interface member declaration
Activity.hbm.xml(22,29): error CS1002: ; expected
Activity.hbm.xml(22,34): error CS1001: Identifier expected
Activity.hbm.xml(22,74): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(24,6): error CS1519: Invalid token '-' in class, struct, or interface member declaration
Activity.hbm.xml(24,9): error CS1519: Invalid token '-' in class, struct, or interface member declaration
Activity.hbm.xml(24,30): error CS1002: ; expected
Activity.hbm.xml(24,35): error CS1001: Identifier expected
Activity.hbm.xml(24,76): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(26,6): error CS1519: Invalid token '-' in class, struct, or interface member declaration
Activity.hbm.xml(26,9): error CS1519: Invalid token '-' in class, struct, or interface member declaration
Activity.hbm.xml(26,29): error CS1002: ; expected
Activity.hbm.xml(26,34): error CS1001: Identifier expected
Activity.hbm.xml(26,74): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(28,6): error CS1519: Invalid token '-' in class, struct, or interface member declaration
Activity.hbm.xml(28,9): error CS1519: Invalid token '-' in class, struct, or interface member declaration
Activity.hbm.xml(28,29): error CS1002: ; expected
Activity.hbm.xml(28,34): error CS1001: Identifier expected
Activity.hbm.xml(28,74): error CS1519: Invalid token '=' in class, struct, or interface member declaration
Activity.hbm.xml(31,9): error CS1001: Identifier expected
Activity.hbm.xml(36,12): error CS1519: Invalid token '-' in class, struct, or interface member declaration
Activity.hbm.xml(36,20): error CS1519: Invalid token '>' in class, struct, or interface member declaration
Activity.hbm.xml(36,23): error CS1513: } expected
Activity.hbm.xml(20,30): error CS0542: '?': member names cannot be the same as their enclosing type
Activity.hbm.xml(6,15): (Location of symbol related to previous error)

C:\MICROSOFT.NET\bsmcrm-alpha\lib>


Top
  
 
 Post subject:
PostPosted: Sun Jun 05, 2005 7:52 am 
Senior
Senior

Joined: Sat May 14, 2005 8:40 am
Posts: 130
There is probably something wrong with the command-line command as the C# compiler also tries to compile your .hbm.xml files.

Just a sidenote: get NAnt if you compile from the command-line without VS.NET. It makes life so much easier.

_________________
Cuyahoga


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.