Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/14/18 17:07:25 (6 years ago)
Author:
dpiringe
Message:

#2522:

  • migrated a lot of projects to .NET Standard 2.0
  • added AppDomain.CurrentDomain.ApplyPolicy to Assembly.ReflectionOnlyLoad in PluginValidator to correctly load the System library
  • deleted Properties folder from .NET Standard projects, because AssemblyInformation is saved in .csproj files now
  • .NET Framework projects target now v4.7, because it is only possible to use .NET Standard libraries in v4.6 or higher
  • removed System.Data.Linq from defaultAssemblies and DiscoverNamespaces in ProgrammableOperator, it is not supported in .NET Standard
  • the Microsoft.Windows.Compatibility package is necessary for usage of PluginInfrastructure, we should probably switch to the System.Drawing.Common package when PluginInfrastructure is migrated to .NET Standard
Location:
branches/2522_RefactorPluginInfrastructure/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2522_RefactorPluginInfrastructure/HeuristicLab.Algorithms.MOCMAEvolutionStrategy/3.3/HeuristicLab.Algorithms.MOCMAEvolutionStrategy-3.3.csproj

    r15236 r16143  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    3   <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
     2<Project Sdk="Microsoft.NET.Sdk">
    43  <PropertyGroup>
    5     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    6     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    7     <ProjectGuid>{0E2E224F-E9B2-41F3-B510-09183EEBA2AF}</ProjectGuid>
    8     <OutputType>Library</OutputType>
    9     <AppDesignerFolder>Properties</AppDesignerFolder>
     4    <TargetFramework>netstandard2.0</TargetFramework>
     5    <Copyright>(c) 2002-2018 HEAL</Copyright>
     6    <Product>HeuristicLab</Product>
     7    <SignAssembly>false</SignAssembly>
     8    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
     9    <AssemblyVersion>3.3.0.0</AssemblyVersion>
     10    <AssemblyFileVersion>3.3.15.0</AssemblyFileVersion>
    1011    <RootNamespace>HeuristicLab.Algorithms.MOCMAEvolutionStrategy</RootNamespace>
    11     <AssemblyName>HeuristicLab.Algorithms.MOCMAEvolutionStrategy-3.3</AssemblyName>
    12     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    13     <FileAlignment>512</FileAlignment>
    14   </PropertyGroup>
    15   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    16     <DebugSymbols>true</DebugSymbols>
    17     <DebugType>full</DebugType>
    18     <Optimize>false</Optimize>
    19     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    20     <DefineConstants>DEBUG;TRACE</DefineConstants>
    21     <ErrorReport>prompt</ErrorReport>
    22     <WarningLevel>4</WarningLevel>
    23     <LangVersion>5</LangVersion>
    24   </PropertyGroup>
    25   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    26     <DebugType>pdbonly</DebugType>
    27     <Optimize>true</Optimize>
    28     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    29     <DefineConstants>TRACE</DefineConstants>
    30     <ErrorReport>prompt</ErrorReport>
    31     <WarningLevel>4</WarningLevel>
    32     <LangVersion>5</LangVersion>
    33   </PropertyGroup>
    34   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    35     <DebugSymbols>true</DebugSymbols>
    36     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    37     <DefineConstants>DEBUG;TRACE</DefineConstants>
    38     <DebugType>full</DebugType>
    39     <PlatformTarget>x64</PlatformTarget>
    40     <LangVersion>5</LangVersion>
    41     <ErrorReport>prompt</ErrorReport>
    42     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    43   </PropertyGroup>
    44   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    45     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    46     <DefineConstants>TRACE</DefineConstants>
    47     <Optimize>true</Optimize>
    48     <DebugType>pdbonly</DebugType>
    49     <PlatformTarget>x64</PlatformTarget>
    50     <LangVersion>5</LangVersion>
    51     <ErrorReport>prompt</ErrorReport>
    52     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    53   </PropertyGroup>
    54   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
    55     <DebugSymbols>true</DebugSymbols>
    56     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    57     <DefineConstants>DEBUG;TRACE</DefineConstants>
    58     <DebugType>full</DebugType>
    59     <PlatformTarget>x86</PlatformTarget>
    60     <LangVersion>5</LangVersion>
    61     <ErrorReport>prompt</ErrorReport>
    62     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    63   </PropertyGroup>
    64   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
    65     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    66     <DefineConstants>TRACE</DefineConstants>
    67     <Optimize>true</Optimize>
    68     <DebugType>pdbonly</DebugType>
    69     <PlatformTarget>x86</PlatformTarget>
    70     <LangVersion>5</LangVersion>
    71     <ErrorReport>prompt</ErrorReport>
    72     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    7312  </PropertyGroup>
    7413  <ItemGroup>
    75     <Reference Include="ALGLIB-3.7.0">
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
     16  </ItemGroup>
     17  <ItemGroup>
     18    <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj" />
     19    <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj" />
     20    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj" />
     21    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj" />
     22    <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj" />
     23    <ProjectReference Include="..\..\HeuristicLab.Encodings.RealVectorEncoding\3.3\HeuristicLab.Encodings.RealVectorEncoding-3.3.csproj" />
     24    <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj" />
     25    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj" />
     26    <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj" />
     27    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj" />
     28    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj" />
     29    <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj" />
     30    <ProjectReference Include="..\..\HeuristicLab.Problems.TestFunctions.MultiObjective\3.3\HeuristicLab.Problems.TestFunctions.MultiObjective-3.3.csproj" />
     31    <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj" />
     32  </ItemGroup>
     33  <ItemGroup>
     34    <Reference Include="ALGLIB-3.7.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    7635      <HintPath>..\..\bin\ALGLIB-3.7.0.dll</HintPath>
    7736      <Private>False</Private>
    7837    </Reference>
    79     <Reference Include="System" />
    80     <Reference Include="System.Core" />
    81     <Reference Include="System.Drawing" />
    8238  </ItemGroup>
    83   <ItemGroup>
    84     <None Include="Plugin.cs.frame" />
    85     <None Include="Properties\AssemblyInfo.cs.frame" />
    86   </ItemGroup>
    87   <ItemGroup>
    88     <Compile Include="Indicators\MinimalDistanceIndicator.cs" />
    89     <Compile Include="Indicators\CrowdingIndicator.cs" />
    90     <Compile Include="Indicators\HypervolumeIndicator.cs" />
    91     <Compile Include="IIndicator.cs" />
    92     <Compile Include="Individual.cs" />
    93     <Compile Include="MOCMAEvolutionStrategy.cs" />
    94     <Compile Include="Plugin.cs" />
    95     <Compile Include="Properties\AssemblyInfo.cs" />
    96     <Compile Include="DoubleMatrixHelper.cs" />
    97   </ItemGroup>
    98   <ItemGroup>
    99     <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj">
    100       <Project>{887425B4-4348-49ED-A457-B7D2C26DDBF9}</Project>
    101       <Name>HeuristicLab.Analysis-3.3</Name>
    102       <Private>False</Private>
    103     </ProjectReference>
    104     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    105       <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    106       <Name>HeuristicLab.Collections-3.3</Name>
    107       <Private>False</Private>
    108     </ProjectReference>
    109     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    110       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    111       <Name>HeuristicLab.Common-3.3</Name>
    112       <Private>False</Private>
    113     </ProjectReference>
    114     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    115       <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    116       <Name>HeuristicLab.Core-3.3</Name>
    117       <Private>False</Private>
    118     </ProjectReference>
    119     <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
    120       <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
    121       <Name>HeuristicLab.Data-3.3</Name>
    122       <Private>False</Private>
    123     </ProjectReference>
    124     <ProjectReference Include="..\..\HeuristicLab.Encodings.RealVectorEncoding\3.3\HeuristicLab.Encodings.RealVectorEncoding-3.3.csproj">
    125       <Project>{BB6D334A-4BB6-4674-9883-31A6EBB32CAB}</Project>
    126       <Name>HeuristicLab.Encodings.RealVectorEncoding-3.3</Name>
    127       <Private>False</Private>
    128     </ProjectReference>
    129     <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
    130       <Project>{23da7ff4-d5b8-41b6-aa96-f0561d24f3ee}</Project>
    131       <Name>HeuristicLab.Operators-3.3</Name>
    132       <Private>False</Private>
    133     </ProjectReference>
    134     <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
    135       <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
    136       <Name>HeuristicLab.Optimization-3.3</Name>
    137       <Private>False</Private>
    138     </ProjectReference>
    139     <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
    140       <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
    141       <Name>HeuristicLab.Parameters-3.3</Name>
    142       <Private>False</Private>
    143     </ProjectReference>
    144     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    145       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    146       <Name>HeuristicLab.Persistence-3.3</Name>
    147       <Private>False</Private>
    148     </ProjectReference>
    149     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    150       <Project>{94186a6a-5176-4402-ae83-886557b53cca}</Project>
    151       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    152       <Private>False</Private>
    153     </ProjectReference>
    154     <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj">
    155       <Project>{3540e29e-4793-49e7-8ee2-fea7f61c3994}</Project>
    156       <Name>HeuristicLab.Problems.Instances-3.3</Name>
    157       <Private>False</Private>
    158     </ProjectReference>
    159     <ProjectReference Include="..\..\HeuristicLab.Problems.TestFunctions.MultiObjective\3.3\HeuristicLab.Problems.TestFunctions.MultiObjective-3.3.csproj">
    160       <Project>{D53E8E48-CFAA-4F57-AC35-63BEF4476159}</Project>
    161       <Name>HeuristicLab.Problems.TestFunctions.MultiObjective-3.3</Name>
    162       <Private>False</Private>
    163     </ProjectReference>
    164     <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj">
    165       <Project>{F4539FB6-4708-40C9-BE64-0A1390AEA197}</Project>
    166       <Name>HeuristicLab.Random-3.3</Name>
    167       <Private>False</Private>
    168     </ProjectReference>
    169   </ItemGroup>
    170   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    171   <PropertyGroup>
    172     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    173 set ProjectDir=$(ProjectDir)
    174 set SolutionDir=$(SolutionDir)
    175 set Outdir=$(Outdir)
    176 
    177 call PreBuildEvent.cmd
    178     </PreBuildEvent>
    179     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    180 export ProjectDir=$(ProjectDir)
    181 export SolutionDir=$(SolutionDir)
    182 
    183 $SolutionDir/PreBuildEvent.sh
    184     </PreBuildEvent>
     39  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     40    <Exec Command="set Path=%Path%;$(ProjectDir);$(SolutionDir)&#xD;&#xA;set ProjectDir=$(ProjectDir)&#xD;&#xA;set SolutionDir=$(SolutionDir)&#xD;&#xA;set Outdir=$(Outdir)&#xD;&#xA;call PreBuildEvent.cmd" />
     41  </Target>
     42  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     43    <OutputPath>..\..\bin\</OutputPath>
     44    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    18545  </PropertyGroup>
    186   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    187        Other similar extension points exist, see Microsoft.Common.targets.
    188   <Target Name="BeforeBuild">
    189   </Target>
    190   <Target Name="AfterBuild">
    191   </Target>
    192   -->
    19346</Project>
Note: See TracChangeset for help on using the changeset viewer.