Re: [Mono-dev] Class built by mono throws FileNotFoundException when run on windows

2015-09-02 Thread Greg Young
Use conditional compilation. On Tuesday, September 1, 2015, Edward Ned Harvey (mono) < edward.harvey.m...@clevertrove.com> wrote: > I've always used separate project files on windows and linux, in order to > include different compiler symbols, in order to make projects build with > different

Re: [Mono-dev] Running .NET on (OpenSUSE) Linux (13.2) still crashes with thread overload...

2015-09-02 Thread Atsushi Eno
I have no idea what kind of issue you are talking about, but anyways mono 3.8.0 is too old. Try newer versions. There should be even packaged ones: https://build.opensuse.org/search?utf8=%E2%9C%93_text=mono=Submit+Query_tracker=bnc==0=1=0=1=0=1=0=0_type_id= Atsushi Eno On 2015年09月02日 02:45,

Re: [Mono-dev] Class built by mono throws FileNotFoundException when run on windows

2015-09-02 Thread Alex J Lennon
On 01/09/2015 21:04, Edward Ned Harvey (mono) wrote: > I've always used separate project files on windows and linux, in order to > include different compiler symbols, in order to make projects build with > different dependencies. I've been chastised here for doing it, so I'd like to > find a

Re: [Mono-dev] Class built by mono throws FileNotFoundException when run on windows

2015-09-02 Thread Edward Ned Harvey (mono)
I like the advice I'm getting from Alex and Robert. Alex, you said you're using Path.Combine(Directory.GetCurrentDirectory(), "foobar.dll") When I look around, it seems like this might be more reliable? Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "foobar.dll") I'm doing

Re: [Mono-dev] Class built by mono throws FileNotFoundException when run on windows

2015-09-02 Thread Alex J Lennon
On 02/09/2015 16:32, Edward Ned Harvey (mono) wrote: > I like the advice I'm getting from Alex and Robert. > > Alex, you said you're using > Path.Combine(Directory.GetCurrentDirectory(), "foobar.dll") > > When I look around, it seems like this might be more reliable? >

Re: [Mono-dev] Running .NET on (OpenSUSE) Linux (13.2) still crashes with thread overload...

2015-09-02 Thread André Verwijs
the issue you can see in stacktrace.. but i've installed 4.04 now. I'll have to see how this version does... Thanks André > on 02-09-15 at 09:57 Atsushi Eno wrote: I have no idea what kind of issue you are talking about, but anyways mono 3.8.0 is too old. Try newer versions. There should be

Re: [Mono-dev] Class built by mono throws FileNotFoundException when run on windows

2015-09-02 Thread Greg Young
Use conditional compilation. On Tuesday, September 1, 2015, Edward Ned Harvey (mono) < edward.harvey.m...@clevertrove.com> wrote: > I've always used separate project files on windows and linux, in order to > include different compiler symbols, in order to make projects build with > different

Re: [Mono-dev] SslStream X509 certificate

2015-09-02 Thread Edward Ned Harvey (mono)
> From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list- > boun...@lists.ximian.com] On Behalf Of lorenzo.delana > > I'm struggling to find a way to run a SSL server on Linux using mono, > I have a certificate with a private key installed using certmgr and I can > see by listing

[Mono-dev] SslStream X509 certificate

2015-09-02 Thread lorenzo.delana
I'm struggling to find a way to run a SSL server on Linux using mono, I have a certificate with a private key installed using certmgr and I can see by listing that the certificate is in the store with Private Key: True The same client/server code on windows works if I install the certificate key

Re: [Mono-dev] SslStream X509 certificate

2015-09-02 Thread lorenzo.delana
You are right, mine is a real certificate and more I executed the server app on my local server with the correspondent FQDN for which the certificate itself is released. Really nice the article from Miguel's blog, thanks for pointing me to that. I'm afraid that your mono fork not available but

Re: [Mono-dev] Class built by mono throws FileNotFoundException when run on windows

2015-09-02 Thread Edward Ned Harvey (mono)
> From: Greg Young [mailto:gregoryyou...@gmail.com] > > Use conditional compilation. Unless I've somehow missed your point? You said that twice, so I want to make sure we're on the same page - You're talking about defining a compiler symbol, and then using [Conditonal] or #if, right? The end

Re: [Mono-dev] Class built by mono throws FileNotFoundException when run on windows

2015-09-02 Thread Robert Jordan
On 01.09.2015 22:04, Edward Ned Harvey (mono) wrote: The workaround I've found is to create a wrapper class MonoSpecific, so the if-clause and the Mono.Posix call are not in the same file. But this is clearly a hack. Is there a better way? You're depending on undefined behavior. The workaround

Re: [Mono-dev] Class built by mono throws FileNotFoundException when run on windows

2015-09-02 Thread Jonathan Pryor
On Sep 2, 2015, at 9:25 AM, Robert Jordan wrote: > A sane and easy solution is to deploy Mono.Posing on Windows side-by-side > with you app. Just do that — and distribute MonoPosixHelper.dll as well. Parts of Mono.Posix.dll are supported on Windows, e.g.