public int WriteSolutionProps([InAttribute] IVsHierarchy pHierarchy, [InAttribute] string pszKey, [InAttribute] IPropertyBag pPropBag) { pPropBag.WriteBool(_strUseSSL, settings.UseSSL); pPropBag.WriteBool(_strUseIFD, settings.UseIFD); pPropBag.WriteBool(_strUseOnline, settings.UseOnline); pPropBag.WriteBool(_strUseOffice365, settings.UseOffice365); pPropBag.WriteBool(_strUseOffice365, settings.UseOffice365); pPropBag.Write(_strServerName, settings.ServerName); pPropBag.Write(_strServerPort, settings.ServerPort); pPropBag.Write(_strHomeRealm, settings.HomeRealm); //pPropBag.Write(_strCrmUrl, settings.CrmSdkUrl); pPropBag.Write(_strDomain, settings.Domain); pPropBag.Write(_strUseWindowsAuth, settings.UseWindowsAuth.ToString()); //pPropBag.Write(_strUsername, settings.Username); //pPropBag.Write(_strPassword, settings.Password); pPropBag.Write(_strOrganization, settings.CrmOrg); pPropBag.Write(_strIncludeEntities, settings.EntitiesToIncludeString); pPropBag.WriteBool(_strIncludeNonStandard, settings.IncludeNonStandard); settings.Dirty = false; return(VSConstants.S_OK); }