public static void IgnoreSolution(bool ignore)
{
WritableSettingsStore wstore = _settings.GetWritableSettingsStore(SettingsScope.UserSettings);
if (!wstore.CollectionExists(Vsix.Name))
wstore.CreateCollection(Vsix.Name);
string solution = VSPackage.GetSolution();
if (string.IsNullOrEmpty(solution))
return;
string property = GetPropertyName(solution);
if (ignore)
{
wstore.SetInt32(Vsix.Name, property, 1);
}
else
{
wstore.DeleteProperty(Vsix.Name, property);
}
}