Exemple #1
0
 static TestEnvironment()
 {
     try
     {
         // SetupLogging();
         SetJetTestPackagesDir();
         HackTestDataInNugets.ApplyPatches();
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }
Exemple #2
0
        static TestEnvironment()
        {
            try
            {
                SetupLogging();
                SetJetTestPackagesDir();
                HackTestDataInNugets.ApplyPatches();

                // Temp workaround for GacCacheController, which adds all Mono GAC paths into a dictionary without
                // checking for duplicates
                if (PlatformUtil.IsRunningOnMono)
                {
                    Environment.SetEnvironmentVariable("MONO_GAC_PREFIX", "/foo");
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }