Debugging Mono Classes from VS.NET ide (was RE: [Mono-list] Debugging one package at a time)

Francesco FD. Delfino fdelfino@napoli.consorzio-cini.it
Fri, 19 Jul 2002 10:12:26 +0200


I think that would be usuful to know to all of you that for using Mono classes instead of MS's, e.g. System.Xml package, you just have to add the project contained in the directory e.g. System.Xml and then, in the AssemblyInfo.cs file generated by VS.NET for your project:
- Change the statement [assembly: System.CLSCompliant(true)] with [assembly: System.CLSCompliant(false)] (if present)
- Just comment the lines:
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile(@"..\..\..\jabbernet.key")]
[assembly: AssemblyKeyName("")]
 
I suggest to write a note about this in the "contributing" page, so that who is not familiar with the C# signing procedure can contribute and debug mono classes from the VS.NET development environment (which is very nice!)
 
Bye,
   Francesco

	-----Original Message----- 
	From: Miguel de Icaza [mailto:miguel@ximian.com] 
	Sent: Thu 7/18/2002 9:02 PM 
	To: Francesco FD. Delfino 
	Cc: mono-list@ximian.com 
	Subject: Re: [Mono-list] Debugging one package at a time
	
	


	> I am quite new to mono developing. I was trying to make mono run a c# library that makes simpler to write client server programs that exchange xml streams (it is called jabber.net).
	> My problem is that since both System.dll and System.Xml.dll classes needs some more methods to make all the stuff work.
	> My idea was to provide first the code to System.Xml package and then to the other.
	> Now my question is: is there a well know way to only use System.Xml classes provided by mono, so that it is possible to make them somehow more complete?
	> My idea was to make a VS.NET solution and include as projects both the library and the System.Xml.dll project file: is that the best way (sure at the beginning, when the compiler was not self hosting, you made something similar...)?
	>
	
	I believe Jason and Krall did check in VS.NET files that you can use to
	compile our System.XML and even to run the System.XML tests (which is
	way cool, and way simple)