Beispiel #1
0
 private void OnBuildBegin(vsBuildScope scope, vsBuildAction action)
 {
     if (EngineLoader.IsEngineEnabled())
     {
         buildEventEnableEngine = true;
         EngineLoader.DisableEngine();
     }
 }
Beispiel #2
0
        int IVsSolutionEvents.OnBeforeCloseSolution(object pUnkReserved)
        {
            EngineLoader.DisableEngine();
            EngineLoader.Unload();

            TddStud10Host.Dispose();
            TddStud10Host = null;

            IconHost.RunState = RunState.Initial;

            return(VSConstants.S_OK);
        }
Beispiel #3
0
        private void ExecuteChangeTddStud10State(object sender, EventArgs e)
        {
            Logger.LogInfo("Changing TddStud10 state...");

            if (EngineLoader.IsEngineEnabled())
            {
                EngineLoader.DisableEngine();
                SetTddStudioDisable(true);
            }
            else
            {
                EngineLoader.EnableEngine();
                SetTddStudioDisable(false);
            }
        }