コード例 #1
0
 static TestEnvironment()
 {
     try
     {
         // SetupLogging();
         SetJetTestPackagesDir();
         HackTaskRunnerFramework.Install();
         HackTestDataInNugets.ApplyPatches();
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }
コード例 #2
0
        static TestEnvironment()
        {
            try
            {
                // SetupLogging();
                SetJetTestPackagesDir();
                HackTaskRunnerFramework.Install();
                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);
            }
        }