示例#1
0
 private void SolutionEvents_AfterClosing()
 {
     if (_usingSolutionOptions)
     {
         OptionsProviderRegistry.PopOptionsProvider();
     }
     _usingSolutionOptions = false;
 }
示例#2
0
        private void RemoveSolutionOptionsFileCmdCallback(object sender, EventArgs e)
        {
            var projItem = _dte2.Solution.FindProjectItem(_solutionConfigurationPath);

            projItem?.Remove();

            OptionsProviderRegistry.PopOptionsProvider();
            _usingSolutionOptions       = false;
            _solutionConfigurationPath  = null;
            _hasDirtySolutionProperties = true;
        }