Example #1
0
        private void SolutionEvents_BeforeClosing()
        {
            Output.Instance.WriteLine("Saving options");
            Options.Instance.Save();

            if (Options.Instance.ResolveAndUnresolveReferencesOnOpenAndClose)
            {
                Output.Instance.WriteLine("Resolve on open and close is enabled, will trigger unresolve");
                IvySolutionHandler.Unresolve();
            }
        }
Example #2
0
        private void SolutionEvents_Opened()
        {
            Output.Instance.WriteLine("Loading options");
            Options.Instance.Load();

            if (Options.Instance.ResolveAndUnresolveReferencesOnOpenAndClose)
            {
                Output.Instance.WriteLine("Resolve on open and close is enabled, will trigger resolve");
                IvySolutionHandler.Resolve();
            }
        }