Esempio n. 1
0
 internal void UnloadProject(Project project, bool unloadAllVersions )
 {
     if (project.FullFileName.Length > 0)
     {
         if (this.projectsLoadedByHost.Contains(project.FullFileName))
         {
             this.projectsLoadedByHost.Remove(project.FullFileName);
         }
         if (unloadAllVersions)
         {
             this.cacheOfBuildingProjects.RemoveProjects(project.FullFileName);
         }
         else
         {
             this.cacheOfBuildingProjects.RemoveProject(project);
         }
     }
     project.ClearParentEngine();
 }