public void InstallAddInAssembly(string fileName, Assembly assembly, AddInAttribute attribute)
        {
            var loadedAddIn = new LoadedAddIn(attribute.Name, attribute.Description, assembly, fileName);

            try
            {
                _loader.LoadAssembly(assembly);
            }
            catch (Exception ex)
            {
                loadedAddIn.Error = ex.ToString();
            }

            _addins.Add(loadedAddIn);
        }
        public void InstallAddInAssembly(string fileName, Assembly assembly, AddInAttribute attribute)
        {
            var loadedAddIn = new LoadedAddIn(attribute.Name, attribute.Description, assembly, fileName);

            try
            {
                _loader.LoadAssembly(assembly);
            }
            catch (Exception ex)
            {
                loadedAddIn.Error = ex.ToString();
            }

            _addins.Add(loadedAddIn);
        }