Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/10/14 10:31:41 (10 years ago)
Author:
pfleck
Message:

#2269 Merged trunk. Updated .net version of ALPS plugin.

Location:
branches/ALPS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/ALPS

  • branches/ALPS/HeuristicLab.ExtLibs

  • branches/ALPS/HeuristicLab.ExtLibs/HeuristicLab.MathJax/1.1/HeuristicLab.MathJax-1.1/HeuristicLab.MathJax-1.1.csproj

    r8600 r11677  
    1111    <RootNamespace>HeuristicLab.MathJax</RootNamespace>
    1212    <AssemblyName>HeuristicLab.MathJax-1.1</AssemblyName>
    13     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
     13    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    1414    <TargetFrameworkProfile>
    1515    </TargetFrameworkProfile>
     
    4646    <WarningLevel>4</WarningLevel>
    4747    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     48    <Prefer32Bit>false</Prefer32Bit>
    4849  </PropertyGroup>
    4950  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     
    5758    </DocumentationFile>
    5859    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     60    <Prefer32Bit>false</Prefer32Bit>
    5961  </PropertyGroup>
    6062  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
     
    6668    <ErrorReport>prompt</ErrorReport>
    6769    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     70    <Prefer32Bit>false</Prefer32Bit>
    6871  </PropertyGroup>
    6972  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
     
    7780    <ErrorReport>prompt</ErrorReport>
    7881    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     82    <Prefer32Bit>false</Prefer32Bit>
    7983  </PropertyGroup>
    8084  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
     
    8690    <ErrorReport>prompt</ErrorReport>
    8791    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     92    <Prefer32Bit>false</Prefer32Bit>
    8893  </PropertyGroup>
    8994  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     
    97102    <ErrorReport>prompt</ErrorReport>
    98103    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
     104    <Prefer32Bit>false</Prefer32Bit>
    99105  </PropertyGroup>
    100106  <ItemGroup>
    101     <Reference Include="ICSharpCode.SharpZipLib, Version=0.85.4.369, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
    102       <HintPath>..\..\..\..\HeuristicLab.PluginInfrastructure\3.3\ICSharpCode.SharpZipLib.dll</HintPath>
    103       <Private>False</Private>
    104     </Reference>
    105107    <Reference Include="System" />
    106108    <Reference Include="System.Core">
    107109      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    108110    </Reference>
     111    <Reference Include="System.IO.Compression" />
     112    <Reference Include="System.IO.Compression.FileSystem" />
    109113    <Reference Include="System.Xml.Linq">
    110114      <RequiredTargetFramework>3.5</RequiredTargetFramework>
     
    170174  -->
    171175  <PropertyGroup>
    172    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     176    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    173177set ProjectDir=$(ProjectDir)
    174178set SolutionDir=$(SolutionDir)
     
    177181call PreBuildEvent.cmd
    178182</PreBuildEvent>
    179 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     183    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    180184export ProjectDir=$(ProjectDir)
    181185export SolutionDir=$(SolutionDir)
  • branches/ALPS/HeuristicLab.ExtLibs/HeuristicLab.MathJax/1.1/HeuristicLab.MathJax-1.1/Plugin.cs.frame

    r11171 r11677  
    2121
    2222using System;
    23 using System.Collections.Generic;
     23using System.IO;
     24using System.IO.Compression;
    2425using System.Linq;
    25 using System.Text;
    26 using System.IO;
    27 
    2826using HeuristicLab.PluginInfrastructure;
    2927
     
    3836      base.OnLoad();
    3937      if (!Directory.EnumerateFiles(AppDomain.CurrentDomain.BaseDirectory, "mathjax.js", SearchOption.TopDirectoryOnly).Any()) {
    40         var zip = new ICSharpCode.SharpZipLib.Zip.FastZip();
    41         zip.ExtractZip("mathjax.zip", AppDomain.CurrentDomain.BaseDirectory, "");
     38        ZipFile.ExtractToDirectory("mathjax.zip", AppDomain.CurrentDomain.BaseDirectory);
    4239      }
    4340    }
Note: See TracChangeset for help on using the changeset viewer.