[Mono-devel-list] AppDomainSetupTest.cs

David Sheldon dave-monolist at earth.li
Tue Jan 27 13:46:08 EST 2004


On Tue, Jan 27, 2004 at 11:43:29PM +0900, Nick Drochak wrote:
> Dave,
> 
> For me, ApplicationBase3 () needs to use the temp dir for this test to pass.
> Maybe it depends on the test runner?  I'm using 'make run-test' from the mcs
> directory.  How are you running it on .NET?

I have the attached code, and I compile it to an exe. Then I run it for
various parts of the filesystem.

I think this might be something that MS have changed. I have 

Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322

Should I be using a more recent one? How should I keep up to date?

David
-- 
We use Linux for all our mission-critical applications. Having the source code
means that we are not held hostage by anyone's support department.
(Russell Nelson, President of Crynwr Software)
-------------- next part --------------
using System;
using System.IO;
class t1 
{

    static void Main(string [] args )
      {
          AppDomainSetup setup = new AppDomainSetup ();
          setup.ApplicationBase = "lalala";
          string expected = Path.Combine (Directory.GetCurrentDirectory (), "lalala");
          Console.WriteLine("Expected: {0}\nActual: {1}", expected, setup.ApplicationBase);
      }
}


More information about the Mono-devel-list mailing list