Re: [Mono-dev] Question about AjaxToolkit and System.Web.Extensions on Mono
I remember even last year Ajax and Ajax Control Toolkit was working flawlessly on mono and linux. Thanks to Marek. The thing is you cannot use .NET System.Web.Extension (and it would be illegal to do so). Mono has own assembly with the same name. Try that. I ensure you it was working even 1 year ago. So you should be missing something Good luck 2008/10/1 Karel Tamayo <[EMAIL PROTECTED]>: > Hi everybody: > > I'd be glad if anyone could help me here. > > I'm running a web application on mono. I did port it from asp.net using > moma and although I was using VS 2008 I was targeting .net framework 2.0 to > be OK with compatibility issues. > > I got the System.Web.Extensions.dll for the mono framework and copied in > Bin folder of my application. > > The application runs perfectly but the Ajax stuff are not working at all. > I mean, I can load the page in which I have 2 linked dropdowns with states > and municipalities data but, the update panel in which both are contained > doesn't work. My page is making a full postback to the server every time I > change the selected item of the states dropdown. > > I checked the error console and then I sow that the initialization script > is setting this error message: > Error: ASP.NET Ajax client-side framework failed to load. > > Where do I have to copy the toolkit, the extensions? What am I missing??? > > Any help will be much appreciated. > > Thanks in advance, > Karel. > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] why does gtk# installer requires .net 1.1 ?
It seems gtk# requires .net 1.1 explicitly for windows. Though this seems to be an unrealistic requirement if people want GTK# usage increase on windows as well. As you would guess, vast majority of windows boxes has .net 2.0+. Any improvements possible ? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] why does gtk# installer requires .net 1.1 ?
Both 2.10 and 2.8 asked me .net 1.1 sdk On Sat, Oct 11, 2008 at 9:53 PM, Mike Kestner <[EMAIL PROTECTED]> wrote: > On Thu, 2008-10-09 at 10:07 +0300, Onur Gumus wrote: >> It seems gtk# requires .net 1.1 explicitly for windows. Though this >> seems to be an unrealistic requirement if people want GTK# usage >> increase on windows as well. As you would guess, vast majority of >> windows boxes has .net 2.0+. Any improvements possible ? > > Right now, gtk-sharp requires the 1.1 SDK to build. Starting with the > 2.10 installers though, I'm told that the installer doesn't require 1.1. > There is no technical reason I am aware of that the gtk-sharp assemblies > should require 1.1 at runtime. > > Can you confirm which installer you are referring to? > > > -- > Mike Kestner <[EMAIL PROTECTED]> > > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] help needed please for ASP.NET migration to mono 2.0
disregarding the minor incompabilities, your application should run out of box on mono/linux. The only exceptions would be third party dlls using P/Invoke. Also you need to use Mono's System.Web.Extensions. Not microsofts. Other than that everything should work including ajax 2008/10/16 mike horsley <[EMAIL PROTECTED]>: > Hi > > > > We use mono already for our server based software and its working well. With > 2.0, we're starting migrating our ASP.NET application over as well. > > > > I'm using the VMWARE image for 2.0 > > > > Initially, I read the "welcome to mono" page on the VM and followed the > "copy you asp.net code to a folder under '/srv/www/htdocs'" instructions and > went to the local host URL and got a variety of errors (including one which > was the giveway that firefox didn't know what to do with an aspx file) > > > > I then dug around and found the mojoportal site; backtracked into the > /etc/apache2/conf.d folder, found the conf file and the 'webapp' config file > under /etc/xsp/2.0/applications_available and copied them and modified to > suite my application. > > > > If I access my default.aspx page now, I no longer get the errors and see the > status bar at the bottom which says "transferring data from local host" > which then changes to "waiting for local host". Nothing furher happens. > > > > I've managed to set up the mono-control tool and that works but doesn't give > me much additional information. > > > > The ASP.NET application is straight off VS 2005; it works fine under MS. It > contains AJAX.NET. I've renamed Bin to bin. Given that nothing really > happens, could it be something basic like its not compiling under mono on > the first reference to the site? > > > > Help would be greatly appreciated. > > Regards > > Mike > > > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] MS kills Linq to SQL ! --- Linq, Nhibernate or subsonic ?
http://blogs.msdn.com/adonet/archive/2008/10/29/update-on-linq-to-sql-and-linq-to-entities-roadmap.aspx On Tue, Jul 1, 2008 at 12:32 PM, Onur Gumus <[EMAIL PROTECTED]> wrote: > Because NHiberate is hard. I mean really hard. If you want something > "install and go" try castle active record > > On Tue, Jul 1, 2008 at 11:08 AM, Sharique uddin Ahmed Farooqui > <[EMAIL PROTECTED]> wrote: >> Hi, >> My experience with NHibernate is not quite good. I spend a week but >> did not get it working. with subsonic I started working couple of >> hours. >> Why we should implement linq to sql. If we don't have it than a lot of >> applications won't be able to run on mono. >> >> On Sun, Jun 29, 2008 at 5:21 AM, Onur Gumus <[EMAIL PROTECTED]> wrote: >>> yes I did try linq to sql. As a matter of fact at the very beggining >>> of this conversation, I did told those reflect my opinions only and I >>> did not want to start a flamewar. Yet I see you are offended. I >>> certainly understand your pain since it appears to be you love linq to >>> sql and may be waiting for it's implementation on mono and some guy >>> just came up and saying hey no need for linq to sql , we' got >>> nhibernate. >>> >>> Frankly side by side technical comparison I still consider nhibernate >>> superior. For the following reasons: >>> >>> NHibenate works with almost every database and you can develop true >>> database independent applications. For instance when you finish your >>> product's coding you can deliver it for different databases. Same >>> cannot be applied to linq to sql which only works for sql server. Sure >>> there are implementations for postgress as well but you stick to one >>> database and cannot further modify it. >>> >>> traditionally nhibernate uses criteria and hql based queries which >>> look weird compared to linq's static typing power. But then now we >>> have linq to nhibernate functional and running. >>> >>> Furthermore you are incorrect about xml because nhibernate supports >>> Attribute based mapping and another option is Castle ActiveRecord. >>> Where you can do the mapping with 0 XML. That's what I do. >>> >>> linq to sql is more data centric approach. You first create your >>> database and from there you generate your classes via sql metal. And >>> the generated code is messy. NHibernate uses domain driven approach >>> which is better for larger scale applications. Namely you totally >>> ignore the existence of your database and just write you classes >>> (including interfaces and your inheritence tree). Then you make your >>> mapping finally you tell nhibernate create the tables for you. It is >>> much more powerful than what linq to sql is capable of. Also linq to >>> sql can only have 1 type of mapping for inheritence where as >>> nhibernate supports 3 types . see how inheritence is applied to both. >>> And I don't think linq to sql supports persistance for your >>> "interfaces" >>> >>> For databinding to gui I use my modified object data source which is >>> just good. But there are other solutions like >>> http://www.codeproject.com/KB/aspnet/NHibernateDataSource.aspx for >>> web applications . >>> >>> that's just my 2 cents >>> >>> >>> >>> >>> >>> >>> On Sat, Jun 28, 2008 at 10:59 PM, Sharique uddin Ahmed Farooqui >>> <[EMAIL PROTECTED]> wrote: >>>> Thanks nicole. >>>> I'm using sunsonic. It is quite easy to learn and it works with .net >>>> 2.0 and mono as well. >>>> I'll suggest Subsonic other as well. >>>> >>>> On Mon, Jun 23, 2008 at 8:01 PM, nicolasdiazaragon >>>> <[EMAIL PROTECTED]> wrote: >>>>> >>>>> What do you mean by saying that not yet having linq to sql isn´t a big >>>>> loss >>>>> and that it can be replaced by using nhibernate? >>>>> Have you tried linq to sql? have you compared it to using hibernate? >>>>> Maybe if all you code is meant to be part of some desktop application, >>>>> then >>>>> you are fine with hibernate. But if you intend to build real enterprise >>>>> applications, then you should use linq to sql. Not only does it make code >>>>> more simple and easy to read, it gets things done faster than hibernate >>>&g
[Mono-dev] ADO.NET Data Services (project astoria) plans ?
Hello, I would like to know if there is any future plans on implementing ADO.NET Data Services aka astoria ? It's a really cool project that enables linq queries over restful services. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] ADO.NET Data Services (project astoria) plans ?
actually I think you are wrong. Astoria DOES NOT depend on linq to entities. I certainly used Astoria over NHibernate(updatable) or even with DB4O (non updatable) without any glitch of Linq To Entities. AFAIK it only uses the EDM model of entity framework which certainly can be abstracted out of entitiy framework On Fri, Jan 16, 2009 at 1:41 PM, Atsushi Eno wrote: > It depends on Linq to Entities, which is not planned yet. > > Before filling L2Entities, we would finish Linq to SQL. I was partly > working on L2SQL after the GSoC 2008 has finished, but now I have a > couple of other tasks to do, so we are not sure when it will be done > and L2Entities will start (under current scheme). > > Atsushi Eno > > > Onur Gumus wrote: >> Hello, >> >> I would like to know if there is any future plans on implementing >> ADO.NET Data Services aka astoria ? >> >> It's a really cool project that enables linq queries over restful services. >> ___ >> Mono-devel-list mailing list >> Mono-devel-list@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-devel-list >> > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] ADO.NET Data Services (project astoria) plans ?
http://msdn.microsoft.com/en-us/data/cc745968.aspx This is a Screen cast to use AStoria over _any_ linq binding. I also personally used astoria with NHibernate. On Sat, Jan 17, 2009 at 6:10 PM, Atsushi Eno wrote: > Oh, interesting. When I tried to implement it (since as the API it > does *not* depend on L2Entities I could try to implement it by API > itself), it did not accept simple enumerable things (or something > else; I don't remember). So I simply gave up to wait for L2Entities. > > If there are example uses of Data Services without L2Entities, it > would be nice if you can share them (or examples). > > Atsushi Eno > > > Onur Gumus wrote: >> >> actually I think you are wrong. Astoria DOES NOT depend on linq to >> entities. >> >> I certainly used Astoria over NHibernate(updatable) or even with DB4O >> (non updatable) without any glitch of Linq To Entities. >> >> AFAIK it only uses the EDM model of entity framework which certainly >> can be abstracted out of entitiy framework >> >> On Fri, Jan 16, 2009 at 1:41 PM, Atsushi Eno wrote: >>> >>> It depends on Linq to Entities, which is not planned yet. >>> >>> Before filling L2Entities, we would finish Linq to SQL. I was partly >>> working on L2SQL after the GSoC 2008 has finished, but now I have a >>> couple of other tasks to do, so we are not sure when it will be done >>> and L2Entities will start (under current scheme). >>> >>> Atsushi Eno >>> >>> >>> Onur Gumus wrote: >>>> >>>> Hello, >>>> >>>> I would like to know if there is any future plans on implementing >>>> ADO.NET Data Services aka astoria ? >>>> >>>> It's a really cool project that enables linq queries over restful >>>> services. >>>> ___ >>>> Mono-devel-list mailing list >>>> Mono-devel-list@lists.ximian.com >>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list >>>> >>> ___ >>> Mono-devel-list mailing list >>> Mono-devel-list@lists.ximian.com >>> http://lists.ximian.com/mailman/listinfo/mono-devel-list >>> >> > > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Debugger for ASP.NET, when ?
Hello, I know there is a gui debugger for normal applications in monodevelop. But for XSP2 it doesn't work. Any predictions that when a debugger will be implemented for ASP.NET ? thanks Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] gmcs and The Future
I wonder (may be a silly idea but) if there is any chance that mono team can take the initiative to derive the ECMA C# standard in future 2009/2/6 Rafael Teixeira : > That crtical part you can code in Boo, using Boo Macros, which would perform > just as you want, and have only the external API paying the call cost. > > Just an idea to leverage the multilanguage abilities in Mono/.NET. > > Fun, > > On Wed, Feb 4, 2009 at 2:18 PM, wrote: >> >> Yes but this is only for a very small class of functions that we know >> will work correctly within these constraints... its not for everyone I >> know, but it is still a feature that we would like to have. >> >> Russell >> >> -Original Message- >> From: Mark Probst [mailto:mark.pro...@gmail.com] >> Sent: 04 February 2009 16:14 >> To: Jb Evain >> Cc: Russell Kay; mono-devel-list@lists.ximian.com; sc...@ssblack.co.nz >> Subject: Re: [Mono-dev] gmcs and The Future >> >> On Wed, Feb 4, 2009 at 5:10 PM, Jb Evain wrote: >> >> So I'm not expecting the C# compiler to output anything other than >> IL >> >> but just eliminate the calling overhead and not relying on the JIT >> to do >> >> the inlining. >> > >> > That's just not possible for a large majority of the cases, as it >> > would cause a lot of access exceptions. You can't simply inline an >> > instance method which reads a private field in its own type, inside >> > another type for instance. >> >> Apart from the fact that if you're inlining a method from a different >> assembly by "importing" it you're not only depending on the interface >> of the assembly not to change in the future, but also on the >> implementation, which is a very bad idea. >> >> Mark >> >> -- >> Mark Probst >> http://www.complang.tuwien.ac.at/schani/ >> http://www.flickr.com/photos/schani/ >> http://schani.wordpress.com/ >> >> >> This email has been scanned by the MessageLabs Email Security System >> >> >> DISCLAIMER >> >> This message and any attachments contain privileged and confidential >> information intended for the use of the addressee named above. If you are >> not the intended recipient of this message, you are hereby notified that any >> use, dissemination, distribution or reproduction of this message is >> prohibited. Please note that we cannot guarantee that this message or any >> attachment is virus free or that it has not been intercepted and amended. >> The views of the author may not necessarily reflect those of Realtime Worlds >> Ltd. >> >> >> >> Realtime Worlds Ltd is registered in Scotland, number 225628. Registered >> Office: 152 West Marketgait, Dundee, DD1 1NJ. >> ___ >> Mono-devel-list mailing list >> Mono-devel-list@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > -- > Rafael "Monoman" Teixeira > --- > "I myself am made entirely of flaws, stitched together with good > intentions." > Augusten Burroughs > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Announcing Mono 2.4 Preview RC 2...
Any fixes for nemerle ? https://bugzilla.novell.com/show_bug.cgi?id=467834 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Announcing Mono 2.4 Preview RC 2...
I understand that however ,this is obviously a regression. Because I know nemerle was working and nemerle's code base isn't so active. So basicly you are dropping the support for one of the .net languages. Very good for mono. On Wed, Mar 11, 2009 at 1:33 PM, Zoltan Varga wrote: > Hi, > > As a comment in the bug report says: > > No easy > solution. > > Zoltan > > On Wed, Mar 11, 2009 at 12:23 PM, Onur Gumus wrote: >> Any fixes for nemerle ? >> https://bugzilla.novell.com/show_bug.cgi?id=467834 >> ___ >> Mono-devel-list mailing list >> Mono-devel-list@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-devel-list >> > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Announcing Mono 2.4 RC 3...
I still want https://bugzilla.novell.com/show_bug.cgi?id=467834 to be fixed. Despite Zoltan's comments this is a regression since mono 2.0.1 2009/3/18 Paul : > Hi, > >> We've just released Mono 2.4 RC 3 today! >> >> Please help us out by giving it a try with your applications. > > Fails to build on my x86 Fedora box > > I'm getting > > Error: mini-trampolines.c:341:mono_magic_trampoline: assertion failed: > (*vtable_slot). This is while building [net_2_0_bootstrap] > System.Xml.dll > > Stacktrace looks to be borking on Mono.CSharp.TypeOf.DoResolveBase() > > TTFN > > Paul > -- > Sie können mich aufreizen und wirklich heiß machen! > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] asp.net menu control
Hello, Is there a problem with Mono's Menu Control in ASP.NET? When I use it, if the sub menu has 5 or more items, the items does not fit into the submenu. And two arrows appear (up and down) to navigate. Also when you use horizontal orientation, the submenu coincides with the static items. Furthermore, absolute positioning doesn't affect the submenu. Can anyone confirm these ? I am using Mono JIT compiler version 1.2.4 (/trunk/ r82517) Regards Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Spring and NHibernate support
Hi, as of the current svn version. I am able to use NHibernate 1.2successfully. (Also you would need s xsp2, svn ) Just for your knowledge Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] C# 3.0
wow. do we have to use language:xlinq compiler option do use these features ? and what about inferred types ? On 8/1/07, Marek Safar wrote: > > Hi, > > When will be C# 3.0 will be complete and included in main package? > Some features like > > * extension methods, > * automatically generated properties, > * implicitly typed arrays, > * implicitly typed local variables, > * lambda expressions > > will be included in the upcoming release 1.2.5 and remaining features > should > hit release after that. > > Regards, > Marek > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono 1.2.5 Preview 2
Hi , for the earlier releases there were differences between the binary installer and source code compilation . (Like the gtk-sharp version was 2.04in binary installer and 2.10 in source code, futhermore miguel explained me this was intentional). The question is , Is there now any difference between those installation methods (source and binary installer) in terms of the assembly versions in gac ? On 8/2/07, Wade Berrier <[EMAIL PROTECTED]> wrote: > > Hi, > > Mono 1.2.5 preview 2 sources, packages, and installers are available at: > > http://mono.ximian.com/monobuild/preview/download-preview/ > > At some point, the release notes for 1.2.5 will be available at: > > http://go-mono.com/archive/1.2.5/ > > If no critical bugs are found after the preview period, these same > downloads will be posted on mono-project.com for general consumption. > > If there are critical bugs found, only those packages/sources will be > updated before publishing to mono-project.com. > > Since this release hasn't been pushed to our main download server, some > sources may be retagged if critical bugs are found. Those tags are not > final until we publish to mono-project.com. > > Changes with preview 2 over preview 1: > > MonoDevelop 0.15 > IPCE r6 > cocoa-sharp 0.9.4 > redcarpet/opencarpet support dropped (all the distros we support can > install packages via yast or yum) > Several critial bugs fixed that were found in preview1 (Thanks for > testing!!) > ikvm 0.34.0.2 > > Wade > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono and NMock2 - failing to run NMock2 with mono svn
Just for your knowledge, although I haven't made a full comprehensive test, Rhino Mocks is also seemed to work with mono 1.2.5 very well. On 8/7/07, Mads Bondo Dydensborg <[EMAIL PROTECTED]> wrote: > > onsdag 04 Juli 2007 skrev Mads Bondo Dydensborg: > > fredag 29 juni 2007 16:22 skrev Mads Bondo Dydensborg: > > > Hi there > > Hi again > > Just a note for the archive. This issue has been resolved (possibly > sooner) in > revision: > > $ mono --version > Mono JIT compiler version 1.2.5 (/trunk/ r83560) > Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com > TLS: __thread > GC:Included Boehm (with typed GC) > SIGSEGV: altstack > Architecture: x86 > Disabled: none > > Thanks to whomever fixed it, and regards. > > Regards, > > Mads > > > > > > Hi there - just a repost to raise this issue again. > > > > Any feedback will be most appreciated. > > > > Regards, > > > > Mads > > > > > > > > I have observed that my nmock2 tests have started to fail with the > version > > of > > > mono I compile from svn. Running this command: > > > > > > $ echo $MONO_PATH > > > > > /home/madsdyd/xintegra/trunk/Components/Bin/:/home/madsdyd/xintegra/trunk/Lib/NUnit:/home/madsdyd/xintegra/trunk/Lib/NMock:/home/madsdyd/xintegra/trunk/Lib/NLog/Mono > > > $ which mono > > > /usr/local/mono-svn/bin/mono > > > $ mono --version > > > Mono JIT compiler version 1.2.4 (/trunk/ r81006) > > > Copyright (C) 2002-2007 Novell, Inc and Contributors. > www.mono-project.com > > > TLS: __thread > > > GC:Included Boehm (with typed GC) > > > SIGSEGV: normal > > > Architecture: x86 > > > Disabled: none > > > $ > > > > > > mono --debug > /home/madsdyd/xintegra/trunk/Lib/NUnit/nunit-console.exe../Bin/Debug/DBC.ORM.dll > > > > > > fails with: > > > > > > Failures: > > > 1) SQLBuilderTest.SelectOrAndSQL : System.InvalidCastException : > Cannot > cast > > > from source type to destination type. > > > at SQLBuilderTest.SetUp () [0x00035] > > > > > > in > /home/madsdyd/xintegra/trunk/Components/DBC.ORM/UnitTest/SQLBuilderTest.cs:90 > > > at <0x0> > > > at (wrapper managed-to-native) > System.Reflection.MonoMethod:InternalInvoke > > > (object,object[]) > > > at System.Reflection.MonoMethod.Invoke (System.Object obj, > BindingFlags > > > invokeAttr, System.Reflection.Binder binder, System.Object[] > parameters, > > > System.Globalization.CultureInfo culture) [0x00056] > > > > > > in > /home/compile/Compile/Mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:146 > > > > > > The offending statement is: > > > > > > mockProvider = mocks.NewMock(); > > > > > > AFAICT the assignment does not matter, the failure is somewhere in > > NewMock(?) > > > > > > However, running with stable mono: > > > > > > $ mono --version > > > Mono JIT compiler version 1.2.3.1, (C) 2002-2006 Novell, Inc and > > Contributors. > > > www.mono-project.com > > > TLS: __thread > > > GC:Included Boehm (with typed GC) > > > SIGSEGV: normal > > > Architecture: x86 > > > Disabled: none > > > > > > The test passes as expected - with no fails (neither from NUnit or > Mono). > In > > > both cases, the compilation of my source tree has been using the svn > version > > > of mono/gmcs. > > > > > > So, two questions: > > > > > > a) Is anyone else experiencing this issue? > > > b) Any advise on resolving it? > > > > > > Thanks in advance, and regards, > > > > > > Mads > > > > > > -- > > > Med venlig hilsen/Regards > > > > > > Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo > > Dydensborg > > > Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 > 86 > 77 > > 34 > > > > > > ___ > > > Mono-devel-list mailing list > > > Mono-devel-list@lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > > > > > > -- > > Med venlig hilsen/Regards > > > > Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo > Dydensborg > > Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 > 77 > 34 > > > > ___ > > Mono-devel-list mailing list > > Mono-devel-list@lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > > > > -- > Med venlig hilsen/Regards > > Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo > Dydensborg > Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 > 77 34 > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have ot
[Mono-dev] MonoMerge
Does any one have a URL for MonoMerge? The one I found in google seemed not to work -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Reading excel files with mono ?
Hello, Does anyone know if it is possible to read from Microsoft Excel files , with mono under linux ? Onur -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Reading excel files with mono ?
Jonathan , I am not sure if IKVM would do . Since I want to compile my project on linux once and for all and be able to deploy to Windows machines by only XCOPY. Johannes, Filehelper looks promising. There are some guys in the forums reporting success with mono however I am not sure if they tried the excel support. I must try this anyway. I will inform you about the results once I did. Thanks for all your answers. They were very helpful to me. On 8/8/07, Joe Audette <[EMAIL PROTECTED]> wrote: > > I don't know about .xls files but if they are saved as .csv you could > read them with this: > > http://www.codeproject.com/cs/database/CsvReader.asp?df=100&forumid=142714&exp=0&select=2127605 > > Excel has a save as csv option, but if you need the native .xls format > the above won't help. > > Joe > > On 8/8/07, Onur Gumus <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Does anyone know if it is possible to read from Microsoft Excel files , > with > > mono under linux ? > > > > Onur > > > > -- > > Warning: If you are reading this then this warning is for you. Every > word > > you read of this useless fine print is another second off your life. > Don't > > you have other things to do? Is your life so empty that you honestly > can't > > think of a better way to spend these moments? Or are you so impressed > with > > authority that you give respect and credence to all that claim it? Do > you > > read everything you're supposed to read? Do you think every thing you're > > supposed to think? Buy what you're told to want? Get out of your > apartment. > > Meet a member of the opposite sex. Stop the excessive shopping and > > masturbation.Quit your job. Start a fight. Prove you're alive. If you > don't > > claim your humanity you will become a statistic. You have been warned - > Onur > > ___ > > Mono-devel-list mailing list > > Mono-devel-list@lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > > > -- > Joe Audette > Software Solutions Architect > Source Tree Solutions, LLC > [EMAIL PROTECTED] > http://www.sourcetreesolutions.com > http://www.mojoportal.com > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] C# 3.0 support for MonoDevelop ?
Will there be a C#3.0 support for MonoDevelop in anytime soon ? -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] System.Web.Extension
Is the mono version of System.Web.Extension.dll usable from svn ? I tried it and I am unable to use it the same of Microsoft's. Also is it technically possible to use Microsoft's version ? Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Web.Extension
I've checked out the code from svn and compiled with Miguel's make file. So far so good. But when I add the dll to my project and configure my Web.config as of Microsoft wise (you , you have to type bunch of lines to your web.config) I got type not found error messages for asp:TextBox and so on. You know both System.Web.Extension.dll and System.Web.dll implements the same namespace Syste.Web.UI and according to the MS specs we need to use both of them with asp prefix. Finally MS specs suggest we should never use the dll directly rather than we ought to use them via GAC which is somewhat contraversial to what Miguel said. Is there any simple example how to configure web.config and a small aspx page to see if I am doing something wrong ? This one is mine <%@ Page Language="C#" Inherits="test55.xx" %> xx ^M On 8/27/07, Miguel de Icaza <[EMAIL PROTECTED]> wrote: > > Hello, > >[ This is a suggestion partially for Hari, who is starting to > dip his feet in ASP.NET ] > > > > Is the mono version of System.Web.Extension.dll usable from svn ? > > Yes. (Though not completely finished). > > > > > I tried it and I am unable to use it the same of Microsoft's. > > Please post the concrete problems you faced. > > I think that we should try to try to get the ASP.NET AJAX Control > Toolkit that Microsoft has open sourced to run on Mono, and to try to > run their sample applications with it. > > The toolkit is here: > > http://asp.net/ajax/control-toolkit/live/ > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Web.Extension
Hello - The name space thingy seemed to be my error so I fixed it. - You told me current version in svn is working. But is it working under xsp2/mono ? Or only tested under windows ? - As you know currently monodevelop does not support partial page classes for asp.net development. So we need to use "Code Behind" (Asp.net 1.1 style) instead of "Code Beside". Is this still ok? - My final program is as below and I am getting a nasty null pointer exception: <%@ Page Language="C#" Inherits="test55.xx" %> http://www.w3.org/1999/xhtml"; > UpdatePanel And Code behind as using System; using System.Web; using System.Web.UI; namespace test55 { public class xx : Page { protected System.Web.UI.HtmlControls.HtmlForm form1; protected System.Web.UI.WebControls.Button Button1; protected System.Web.UI.WebControls.Label Label1; protected void Button1_Click(object sender, EventArgs e) { try{ Label1.Text="ehlo"; }catch (Exception ex) { Console.Write( ex + ex.StackTrace + ex.Message); } } } } The exception I am getting is: System.NullReferenceException: at test55.xx.Button1_Click (System.Objectsender, System.EventArgs e) [0x0] at test55.xx.Button1_Click (System.Objectsender, System.EventArgs e) [0x0] Object reference not set to an instance of an objectoboSystem.NullReferenceException: Object reference not set to an instance of an object It seems Label is not recognized as being initialized even if the same ID exists in aspx file. This is why I get an exception. When I remove ajax stuff it works fine. Any ideas ? On 8/28/07, Konstantin Triger <[EMAIL PROTECTED]> wrote: > > Hello all, > > > > Here at Mainsoft we have ajax toolkit running without problems on the > latest version of Sys.Web.Extensions. If you fail loading asp:TextBox, > probably, there is a bug in aspx parser. As a workaround I would suggest > registering ajax controls to another namespace, i.e: > > > > > > > > > > > > In addition, ensure the assembly information is correct > (version,PublicKeyToken). > > > > Regards, > > Konstantin Triger > -- > > *From:* Onur Gumus [mailto:[EMAIL PROTECTED] > *Sent:* Tuesday, August 28, 2007 9:46 AM > *To:* Miguel de Icaza > *Cc:* Konstantin Triger; Raja R Harinath; mono-devel-list@lists.ximian.com > *Subject:* Re: [Mono-dev] System.Web.Extension > > > > I've checked out the code from svn and compiled with Miguel's make file. > So far so good. But when I add the dll to my project and configure my > Web.config as of Microsoft wise (you , you have to type bunch of lines to > your web.config) I got type not found error messages for asp:TextBox and > so on. You know both System.Web.Extension.dll and System.Web.dllimplements > the same namespace > Syste.Web.UI and according to the MS specs we need to use both of them > with asp prefix. > > Finally MS specs suggest we should never use the dll directly rather than > we ought to use them via GAC which is somewhat contraversial to what Miguel > said. > > Is there any simple example how to configure web.config and a small aspx > page to see if I am doing something wrong ? > > This one is mine > > <%@ Page Language="C#" Inherits="test55.xx" %> > > > > xx > > > > ^M > > > > > > > > > > > > > > > type="System.Web.Configuration.SystemWebExtensionsSectionGroup, > System.Web.Extensions , Version=1.0.61025.0, Culture=neutral, > PublicKeyToken=31bf3856ad364e35"> >type="System.Web.Configuration.ScriptingSectionGroup, > System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, > PublicKeyToken=31bf3856ad364e35"> >type=" > System.Web.Configuration.ScriptingScriptResourceHandlerSection , > System.Web.Extensions, Version=1.0.61025.0, > Culture=neutral, PublicKeyToken=31bf3856ad364e35" > requirePermission="false" > allowDefinition="MachineToApplication"/> > type=" > System.Web.Configuration.ScriptingWebServicesSectionGroup, > System.Web.Extensions, Version=1.0.61025.0, > Culture=neutral, PublicKeyToken=31bf3856ad36
Re: [Mono-dev] System.Web.Extension
Hello I've diagnosed the issue of null pointer exception. It seems XSP2 is capable of running System.Web.Extension(working example: http://monoport.com/4303) . However I have some doubts about the parser. Can someone explain me why http://monoport.com/4302 does not work and http://monoport.com/4303 works ? the output generated by the parser is smt like that protected System.Web.UI.UpdatePanel UpdatePanel1; protected System.Web.UI.WebControls.Label _bctrl_4; protected System.Web.UI.WebControls.Button _bctrl_5; why does the reference names do not match ID's in this case ? I am stuck here Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] How To: ASP.NET Ajax with Mono (with System.Web.Extensions.dll)
Hello I managed to run ASP.NET Ajax with Mono. 1-) Check out mcs (you need more than System.Web.Extensions to compile) svn co svn://anonsvn.mono-project.com/viewcvs/trunk/mcs/ you might also need svn://anonsvn.mono-project.com/viewcvs/trunk/mono/ I am not sure if it is necessary since I already have them in the same dir. 2-) Change to (where ever you checked out)/mcs/class/System.Web.Extensions directory and run make 3-) Create a new Web Project via Monodevelop or create a Default.aspx file from command line. 4-) Add your built dll to your project . It resides on (where ever you checked out)/mcs/class/lib/net_2_0/System.Web.Extensions.dll 5-) Make a Default.aspx file as below: <%@ Page Language="C#" %> protected void Button1_Click(object sender, EventArgs e) { Label Label1 = (Label)this.FindControl("Label1"); Label1.Text = "Refreshed at " + DateTime.Now.ToString(); } http://www.w3.org/1999/xhtml"; > Untitled Page #UpdatePanel1 { width:300px; height:100px; } 6-) Add a Web.config file to your project and fill it as below: 7-) Run the xsp2 from the same directory and open a browser and type http://localhost:8080 You should see that the Label is updated in ajax way. Note that you cannot access the controls in your page without FindControl. This seems to me a bug in aspx parser of Mono. Since the below code works well on windows as well but not on mono: protected void Button1_Click(object sender, EventArgs e) { // Label Label1 = (Label)this.FindControl("Label1"); Label1.Text = "Refreshed at " + DateTime.Now.ToString(); } ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] How To: ASP.NET Ajax with Mono (with System.Web.Extensions.dll)
Important :Sorry there is an update in howto In step 2-) you must run make PROFILE=net_2_0 instead of just make ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] 1.2.5 deb packages for ubuntu
Hello, 1.2.5 deb packages for ubuntu is available at deb http://www.viraptor.info/repo feisty-custombackports contrib Just at it your sources.list and you are good to go (you need to reload it after of course) Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Web.Extensions testing under mojoPortal
Hey, Almost same result here (though I tried with ordinary ASP.NET applications). Unfortunately without the blow is fixed > I encountered a bug that needs to be fixed but was able to work around it. > The bug was a null reference on any controls inside the UpdatePanel > and the workaround was to get the needed reference using > UpdatePanel1.FindControl(...) it is not very usable. You know it is overkill to use FindControl everytime you want to access the controls in the page Onur On 8/29/07, Joe Audette <[EMAIL PROTECTED]> wrote: > > Hi All, > > Yesterday I managed to get UpdatePanel working in mojoPortal using > Mono from svn r84961 and mojoportal from svn trunk: > https://forgesvn1.novell.com/svn/mojoportal/trunk > > I encountered a bug that needs to be fixed but was able to work around it. > The bug was a null reference on any controls inside the UpdatePanel > and the workaround was to get the needed reference using > UpdatePanel1.FindControl(...) > Relevant code from BlogEdit.aspx and BlogEdit.aspx.cs: > > > runat="server"> > > UpdateMode="Conditional" > runat="server"> > > runat="server" SkinID="Blog"> > > > > private void Page_Load(object sender, EventArgs e) > { > > if (ScriptController != null) > { > ScriptController.RegisterAsyncPostBackControl(btnAddCategory); > } > else > { > log.Error("ScriptController was null"); > } > > if ((!Page.IsPostBack) && (!Page.IsCallback)) > { > PopulateControls(); > PopulateCategories(); > } > > } > > private void PopulateCategories() > { > // Mono doesn't see this in update panel > // so help find it > if (chkCategories == null) > { > log.Error("chkCategories was null"); > > chkCategories = > (CheckBoxList)UpdatePanel1.FindControl("chkCategories"); > } > > if (ShowCategories) > { > chkCategories.Items.Clear(); > IDataReader reader; > reader = Blog.GetCategoriesList(this.ModuleID); > while (reader.Read()) > { > ListItem listItem = new ListItem(); > listItem.Text = reader["Category"].ToString(); > listItem.Value = reader["CategoryID"].ToString(); > chkCategories.Items.Add(listItem); > } > reader.Close(); > > if (this.ItemID > -1) > { > reader = Blog.GetItemCategories(this.ItemID); > while (reader.Read()) > { > ListItem item = > chkCategories.Items.FindByValue(reader["CategoryID"].ToString()); > if (item != null) > { > item.Selected = true; > } > } > reader.Close(); > } > > } > > } > > protected void btnAddCategory_Click(object sender, EventArgs e) > { > > if (this.txtCategory.Text.Length > 0) > { > int newCategoryID = > Blog.AddBlogCategory(this.ModuleID, this.txtCategory.Text); > if (this.ItemID > 0) > { > Blog.AddItemCategory(this.ItemID, newCategoryID); > } > > PopulateCategories(); > UpdatePanel1.Update(); > > } > > } > > > With the workaround it does work on Mono. Even without the workaround > it worked on Windows using the Mono System.Web.Extensions.dll > > When I tried to use the same dll on Mono 1.2.4 vm it did not work, it > compiled ok but at runtime I got an error about unkown type > System.Web.UI.Literal. I think the issue on 1.2.4 has to do with this > in Web.config: > assembly="System.Web.Extensions"/> > > Seems to lose track of all other controls in asp prefix that are not > in the System.Web.Extensions.dll. A workaround might be to use a > different prefix like ajax instead of asp. > > I've been waiting a long time to be able to use UpdatePanel and other > MS Ajax stuff in mojoportal so I'm very happy to have progress but > would like to be able to use it more extensively without having to > .FindControl every control in the updatepanel > > Thanks, > > Joe > > -- > Joe Audette > Software Solutions Architect > Source Tree Solutions, LLC > [EMAIL PROTECTED] > http://www.sourcetreesolutions.com > http://www.mojoportal.com > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Warning: If you are reading this then
Re: [Mono-dev] System.Web.Extensions testing under mojoPortal
Marek Yay ! :) On 8/29/07, Marek Habersack <[EMAIL PROTECTED]> wrote: > > On Wed, 29 Aug 2007 14:44:11 +0300, "Onur Gumus" <[EMAIL PROTECTED]> > scribbled: > > > Hey, > Hello, > > > Almost same result here (though I tried with ordinary ASP.NETapplications). > > Unfortunately without the blow is fixed > > > > > I encountered a bug that needs to be fixed but was able to work > around > > it. > > > The bug was a null reference on any controls inside the UpdatePanel > > > and the workaround was to get the needed reference using > > > UpdatePanel1.FindControl(...) > > > > it is not very usable. You know it is overkill to use FindControl > everytime > > you want to access the controls in the page > I'm working on a fix for that bug now, will commit later today. > > regards, > > marek > > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Web.Extension
Hello after successfully running ASP.NET ajax. I tried the control kit with latest svn of mono runtime. However it does not seem to work. When I try the sample web site coming with the no source package I am getting the following error: /terror CS0542: `TodoItems.TodoItems': member names cannot be the same as their enclosing type protected TodoItems(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx) { Line 33: // TODO: implement Line 34: throw new System.NotImplementedException(); Line 35: } Line 36: Line 37: public virtual TodoItemsDataTable TodoItems { Line 38: get { Line 39: return this.__tableTodoItems; Line 40: } Line 41: } Also compiling the source code gives me bunch of errors like System.Web.Resource not found etc... Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Web.Extensions testing under mojoPortal
Marek you are a single manned army :) I've checked out mono, mcs and xsp2. Compiling them and running with Basic Asp.net Ajax examples worked! It seems the bug I mentioned was fixed. Now we can access controls without resorting to FindControl method Thanks. Onur On 8/29/07, Joe Audette <[EMAIL PROTECTED]> wrote: > > Hi Marek, > > > I've just committed the (simple) fix to svn trunk, revision 84996. > > > > Onur, your sample code works for me now without having to use > FindControl. > > > > Joe, I'm not sure if it fixes your issue though. By the time Page_Load > is > > invoked, the controls inside templates aren't instantiated yet (it > happens on > > MS.NET as well), so referring to them by field might fail. Please let me > know > > how it worked (or not worked) for you. If your code works on MS.NET and > not no > > Mono, I'll try to create a test case to see what happens. > > > > Thanks for your help! > > I just built and tested with Mono r84996 and the bug still persists. > It does not happen on windows with MS.NET. I would always expect any > control declared in markup to be not null in page load. > > Thanks, > > Joe > > > > -- > Joe Audette > Software Solutions Architect > Source Tree Solutions, LLC > [EMAIL PROTECTED] > http://www.sourcetreesolutions.com > http://www.mojoportal.com > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Web.Extension
Hello Konstantin >According to what you're saying, the web site comes without source files and toolkit should be compiled as a separate dll and referenced >from the web site (put to the bin folder / GAC). This is not quite true. As you know although the toolkit must be compiled as a seperate dll and put into bin/GAC , the same thing is not compulsory for the web site. In such a case the web server (XSP or IIS) would compile the source code on the fly (and put the dll to a temporary folder). In my case this is what happens. The source code I have posted is from the generated source code by the XSP in order to compile the website. And as a matter of fact that source code resides in temporary folder in my system, not anywhere in the sample project. I hope this would help to understand what goes wrong. Onur On 8/30/07, Konstantin Triger <[EMAIL PROTECTED]> wrote: > > Hello Onur, > > > > I don't quite understand which source file gives you this error. > > According to what you're saying, the web site comes without source files > and toolkit should be compiled as a separate dll and referenced from the web > site (put to the bin folder / GAC). > > > > Regards, > > Konstantin Triger > -- > > *From:* Onur Gumus [mailto:[EMAIL PROTECTED] > *Sent:* Thursday, August 30, 2007 1:33 AM > *To:* Konstantin Triger > *Cc:* Miguel de Icaza; Raja R Harinath; mono-devel-list@lists.ximian.com; > [EMAIL PROTECTED] > *Subject:* Re: [Mono-dev] System.Web.Extension > > > > Hello after successfully running ASP.NET ajax. I tried the control kit > with latest svn of mono runtime. However it does not seem to work. > > When I try the sample web site coming with the no source package I am > getting the following error: > > /terror CS0542: `TodoItems.TodoItems': member names cannot be the same as > their enclosing type > > protected TodoItems(System.Runtime.Serialization.SerializationInfo info, > System.Runtime.Serialization.StreamingContext ctx) { > > Line 33: // TODO: implement > > Line 34: throw new > > System.NotImplementedException(); > > Line 35: } > > Line 36: > Line 37: public virtual TodoItemsDataTable TodoItems { > Line 38: get { > > Line 39: return this.__tableTodoItems; > > > > Line 40: } > > Line 41: } > > > > > Also compiling the source code gives me bunch of errors like > System.Web.Resource not found etc... > > Onur > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Web.Extension
Jens thanks for the reply. - Does your public server runs linux ? I mean the url you have given, Does it run on Mono ? - As a final resort I've deleted the TodoItems.xsd. Now that the site runs on my local. I also have to delete the line : from App_Themes/SampleSiteTheme/ToolScriptManager.skin. According to my knowledge we must define the tag prefixes in skin files. However this practice is not applied here - After these modifications I am able to run the Sample Site. But no AJAX no DHTML. And I can run ASP.NET Ajax applications without control toolkit. System.Web.Extensions is in gac (since I use mono from svn this is by default) Any ideas ? Onur On 8/30/07, Jens Wurster <[EMAIL PROTECTED]> wrote: > > Just for help. =) It is an internal compilation error of the attached > file "TodoItems.xsd". This file is located in the > > "AppCode"-Directory of the sample web site. > > > > BTW: I have uploaded the sample web site to my public server, maybe this > is helpful for somebody. http://ajaxtoolkit.tophostingteam.de/ > > > > Regards > > Jens > > > > > > Hello after successfully running ASP.NET ajax. I tried the control kit > with latest svn of mono runtime. However it does not seem to work. > > When I try the sample web site coming with the no source package I am > getting the following error: > > /terror CS0542: `TodoItems.TodoItems': member names cannot be the same as > their enclosing type > > protected TodoItems(System.Runtime.Serialization.SerializationInfo info, > System.Runtime.Serialization.StreamingContext ctx) { > > Line 33: // TODO: implement > > Line 34: throw new > > System.NotImplementedException(); > > Line 35: } > > Line 36: > Line 37: public virtual TodoItemsDataTable TodoItems { > Line 38: get { > > Line 39: return this.__tableTodoItems; > > > > Line 40: } > > Line 41: } > > > > > Also compiling the source code gives me bunch of errors like > System.Web.Resource not found etc... > > Onur > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Web.Extension
Allright. But I never thought that sample application is complex. After all it's just a show case application. Anyway I'll try to go more simple and let you know what works and what does not. >In the same time I see that Jens Wurster had successfully run entire Toolkit sample with mono. Yeah I am jelous of him :) Onur On 8/30/07, Konstantin Triger <[EMAIL PROTECTED]> wrote: > > Ok, now I see that you are running a Toolkit sample web site. > > I would suggest not running such a complex application from the beginning, > since it's hard to track arising problems, but start with something simple. > > > > > > > Regards, > > Konstantin Triger > -- > > *From:* Onur Gumus [mailto:[EMAIL PROTECTED] > *Sent:* Thursday, August 30, 2007 12:34 PM > *To:* Konstantin Triger > *Cc:* Miguel de Icaza; Raja R Harinath; mono-devel-list@lists.ximian.com; > [EMAIL PROTECTED] > *Subject:* Re: [Mono-dev] System.Web.Extension > > > > Hello Konstantin > > > > >According to what you're saying, the web site comes without source files > and toolkit should be compiled as a separate dll and referenced >from the > web site (put to the bin folder / GAC). > > > > This is not quite true. As you know although the toolkit must be compiled > as a seperate dll and put into bin/GAC , the same thing is not compulsory > for the web site. In such a case the web server (XSP or IIS) would compile > the source code on the fly (and put the dll to a temporary folder). In my > case this is what happens. The source code I have posted is from the > generated source code by the XSP in order to compile the website. And as a > matter of fact that source code resides in temporary folder in my system, > not anywhere in the sample project. > > > > I hope this would help to understand what goes wrong. > > > > Onur > > > > On 8/30/07, *Konstantin Triger* < [EMAIL PROTECTED]> wrote: > > Hello Onur, > > > > I don't quite understand which source file gives you this error. > > According to what you're saying, the web site comes without source files > and toolkit should be compiled as a separate dll and referenced from the web > site (put to the bin folder / GAC). > > > > Regards, > > Konstantin Triger > -- > > *From:* Onur Gumus [mailto:[EMAIL PROTECTED] > *Sent:* Thursday, August 30, 2007 1:33 AM > *To:* Konstantin Triger > *Cc:* Miguel de Icaza; Raja R Harinath; mono-devel-list@lists.ximian.com; > [EMAIL PROTECTED] > *Subject:* Re: [Mono-dev] System.Web.Extension > > > > Hello after successfully running ASP.NET ajax. I tried the control kit > with latest svn of mono runtime. However it does not seem to work. > > When I try the sample web site coming with the no source package I am > getting the following error: > > /terror CS0542: `TodoItems.TodoItems': member names cannot be the same as > their enclosing type > > protected TodoItems(System.Runtime.Serialization.SerializationInfo info, > System.Runtime.Serialization.StreamingContext ctx) { > > Line 33: // TODO: implement > > Line 34: throw new > > System.NotImplementedException(); > > Line 35: } > > Line 36: > > Line 37: public virtual TodoItemsDataTable TodoItems { > > Line 38: get { > > Line 39: return this.__tableTodoItems; > > > > Line 40: } > > Line 41: } > > > > > Also compiling the source code gives me bunch of errors like > System.Web.Resource not found etc... > > Onur > > > > > -- > Warning: If you are reading this then this warning is for you. Every word > you read of this useless fine print is another second off your life. Don't > you have other things to do? Is your life so empty that you honestly can't > think of a better way to spend these moments? Or are you so impressed with > authority that you give respect and credence to all that claim it? Do you > read everything you're supposed to read? Do you think every thing you're > supposed to think? Buy what you're told to want? Get out of your apartment. > Meet a member of the opposite sex. Stop the excessive shopping and > masturbation.Quit your job. Start a fight. Prove you're alive. If you > don't claim your humanity you will become a statistic. You have been warned > - Onur > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can
Re: [Mono-dev] System.Web.Extension
Hey Miguel, I think these are bugs are in mono runtime /aspx parser and/or System.Web.Extensions.dll of mainsoft's. The sample is written by Microsoft and works flawlessly on MS.NET platform. Onur On 8/30/07, Miguel de Icaza <[EMAIL PROTECTED]> wrote: > > Hello Jens, > > > AlwaysVisibleControl, AutoComplete, CascadingDropDown, > > DynamicPopulate, FilteredTextBox, HoverMenu, MaskedEdit, > > > > NumericUpDown, Rating, ReorderList, SlideShow and ValidatorCallout > > Would you mind filing bugs for these on: > > www.mono-project.com/Bugs > > Describing the problem? One for each problem. > > Miguel. > > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] asp.net menu StaticSelectedStyle
I use that control successfully as of 1.2.5. I have digged all options but here's my decleration: This works exactly I expected (successfully). One important note . You must get rid of the wrote: > > Hi, > > It seems that there is a problem with StaticSelectedStyle in Microsoft > version of Asp.NET Menu control. > Does someone know something about that? > Is it Mono Menu control stable enough, so I can use it instead of > Microsoft one? > > Cheers, > Anton > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] MS ASP.NET Skin Incompability
Hi I've just encountered a small incompability with MS.NET and mono's ASP.NET stacks. Mono Allows us to define OnClientClick property for buttons in a skin file and it works. How ever on ms.net I've got the following exception: Parser Error Message: The 'OnClientClick' property of a control type System.Web.UI.WebControls.Button cannot be applied through a control skin. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Please Fix Transaction Isolation level bug MONO80106. Prevents usage of NHibernate with sql server
Hello because of this bughttps://bugzilla.novell.com/show_bug.cgi?id=MONO80106 I cannot use NHibernate with SQL Server. Since at the first line it generates SET TRANSACTION ISOLATION LEVEL ;BEGIN TRANSACTION the transaction isolation level is not defined. and I cannot manually define it IIRC since I am using nhibernate and I am not sure how to do it manually. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Predictate delegate ms.net imcompability
Hi there, When I use a predicate delegate like myList.Find(delegate(MyItem item) { return (item.Id == 4);}); and compile it on mono / linux, porting to windows ms.net gives me a method access exception for the method this statment is in. Sorry for not posting a bug report , I still hope some one take cares of this thing. Regards Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] web handlers and codebehind
I haven't tried with the recent versions. But with 1.2.4 I was able to create a web handler that spits out some xml output as an rss feeder. And it was working with xsp2. On Oct 30, 2007 3:53 PM, Sunny <[EMAIL PROTECTED]> wrote: > On 10/30/07, Onur Gumus <[EMAIL PROTECTED]> wrote: > > I can browse web handlers in 2.0 runtime without a problem > > > > Do you say that it works with xsp2? If so, this is clearly a bug with > xsp. Please confirm, and I'll file the it. > > Thanks > > -- > > Svetoslav Milenov (Sunny) > > Even the most advanced equipment in the hands of the ignorant is just > a pile of scrap. > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Current binary installer is Broken
Current Binary installer looks broken It gives the following error after installation: /opt/mono-1.2.5.1/bin/.installer_post_libscan \/opt/mono-1.2.5.1/bin/.installer_post_libscan: 9: Syntax error: "(" unexpected ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Ruby.NET 0.9 is out and it is not working with mono anymore :(
Hello, A new version of Ruby .net is out at : http://rubydotnet.googlegroups.com/web/Home.htm. Last time I tried 0.8.1 with mono and it was working. Now this version introduces better integration of Ruby and other languages but it the compiler doesn't seem to work at all. Any ideas ? (using 2 weeks old svn btw) [mono] ~/tmp/Ruby.NET-0.9/bin @ mono RubyCompiler.exe Hello.rb Stacktrace: at PERWAPI.PDBWriter.WritePDBFile () <0x> at PERWAPI.PDBWriter.WritePDBFile () <0x00060> at PERWAPI.PEWriter.MakeFile (PERWAPI.PEFileVersionInfo) <0x000c8> at PERWAPI.PEFile.WritePEFile (bool) <0x00145> at Ruby.Compiler.Compiler.Process (string[]) <0x009b5> at RubyCompiler.Main (string[]) <0x00012> at (wrapper runtime-invoke) RubyCompiler.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0x> Native stacktrace: mono [0x8174dee] mono [0x807dab1] [0xe440] mono [0x813bafd] mono [0x814fbd4] mono [0x816064e] mono [0x8162013] mono [0x807f676] [0xb7c3d066] [0xb6ff5b89] [0xb700c7a6] [0xb79becd6] [0xb79be2db] [0xb79be1c3] mono(mono_runtime_exec_main+0xbb) [0x80a264b] mono(mono_runtime_run_main+0x1ba) [0x80a3a5a] mono(mono_main+0xfaf) [0x805b4bf] mono [0x805a002] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d84050] mono [0x8059f71] Debug info from gdb: ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Ruby.NET 0.9 is out and it is not working with mono anymore :(
Now that it is working with /debug:none option. Great. There is a path bug in Ruby.NET though ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] ASP.NET Futures ?
Hi, I just like to learn if there are any near plans for implementing ASP.NETAjax Futures stuff ? Thanks in advance, Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] ASP.NET Futures ?
wow fantastic!!! is it ready for production ? I consider ASP.NET Ajax is ready. If it is same then great On Nov 28, 2007 10:36 AM, Daniel Nauck <[EMAIL PROTECTED]> wrote: > Hello, > > ASP.NET Ajax was implemented by Mainsoft and will be shipped tigehter > with Mono 1.2.6. > > Daniel > > Onur Gumus schrieb: > > > > Hi, > > > > I just like to learn if there are any near plans for implementing > > ASP.NET <http://ASP.NET> Ajax Futures stuff ? > > > > Thanks in advance, > > > > Onur > > > > > > > > > > ___ > > Mono-devel-list mailing list > > Mono-devel-list@lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] ASP.NET Futures ?
By the way I meant ASP.NET Futures. Not Control toolkit. Is that working too ? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] [ASP.NET] - Bug for Validators + Templates in UpdatePanel via MainSoft's Ajax extension (Possibly valid for .NET too)
Hello, When I try ASP.NET Validators inside Update Panel they work except when I use them within Templates like in FormView. The following code looks problematic if it is in an UpdatePanel and you first submit invalidly then make it valid & submit then make it again invalid&submit it. It breaks up : * However it works if it is not in UpdatePanel or Validator is not in a Template. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] ASP.NET Futures ?
And silverlight :) On Nov 30, 2007 10:02 AM, Miguel de Icaza <[EMAIL PROTECTED]> wrote: > > > By the way I meant ASP.NET Futures. Not Control toolkit. Is that > > working too ? > > We do not tend to implement APIs that are under development. > > We make a few exceptions (Work on the C# compiler 3.0 before 3.0 > shipped) but this is not one of them. > > > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mono from svn can't make!!
Hello when I try the mono from svn I am getting the following error when making it gcc -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -o pedump pedump.o-pthread ./.libs/libmonoruntime.a ../io-layer/.libs/libwapi.a ../utils/.libs/libmonoutils.a ../../libgc/.libs/libmonogc.a /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -ldl -lpthread -lm ./.libs/libmonoruntime.a(process.o): In function `process_module_string_read': /home/onur/mono/mono/mono/metadata/process.c:197: undefined reference to `VerQueryValue' ./.libs/libmonoruntime.a(process.o): In function `process_get_fileversion': /home/onur/mono/mono/mono/metadata/process.c:250: undefined reference to `GetFileVersionInfoSize' /home/onur/mono/mono/mono/metadata/process.c:253: undefined reference to `GetFileVersionInfo' /home/onur/mono/mono/mono/metadata/process.c:262: undefined reference to `VerQueryValue' /home/onur/mono/mono/mono/metadata/process.c:292: undefined reference to `VerQueryValue' /home/onur/mono/mono/mono/metadata/process.c:323: undefined reference to `VerLanguageName' collect2: ld returned 1 exit status make[3]: *** [pedump] Error 1 make[3]: Leaving directory `/home/onur/mono/mono/mono/metadata' ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.DllNotFoundException gtksharpglue-2 in mono 1.2.6
Follow this guide step by step and you will be fine. For ubuntu you must have two mono's This is inescapable. You have to use them in parallel http://www.mono-project.com/Parallel_Mono_Environments On Dec 4, 2007 3:18 AM, Vladimir Dimitrov <[EMAIL PROTECTED]> wrote: > Hi folks, > > is there something that I am missing here? I have a GTK# based > application and I am trying to use the latest mono version (1.2.6.1) from > the generic installer. I searched in Google about that issue but all I get > are very old problems that should not be the case now. I see that on the > mono page it is stated that the Gtk-sharp package is an "optional" package, > but as far as I remember it used to be included in the generic installer and > so it is right now. Can somebody point me to what I am missing and what is > the easiest way to install the newest mono on a clean Linux machine (for > example Ubuntu 7.10) with GTK# support. > > > > Thanks > > Vladimir Dimitrov > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Does mono support databinding?
Are you using DataGrid? I think that control was specific to ASP.NET 1.1. In ASP.NET 2.0 we have gridview I have built some medium sized ASP.NET application involving about 40 forms with Ajax, Ajaxcontroltoolkit and some very custom controls. Almost everything including databinding works perfectly On Dec 6, 2007 8:39 AM, Miguel de Icaza <[EMAIL PROTECTED]> wrote: > > > I am trying an asp.net project on mono-1.2.5.But I found I could not > > use databinding with datagrid.Then i looked througth the > > mono-documetion(http://www.go-mono.com/docs/) and I found the DataGrid > > class in CLASS but I could not find the "DataSource" property or the > > "DataBind()" mothod in it. > > It does. The documentation sadly does not track the actual > implementation, so it is not an ultimate resource for this kind of > question. > > Try the "monop" or "monop2" (for .NET 2.0) programs to get a full > listing of the actual methods implemented. > > >So,does mono-1.2.5 support databinding?If it not,what should I do > > if I want show datas from db in a html document? > > > >Thank you. > > ___ > > Mono-devel-list mailing list > > Mono-devel-list@lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-devel-list > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] ASP.NET Futures
Miguel just explode the zip file and run each chapter with xsp2 (with mono 1.2.6+ only). ASP.NET Futures is only 1 .dll called Microsoft.Web.Preview.dll existing in the source code I mentioned (in the bin folders of last chapters). It also seems it encloses System.Web.Extension developed by mainsoft guys. So referencing this dll is enough. Though I am not very sure if this breaks on copyrights or licences. I am not sure how MS licenced this dll On Dec 17, 2007 5:29 AM, Miguel de Icaza <[EMAIL PROTECTED]> wrote: > > > So far, ASP.NET Futures is almost working on mono too. There is one > > glitch I realized that on Chapter 12 there is a shopping cart > > application which shows drag and drop capabilities of ASP.NET Futures. > > Strangely drag and drop only works once on mono ASP.NET and works fine > > on Windows. Since the code and the dll is the same this might be a > > mono bug/incompability as well. > > Am curious, how did you test ASP.NET futures with Mono? > -- Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don't you have other things to do? Is your life so empty that you honestly can't think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you're supposed to read? Do you think every thing you're supposed to think? Buy what you're told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and masturbation.Quit your job. Start a fight. Prove you're alive. If you don't claim your humanity you will become a statistic. You have been warned - Onur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] can't compile svn ?
For some reason I am unable to compile mono from svn with the following error. Any hints for me ? System.IO.IsolatedStorage/IsolatedStorageFileEnumerator.cs(53,44): error CS0246: The type or namespace name `IsolatedStorageFile' could not be found. Are you missing a using directive or an assembly reference? Compilation failed: 1 error(s), 0 warnings make[8]: *** [../../class/lib/net_2_1/mscorlib.dll] Error 1 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] C# Book
I would recommend Pro C# 2008 and .NET 3.5 platform from APress On Feb 10, 2008 10:10 AM, kamel derouiche <[EMAIL PROTECTED]> wrote: > Hi,, > what are the books wi need to read in order to learn > this C#(CLR,thread,...) in .NET > > Thank you > > NetBSD is very JIHBED, MONO RUN in NetBSD > > http://jihbedunix.blogspot.com > > > > > > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mono 95759 does not compile
here's the output: MONO_PATH="../class/lib/net_2_1:../class/lib/net_2_0:$MONO_PATH" /home/onur/mono/mono/runtime/mono-wrapper ../mcs/gmcs.exe /codepage:65001 -d:GMCS_SOURCE -nowarn:618 -noconfig -r:mscorlib -r:System.dll -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -debug -target:exe -out:smcs.exe cs-parser.cs @ smcs.exe.sources Exception caught by the compiler while compiling: Block that caused the problem begin at: support.cs(457,28): Block being compiled: [support.cs(473,82):,support.cs (476,41):] System.MethodAccessException: Method `System.Text.StringBuilder:AppendFormat (string,object,object,object)' is inaccessible from method `AbstractMessage:Print ()' Unhandled Exception: System.MethodAccessException: Method `System.Text.StringBuilder:AppendFormat (string,object,object,object)' is inaccessible from method `AbstractMessage:Print ()' at Mono.CSharp.Report+WarningMessage.Print () [0x0] at Mono.CSharp.Report.Warning (Int32 code, Int32 level, Location loc, System.String format, System.String arg) [0x0] at Mono.CSharp.Block.UsageWarning (Mono.CSharp.UsageVector vector) [0x0] at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x0] at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x0] at Mono.CSharp.While.Resolve (Mono.CSharp.EmitContext ec) [0x0] at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x0] at Mono.CSharp.If.Resolve (Mono.CSharp.EmitContext ec) [0x0] at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x0] at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContextanonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters ip, IM ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [MonoDevelop] Typed dataset issue
Hello, I am not sure if typed datasets are supported directly by mono. But actually Typed datasets are visual studio generated code. Furthermore, I have quite an experience on Typed Datasets, and my conclusion is they are badly designed and does more harm than good( They are also mostly ignored in .NET 3.0+ that no one mentiones them any more). Alternatively you may want to check out the following frameworks which offer much better solutions than typed datasets: Subsonic, NHibernate, Castle Active Record, Linq to sql (Linq to sql does not work with mono at the moment) Regards Onur On Sat, Feb 23, 2008 at 4:25 PM, Sharique uddin Ahmed Farooqui < [EMAIL PROTECTED]> wrote: > Hi, > > I have created a web application using VS 2005 express. I used typed > dataset in application. It works well. Now I created a web application in > Monodevelop. I imported every file from VS project folder. When I compile > this MD application, it doesn't compile typed dataset. > > How I can resolve this? > Is typed dataset is not supported in mono? > -- > Sharique uddin Ahmed Farooqui > (C++/C# Developer, IT Consultant) > A revolution is about to begin. > A world is about to change. > And you and I are "the initiator". > ___ > Monodevelop-list mailing list > [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/monodevelop-list > > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Linq, Nhibernate or subsonic ?
Before comparing the technical merits you should consider that "Linq to SQL" is not supported by mono at the moment.(Which is not a big loss for me anyway). Linq is the general name given to linq bindings and currently we have : Linq to Objects, Linq to Sql, Linq to XML, Linq to JSON, Linq to NHibernate, Linq to DB4O, etc ... bindings are available if I recall correctly. For subsonic and NHibernate , I never used subsonic on mono but I've read it was working on mono. On the other hand, I used NHibernate extensively on mono/linux/postgresql and I am quite happy with it. Finally, Nhibernate does support stored procs but triggers and views are not supported by any of these frameworks directly. NHibernate offers interceptors for intercepting your db transactions before it hits to db's so in a way it emulates triggers that way. Still however you can use triggers independently. Not sure how others handle it. Finally it took 1 full month for me to feel myself comfortable with NHibernate due to it's high complexity (or may be I am not smart enough), but it was well worth. just my 2 cents Onur 2008/2/24 Sharique uddin Ahmed Farooqui <[EMAIL PROTECTED]>: > Hi, > > I'm planning to build an ERP for my organisation. We will use mono as > primary development platform. I'm a bit confused abt what should for DAL. I > know little abt linq . > What I have decided for DAL is > 1. auto generated code must be extend able either in same class or as a > separate class. > 2. It must expose all databse views, triggers, stored procedures in DAL. > > > Pls help me find out the right thing. > > Thanks. > -- > Sharique uddin Ahmed Farooqui > (C++/C# Developer, IT Consultant) > A revolution is about to begin. > A world is about to change. > And you and I are "the initiator". > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono Support question
Informally I can tell. C# 3.0 is mostly there except linq to sql. Winforms 1.1 is complete. Winforms 2.0 support is improving day by day. ASP.NET 2.0 is there except web parts. Asp.net Ajax is there including the control toolkit is being able to run. Core libraries are there. WCF and WF is partially there WPF is absent. For development on linux you can use monodevelop. However it does not support C# 3.0 even if it can compile it at the moment. Onur 2008/3/7 E Robertson <[EMAIL PROTECTED]>: > Hi, > I'm new to Mono and actually never heard of it until two weeks ago when I was > asked to look into it. I manage to get an existing .NET application > (developed under VS2005) build and ran on my debian box. Their were a few > issue but related to filenames (case sensitivity and/or path processing), but > I got it to run despite never using the software (Mono or .NET). > > What I don't know is to what extent .NET differs from Mono. Is their a > comparison chart of what's supported in Mono when comared to .NET? > Is their any documentation indicating the difference between the? > > How do I determine what are the basic tools I need to run a build > application? > ldd does not work on the executables so how so I know which libraries are > absolutely required? Does ldd on mono tell the whole story? > > Thank you. > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Linq, Nhibernate or subsonic ?
yes I did try linq to sql. As a matter of fact at the very beggining of this conversation, I did told those reflect my opinions only and I did not want to start a flamewar. Yet I see you are offended. I certainly understand your pain since it appears to be you love linq to sql and may be waiting for it's implementation on mono and some guy just came up and saying hey no need for linq to sql , we' got nhibernate. Frankly side by side technical comparison I still consider nhibernate superior. For the following reasons: NHibenate works with almost every database and you can develop true database independent applications. For instance when you finish your product's coding you can deliver it for different databases. Same cannot be applied to linq to sql which only works for sql server. Sure there are implementations for postgress as well but you stick to one database and cannot further modify it. traditionally nhibernate uses criteria and hql based queries which look weird compared to linq's static typing power. But then now we have linq to nhibernate functional and running. Furthermore you are incorrect about xml because nhibernate supports Attribute based mapping and another option is Castle ActiveRecord. Where you can do the mapping with 0 XML. That's what I do. linq to sql is more data centric approach. You first create your database and from there you generate your classes via sql metal. And the generated code is messy. NHibernate uses domain driven approach which is better for larger scale applications. Namely you totally ignore the existence of your database and just write you classes (including interfaces and your inheritence tree). Then you make your mapping finally you tell nhibernate create the tables for you. It is much more powerful than what linq to sql is capable of. Also linq to sql can only have 1 type of mapping for inheritence where as nhibernate supports 3 types . see how inheritence is applied to both. And I don't think linq to sql supports persistance for your "interfaces" For databinding to gui I use my modified object data source which is just good. But there are other solutions like http://www.codeproject.com/KB/aspnet/NHibernateDataSource.aspx for web applications . that's just my 2 cents On Sat, Jun 28, 2008 at 10:59 PM, Sharique uddin Ahmed Farooqui <[EMAIL PROTECTED]> wrote: > Thanks nicole. > I'm using sunsonic. It is quite easy to learn and it works with .net > 2.0 and mono as well. > I'll suggest Subsonic other as well. > > On Mon, Jun 23, 2008 at 8:01 PM, nicolasdiazaragon > <[EMAIL PROTECTED]> wrote: >> >> What do you mean by saying that not yet having linq to sql isn´t a big loss >> and that it can be replaced by using nhibernate? >> Have you tried linq to sql? have you compared it to using hibernate? >> Maybe if all you code is meant to be part of some desktop application, then >> you are fine with hibernate. But if you intend to build real enterprise >> applications, then you should use linq to sql. Not only does it make code >> more simple and easy to read, it gets things done faster than hibernate does >> and you don't have to bother writing boring XML files. And it let´s you use >> nameless class types while querying the data base. These nameless classes >> can then be bound to a GUI control or used for further processing. Try doing >> that with hibernate... you would have to perform very expensive castings >> (all your query results are strongly typed in linq to sql, but not in >> hibernate... everything returned by a hibernate query is just an >> 'object'...) and there is absolutely no WAY to use nameless types while >> querying the database with hibernate. >> I've been writing java code since I was a 14 year old. I begun coding JEE at >> the same time I became acquainted with the dot net framework. By the time >> linq to sql was released (a couple of years later) I was very dissapointed >> because I realized that the dot net framework had leaped light years ahead >> of java (my personal favorite until then). >> So no linq to sql support is a huge loss to me. If I were to code some >> enterprise application without linq to sql support, I´d rather work on JEE >> than on dot net. >> >> >> reverse blade wrote: >>> >>> Before comparing the technical merits you should consider that "Linq to >>> SQL" >>> is not supported by mono at the moment.(Which is not a big loss for me >>> anyway). Linq is the general name given to linq bindings and currently we >>> have : Linq to Objects, Linq to Sql, Linq to XML, Linq to JSON, Linq to >>> NHibernate, Linq to DB4O, etc ... bindings are available if I recall >>> correctly. >>> >>> For subsonic and NHibernate , I never used subsonic on mono but I've read >>> it >>> was working on mono. On the other hand, I used NHibernate extensively on >>> mono/linux/postgresql and I am quite happy with it. >>> >>> Finally, Nhibernate does support stored procs but triggers and views are >>> not >>> supported by any of these frameworks di
Re: [Mono-dev] Linq, Nhibernate or subsonic ?
Because NHiberate is hard. I mean really hard. If you want something "install and go" try castle active record On Tue, Jul 1, 2008 at 11:08 AM, Sharique uddin Ahmed Farooqui <[EMAIL PROTECTED]> wrote: > Hi, > My experience with NHibernate is not quite good. I spend a week but > did not get it working. with subsonic I started working couple of > hours. > Why we should implement linq to sql. If we don't have it than a lot of > applications won't be able to run on mono. > > On Sun, Jun 29, 2008 at 5:21 AM, Onur Gumus <[EMAIL PROTECTED]> wrote: >> yes I did try linq to sql. As a matter of fact at the very beggining >> of this conversation, I did told those reflect my opinions only and I >> did not want to start a flamewar. Yet I see you are offended. I >> certainly understand your pain since it appears to be you love linq to >> sql and may be waiting for it's implementation on mono and some guy >> just came up and saying hey no need for linq to sql , we' got >> nhibernate. >> >> Frankly side by side technical comparison I still consider nhibernate >> superior. For the following reasons: >> >> NHibenate works with almost every database and you can develop true >> database independent applications. For instance when you finish your >> product's coding you can deliver it for different databases. Same >> cannot be applied to linq to sql which only works for sql server. Sure >> there are implementations for postgress as well but you stick to one >> database and cannot further modify it. >> >> traditionally nhibernate uses criteria and hql based queries which >> look weird compared to linq's static typing power. But then now we >> have linq to nhibernate functional and running. >> >> Furthermore you are incorrect about xml because nhibernate supports >> Attribute based mapping and another option is Castle ActiveRecord. >> Where you can do the mapping with 0 XML. That's what I do. >> >> linq to sql is more data centric approach. You first create your >> database and from there you generate your classes via sql metal. And >> the generated code is messy. NHibernate uses domain driven approach >> which is better for larger scale applications. Namely you totally >> ignore the existence of your database and just write you classes >> (including interfaces and your inheritence tree). Then you make your >> mapping finally you tell nhibernate create the tables for you. It is >> much more powerful than what linq to sql is capable of. Also linq to >> sql can only have 1 type of mapping for inheritence where as >> nhibernate supports 3 types . see how inheritence is applied to both. >> And I don't think linq to sql supports persistance for your >> "interfaces" >> >> For databinding to gui I use my modified object data source which is >> just good. But there are other solutions like >> http://www.codeproject.com/KB/aspnet/NHibernateDataSource.aspx for >> web applications . >> >> that's just my 2 cents >> >> >> >> >> >> >> On Sat, Jun 28, 2008 at 10:59 PM, Sharique uddin Ahmed Farooqui >> <[EMAIL PROTECTED]> wrote: >>> Thanks nicole. >>> I'm using sunsonic. It is quite easy to learn and it works with .net >>> 2.0 and mono as well. >>> I'll suggest Subsonic other as well. >>> >>> On Mon, Jun 23, 2008 at 8:01 PM, nicolasdiazaragon >>> <[EMAIL PROTECTED]> wrote: >>>> >>>> What do you mean by saying that not yet having linq to sql isn´t a big loss >>>> and that it can be replaced by using nhibernate? >>>> Have you tried linq to sql? have you compared it to using hibernate? >>>> Maybe if all you code is meant to be part of some desktop application, then >>>> you are fine with hibernate. But if you intend to build real enterprise >>>> applications, then you should use linq to sql. Not only does it make code >>>> more simple and easy to read, it gets things done faster than hibernate >>>> does >>>> and you don't have to bother writing boring XML files. And it let´s you use >>>> nameless class types while querying the data base. These nameless classes >>>> can then be bound to a GUI control or used for further processing. Try >>>> doing >>>> that with hibernate... you would have to perform very expensive castings >>>> (all your query results are strongly typed in linq to sql, but not in >>>> hibernate... everything returned by
Re: [Mono-dev] Running a .NET 3.5 exe
Mono will allow only pure managed assemblies no matter the version is. I doubt that WindowsBase.dll is a pure managed assembly. On Mon, Jul 28, 2008 at 5:01 PM, <[EMAIL PROTECTED]> wrote: > OK I see what you saying, what I need to get is we now reference the > WindowsBase.dll assembly to get access to the new ZIP file functionality > and I need to get mono to resolve this. > > Russell > > -Original Message- > From: Jb Evain [mailto:[EMAIL PROTECTED] > Sent: 28 July 2008 14:45 > To: Russell Kay > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono-dev] Running a .NET 3.5 exe > > On 7/28/08, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> Well the issue is that I need to run nunit on the assembly (it is full >> of unit tests) and nunit is marked as a v2.0 assembly so to get it to >> load the v3.5 assembly I need to tell mono to use the 3.5 runtime >> >> I know the tests should be using only code that mono implements > (within >> olive) but I cannot see how to get it to run under the v3.5 runtime. > > Thing is that there's no such thing as a v3.5 runtime. .net 3.5 is a > set of assemblies based on the 2.0 runtime. So you can safely invoke > mono on your 3.5 assemblies. > > If running it fails, sending the error here would help to diagnose any > issue. > > -- > Jb Evain <[EMAIL PROTECTED]> > > > This email has been scanned by the MessageLabs Email Security System > > > DISCLAIMER > > This message and any attachments contain privileged and confidential > information intended for the use of the addressee named above. If you are not > the intended recipient of this message, you are hereby notified that any use, > dissemination, distribution or reproduction of this message is prohibited. > Please note that we cannot guarantee that this message or any attachment is > virus free or that it has not been intercepted and amended. The views of the > author may not necessarily reflect those of Realtime Worlds Ltd. > > > > Realtime Worlds Ltd is registered in Scotland, number 225628. Registered > Office: 152 West Marketgait, Dundee, DD1 1NJ. > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list