Exemplo n.º 1
0
 static TestEnvironment()
 {
     try
     {
         // SetupLogging();
         SetJetTestPackagesDir();
         HackTestDataInNugets.ApplyPatches();
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }
Exemplo n.º 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);
            }
        }