[Mono-list] critical problem !!!!!!!

kamel derouiche kamelderouiche at yahoo.com
Sat Jun 9 11:49:19 EDT 2007


Hi,,

using System;
using System.Xml;
using System.Xml.Serialization ;

namespace CarteVisite
{
	[Serializable] [XmlType("Carte_de_visite")]
	public class CarteDeViste
	{
			[XmlElement("nom")] public string Nom;
			[XmlElement("pernom")] public string Pernom;
			[XmlElement("email")] public string Email ;
			[NonSerialized()]
			public string Telephone;
	}
}

Interface::
using System;




	[assembly: AssemblyVersion("0.1.0.0")]
	
	public class AnnuaireDAL
	{
		public AnnuaireDAL() {  }
		public CarteDeVisite ExtraireCarte (string nomSearch
) {
			return null ;
		}
		public void AjouterCarte (CarteDeVisite carte) {
		}	
	}


I'am launch compilation:

mcs /target:library /reference:CarteDeVisite.dll
AnnuaireDAL.cs 

resultat:

AnnuaireDAL.cs(12,10): error CS0246: The type or
namespace name `CarteDeVisite' could not be found. Are
you missing a using directive or an assembly
reference?
AnnuaireDAL.cs(15,29): error CS0246: The type or
namespace name `CarteDeVisite' could not be found. Are
you missing a using directive or an assembly
reference?
Compilation failed: 2 error(s), 0 warnings

Help me ???

Thank you,,


NetBSD is very JIHBED, MONO RUN in NetBSD


       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


More information about the Mono-list mailing list