internal void UpdateFrameworkAssemblies(string appFolder) { Logger.Debug(DebugString.Format(Messages.UpdatingAssembly, AssemblyType.Core)); AssemblyInformation asm = asmDAO.GetCoreAssemblyInformation(); UpdateFrameworkDBAssembly(ref asm); fileUpdate.UpdateAppDataFolder(asm, appFolder); }
internal void UpdateAppDataFolder(AssemblyInformation asm, string appFolder) { string fullPath = Path.Combine(appFolder, asm.FileName); List <AssemblyInformation> dependencies = asmDAO.GetDependencies(asm); if (IsDifferent(asm, fullPath)) { UpdateAssembly(asm, fullPath); } foreach (var dep in dependencies) { fullPath = Path.Combine(appFolder, dep.FileName); if (IsDifferent(dep, fullPath)) { UpdateAssembly(dep, fullPath); } } if (dependencies.Count == 0) { AssemblyInformation coreAsm = asmDAO.GetCoreAssemblyInformation(); UpdateAppDataFolder(coreAsm, appFolder); } }