[Mono-dev] Running under the Mono 2.0 Profile
meebey at meebey.net
Tue Nov 28 04:53:09 EST 2006
On Mon, 2006-11-27 at 09:59 -0800, Charlie Poole wrote:
> Hi Mirco,
> Sure, this is what we use for the normal static situation where you always
> a particular program to run under a given profile. But it doesn't work for a
> more dynamic situation, such as a developer needing to test different
> under NUnit using different profiles.
> For that purpose, we have menu items that say "Run under .Net 1.1, etc."
> is implemented by using the COMPLUS_VERSION environment variable. For Mono,
> we currently only say "Run under Mono" It would be nice if we could have
> "Run under Mono 1.0 Profile" and "Run under Mono 2.0 Profile"
> I probably should have explained all this in my note in the first place. :-(
For compatibility someone could implement that environment setting for
Mono, but in the meantime you could just generate that app config file
when you push the "Run under Mono 2.0 Profile" button on the fly, or is
that too absurd? :-P
Actually, it's not the test-case that decides if it wants 2.0 profile or
not, it's the application that loads the test-case, nunit in this case.
So all you need is 2 nunit exe files, one that is linked against 1.0 and
one against 2.0, or use the app config trick and use 1.0 exe files
Or is the problem that you can't start a new nunit process for running
the test-case? Then this solution would not work.
Mirco 'meebey' Bauer
-----BEGIN GEEK CODE BLOCK-----
GIT d s-:+ a-- C++ UL++++$ P L++$>+++$ E- W+++$ N o? K- w++>! O---- M-
PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r->++ y?
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061128/f3016a31/attachment.bin
More information about the Mono-devel-list