Пример #1
0
        public void CheckVersion(DeployedDirectory directory, IVersionReport report)
        {
            DotNetAssembly deployedVersion = directory.FindAssembly(AssemblyName);

            if (deployedVersion == null)
            {
                report.MissingAssembly(AssemblyName, Version);
            }
            else
            {
                if (Version != deployedVersion.Version)
                {
                    report.VersionMismatchAssembly(AssemblyName, Version, deployedVersion.Version);
                }
            }
        }
Пример #2
0
 public void AddAssembly(DotNetAssembly netAssembly)
 {
     _assemblies.Add(netAssembly.AssemblyName, netAssembly);
 }
 public void AddAssembly(DotNetAssembly netAssembly)
 {
     _assemblies.Add(netAssembly.AssemblyName, netAssembly);
 }