[Mono-list] How to generate System.ComponentModel.Design assembly?
Hello everyone, I'm trying to compile and application I'm porting from VS.NET and Windows to Mono (1.1.6) and Linux (FC3). The problem I'm facing is that I need System.ComponentModel.Design assembly but I don't have it. However I've found a folder (mono-1.1.6/mcs/class/System/System.ComponentModel.Design) containing .cs files.Is it possible to generate the assembly from those files? If so, how? Thanks in advance and best regards, Narcís Calvet. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] How to generate System.ComponentModel.Design assembly?
Hi, I tried using: mcs /target:library /out:System.ComponentModel.Design.dll /recurse:Sytem.ComponentModel.Design/*cs but I got a couple of errors at MenuCommand.cs (85) and DesigntimeLicenseContextSerializer.cs(44) saying: "Could not find attribut 'MonoTODO' (are you missing a using directive or an assembly reference ?). Any idea on how to overcome this? Regards, Narcís Calvet - Original Message - From: Narcís Calvet To: mono-list@lists.ximian.com Sent: Wednesday, May 25, 2005 3:13 PM Subject: [Mono-list] How to generate System.ComponentModel.Design assembly? Hello everyone, I'm trying to compile and application I'm porting from VS.NET and Windows to Mono (1.1.6) and Linux (FC3). The problem I'm facing is that I need System.ComponentModel.Design assembly but I don't have it. However I've found a folder (mono-1.1.6/mcs/class/System/System.ComponentModel.Design) containing .cs files.Is it possible to generate the assembly from those files? If so, how? Thanks in advance and best regards, Narcís Calvet. ___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] How to generate System.ComponentModel.Design assembly?
Hi Kornél, Thanks, then I must assume that System.ComponentModel.Design is incomplete in Mono version compared to Windows version as I get some types/namespaces that can not be found on that namespace. Am I wrong? Regards, Narcís. - Original Message - From: Kornél Pál To: mono-list@lists.ximian.com ; Narcís Calvet Sent: Wednesday, May 25, 2005 3:28 PM Subject: Re: [Mono-list] How to generate System.ComponentModel.Design assembly? Hi,I'm trying to compile and application I'm porting from VS.NET and Windowsto Mono (1.1.6) and Linux (FC3). The problem I'm facing is that I needSystem.ComponentModel.Design assembly but I don't have it. However I'vefound a folder (mono-1.1.6/mcs/class/System/System.ComponentModel.Design)containing .cs files. Is it possible to generate the assembly from thosefiles? If so, how?There is no System.ComponentModel.Design.dll assembly neither in .NETFramework nor in Mono.This namespace is contained in the assembly System.dll on both platforms.By the way it should be possible to compile an assembly containing onlySystem.ComponentModel.Design but there is no use to do it as it is part of.NET Framework and Mono as well so you can simply use it from System.dll.Kornél ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] How to generate System.ComponentModel.Design assembly?
Hi Pál, Thank you very much for your efficient help. But if you are talking about types that are missing fromSystem.ComponentModel.Design namespace in System.dll it's because they arenot implemented in Mono yet. Yes, that's the case.You should do the following:1. Try to compile you application using .NET Framework.2. Try to compile it using Mono built from latest SVN sources.If it compiles in the first case but not in the second, look at the latestsource code athttp://svn.myrealbox.com/source/trunk/mcs/class/System/System.ComponentModel.Design/There may be missing classes, methods, etc. Yes, the application compiles and works fine in .NET Framework. I'll give latest mono release a try and stay tuned on how it evolves. Thanks and regards, Narcís. - Original Message - From: Kornél Pál To: mono-list@lists.ximian.com ; Narcís Calvet Sent: Wednesday, May 25, 2005 3:49 PM Subject: Re: [Mono-list] How to generate System.ComponentModel.Design assembly? Hi,Thanks, then I must assume that System.ComponentModel.Design is incompletein Mono version compared to Windows version as I get some types/namespacesthat can not be found on that namespace. Am I wrong?If you are talking about MonoTODO it is in filemcs/class/System/System/TODOAttribute.cs. The error is becauseSystem.ComponentModel.Design is a namespace inside the assembly System.dlland all of it's source files assume that they are compiled as a singleassembly.But if you are talking about types that are missing fromSystem.ComponentModel.Design namespace in System.dll it's because they arenot implemented in Mono yet.You should do the following:1. Try to compile you application using .NET Framework.2. Try to compile it using Mono built from latest SVN sources.If it compiles in the first case but not in the second, look at the latestsource code athttp://svn.myrealbox.com/source/trunk/mcs/class/System/System.ComponentModel.Design/There may be missing classes, methods, etc.Kornél ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] VS.NET project built with Mono
Hi Joe, Thanks but that's not the case. My application works fine in VS.NET but I want it to work in Linux that's why Ineed to build it in that environment using Mono. Best Regards, Narcís Calvethttp://support.steema.com "Important note: If you are a TeeChart registered customer, please post yoursupport questions at Steema's Support monitored Forums for customers:http://support.steema.com for a prompter reply." - Original Message - From: Joe Audette To: Narcís Calvet ; mono-list@lists.ximian.com Sent: Thursday, May 12, 2005 7:14 PM Subject: Re: [Mono-list] VS.NET project built with Mono I build my solutions in VS.NET and deploy on mono.The main things is that everything in the bin must becompiled using Rebuild not just Build. If you areusing any third party dlls they also must be compiledwith Rebuild. Mono doesn't like incremental buildsthat you get with normal Build.Hope it helps,Joe--- Narcís Calvet [EMAIL PROTECTED] wrote: Hello, I have a quite complex project developed using VS.NET and I'd like to build it using Mono. The project complexity lies on that it has several references/dependencies. I've tried the following to build it without success: 1) Using "mcs /target:library /out:MyProject.dll /recurse:\MyProjectFolder\*.cs -r:System.Windows.Forms -r:System.Drawing -r:System.Data". The first problem is that System.Windows.Forms doesn't exist on Mono and I can get through this. 2) I've tried automake, autoconfig, ... But I found it really complicated to generate a reliable makefile for my project. 3) I've used prj2make-sharp to convert my .csproj or .sln to a .prjx file but I got several errors. Considering none of those options has brought me to a working solution, what would you suggest me? It may be that I need to adapt my project implementation to Mono capabilities? There's an easy way to build my project? Thanks in advance! Narcís Calvetjoe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] VS.NET project built with Mono
Hi Peter, Thanks for your help. I'm already using Mono 1.1.6. Yes, I can see it already finds System.Windows.Forms, the problem is more related to my project namespaces (being in different files) and its compilation order. I'll try to do some testing merging files together. Thanks and regards, Narcís Calvet - Original Message - From: Peter Dennis Bartok To: Narcís Calvet ; mono-list@lists.ximian.com Sent: Thursday, May 12, 2005 7:30 PM Subject: Re: [Mono-list] VS.NET project built with Mono 1) Using "mcs /target:library /out:MyProject.dll /recurse:\MyProjectFolder\*.cs -r:System.Windows.Forms -r:System.Drawing -r:System.Data". The first problem is that System.Windows.Forms doesn't exist on Mono and I can get through this.Unless you're on the 1.0 branch or pre 1.1.4, you have System.Windows.Forms. If you're on 1.0 or pre 1.1.4 I'd like to strongly encourage you to update to a newer version of Mono.Depending on what classes you're using from SWF, you still may get an error though, since we're still missing a few classes (DataGrid, RichTextBox)Cheers, Peter ___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list