Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/24/19 13:14:35 (6 years ago)
Author:
dpiringe
Message:

#2924:

  • changed the use of AppDomain.CurrentDomain.BaseDirectory to Directory.GetCurrentDirectory() in projects HeuristicLab.MathJax and HeuristicLab.Problems.GeneticProgramming, this change helps to load these plugins correctly with the new PluginInfrastructure
  • deleted obsolete files from folder HeuristicLab/3.3/Properties and added launchSettings.json for docker
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2924_DotNetCoreMigration/HeuristicLab.ExtLibs/HeuristicLab.MathJax/2.6.1/HeuristicLab.MathJax-2.6.1/Plugin.cs.frame

    r15583 r16986  
    3535    public override void OnLoad() {
    3636      base.OnLoad();
    37       if (!Directory.EnumerateDirectories(AppDomain.CurrentDomain.BaseDirectory, "MathJax", SearchOption.TopDirectoryOnly).Any()) {
    38         ZipFile.ExtractToDirectory(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "mathjax.zip"), AppDomain.CurrentDomain.BaseDirectory);
     37      if (!Directory.EnumerateDirectories(Directory.GetCurrentDirectory()/*AppDomain.CurrentDomain.BaseDirectory*/, "MathJax", SearchOption.TopDirectoryOnly).Any()) {
     38        ZipFile.ExtractToDirectory(Path.Combine(Directory.GetCurrentDirectory()/*AppDomain.CurrentDomain.BaseDirectory*/, "mathjax.zip"), Directory.GetCurrentDirectory()/*AppDomain.CurrentDomain.BaseDirectory*/);
    3939      }
    4040    }
Note: See TracChangeset for help on using the changeset viewer.