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.Encodings.LinearLinkageEncoding/3.4
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2522_RefactorPluginInfrastructure/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/HeuristicLab.Encodings.LinearLinkageEncoding-3.4.csproj

    r15079 r16143  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Project ToolsVersion="12.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>{BE698769-975A-429E-828C-72BB2B6182C8}</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>true</SignAssembly>
     8    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
     9    <AssemblyVersion>3.4.0.0</AssemblyVersion>
     10    <AssemblyFileVersion>3.4.14.0</AssemblyFileVersion>
    1011    <RootNamespace>HeuristicLab.Encodings.LinearLinkageEncoding</RootNamespace>
    11     <AssemblyName>HeuristicLab.Encodings.LinearLinkageEncoding-3.4</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     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    24     <Prefer32Bit>false</Prefer32Bit>
    25   </PropertyGroup>
    26   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    27     <DebugType>pdbonly</DebugType>
    28     <Optimize>true</Optimize>
    29     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    30     <DefineConstants>TRACE</DefineConstants>
    31     <ErrorReport>prompt</ErrorReport>
    32     <WarningLevel>4</WarningLevel>
    33     <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    34     <DocumentationFile>
    35     </DocumentationFile>
    36     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    37     <Prefer32Bit>false</Prefer32Bit>
    38   </PropertyGroup>
    39   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    40     <DebugSymbols>true</DebugSymbols>
    41     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    42     <DefineConstants>DEBUG;TRACE</DefineConstants>
    43     <DebugType>full</DebugType>
    44     <PlatformTarget>x86</PlatformTarget>
    45     <ErrorReport>prompt</ErrorReport>
    46     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    47     <Prefer32Bit>false</Prefer32Bit>
    48   </PropertyGroup>
    49   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    50     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    51     <DefineConstants>TRACE</DefineConstants>
    52     <DocumentationFile>
    53     </DocumentationFile>
    54     <Optimize>true</Optimize>
    55     <DebugType>pdbonly</DebugType>
    56     <PlatformTarget>x86</PlatformTarget>
    57     <ErrorReport>prompt</ErrorReport>
    58     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    59     <Prefer32Bit>false</Prefer32Bit>
    60   </PropertyGroup>
    61   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
    62     <DebugSymbols>true</DebugSymbols>
    63     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    64     <DefineConstants>DEBUG;TRACE</DefineConstants>
    65     <DebugType>full</DebugType>
    66     <PlatformTarget>x64</PlatformTarget>
    67     <ErrorReport>prompt</ErrorReport>
    68     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    69     <Prefer32Bit>false</Prefer32Bit>
    70   </PropertyGroup>
    71   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
    72     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    73     <DefineConstants>TRACE</DefineConstants>
    74     <DocumentationFile>
    75     </DocumentationFile>
    76     <Optimize>true</Optimize>
    77     <DebugType>pdbonly</DebugType>
    78     <PlatformTarget>x64</PlatformTarget>
    79     <ErrorReport>prompt</ErrorReport>
    80     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    81     <Prefer32Bit>false</Prefer32Bit>
    82   </PropertyGroup>
    83   <PropertyGroup>
    84     <SignAssembly>true</SignAssembly>
    85   </PropertyGroup>
    86   <PropertyGroup>
    87     <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
    8812  </PropertyGroup>
    8913  <ItemGroup>
    90     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    91       <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    92       <Name>HeuristicLab.Collections-3.3</Name>
    93       <Private>False</Private>
    94     </ProjectReference>
    95     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    96       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    97       <Name>HeuristicLab.Common-3.3</Name>
    98       <Private>False</Private>
    99     </ProjectReference>
    100     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    101       <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    102       <Name>HeuristicLab.Core-3.3</Name>
    103       <Private>False</Private>
    104     </ProjectReference>
    105     <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
    106       <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
    107       <Name>HeuristicLab.Data-3.3</Name>
    108       <Private>False</Private>
    109     </ProjectReference>
    110     <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
    111       <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project>
    112       <Name>HeuristicLab.Operators-3.3</Name>
    113       <Private>False</Private>
    114     </ProjectReference>
    115     <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
    116       <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project>
    117       <Name>HeuristicLab.Optimization.Operators-3.3</Name>
    118       <Private>False</Private>
    119     </ProjectReference>
    120     <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
    121       <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
    122       <Name>HeuristicLab.Optimization-3.3</Name>
    123       <Private>False</Private>
    124     </ProjectReference>
    125     <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
    126       <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
    127       <Name>HeuristicLab.Parameters-3.3</Name>
    128       <Private>False</Private>
    129     </ProjectReference>
    130     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    131       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    132       <Name>HeuristicLab.Persistence-3.3</Name>
    133       <Private>False</Private>
    134     </ProjectReference>
    135     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    136       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    137       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    138       <Private>False</Private>
    139     </ProjectReference>
    140     <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj">
    141       <Project>{f4539fb6-4708-40c9-be64-0a1390aea197}</Project>
    142       <Name>HeuristicLab.Random-3.3</Name>
    143       <Private>False</Private>
    144     </ProjectReference>
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
    14516  </ItemGroup>
    14617  <ItemGroup>
    147     <Reference Include="System" />
    148     <Reference Include="System.Core" />
    149     <Reference Include="System.Drawing" />
    150     <Reference Include="System.Xml.Linq" />
    151     <Reference Include="System.Data.DataSetExtensions" />
    152     <Reference Include="Microsoft.CSharp" />
    153     <Reference Include="System.Data" />
    154     <Reference Include="System.Xml" />
     18    <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj" />
     19    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj" />
     20    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj" />
     21    <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj" />
     22    <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj" />
     23    <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj" />
     24    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj" />
     25    <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj" />
     26    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj" />
     27    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj" />
     28    <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj" />
    15529  </ItemGroup>
    15630  <ItemGroup>
    157     <Compile Include="Creators\ExactGroupsLinearLinkageCreator.cs" />
    158     <Compile Include="Creators\MaxGroupSizeLinearLinkageCreator.cs" />
    159     <Compile Include="Creators\MaxGroupsLinearLinkageCreator.cs" />
    160     <Compile Include="Creators\RandomLinearLinkageCreator.cs" />
    161     <Compile Include="Crossovers\GreedyPartitionCrossover.cs" />
    162     <Compile Include="Crossovers\GroupCrossover.cs" />
    163     <Compile Include="Crossovers\LowestIndexMaxCrossover.cs" />
    164     <Compile Include="Crossovers\MultiLLECrossover.cs" />
    165     <Compile Include="Crossovers\SinglePointCrossover.cs" />
    166     <Compile Include="Interfaces\ILinearLinkageMoveOperator.cs" />
    167     <Compile Include="Interfaces\ILinearLinkageEMSSMoveOperator.cs" />
    168     <Compile Include="Interfaces\ILinearLinkageSwap2MoveOperator.cs" />
    169     <Compile Include="Interfaces\ILinearLinkageCreator.cs" />
    170     <Compile Include="LinearLinkage.cs" />
    171     <Compile Include="LinearLinkageCreator.cs" />
    172     <Compile Include="LinearLinkageEncoding.cs" />
    173     <Compile Include="LinearLinkageEqualityComparer.cs" />
    174     <Compile Include="LinearLinkageManipulator.cs" />
    175     <Compile Include="LinearLinkageCrossover.cs" />
    176     <Compile Include="Manipulators\GraftManipulator.cs" />
    177     <Compile Include="Manipulators\MoveItemManipulator.cs" />
    178     <Compile Include="Manipulators\MergeGroupManipulator.cs" />
    179     <Compile Include="Manipulators\MultiLLEManipulator.cs" />
    180     <Compile Include="Moves\EMSS\EMSSMoveMaker.cs" />
    181     <Compile Include="Moves\EMSS\ExtractMove.cs" />
    182     <Compile Include="Moves\EMSS\MergeMove.cs" />
    183     <Compile Include="Moves\EMSS\EMSSMove.cs" />
    184     <Compile Include="Moves\EMSS\ExhaustiveEMSSMoveGenerator.cs" />
    185     <Compile Include="Moves\EMSS\EMSSMoveGenerator.cs" />
    186     <Compile Include="Moves\EMSS\StochasticEMSSMultiMoveGenerator.cs" />
    187     <Compile Include="Moves\EMSS\StochasticEMSSSingleMoveGenerator.cs" />
    188     <Compile Include="Moves\EMSS\ShiftMove.cs" />
    189     <Compile Include="Moves\EMSS\SplitMove.cs" />
    190     <Compile Include="Moves\Swap\ExhaustiveSwap2MoveGenerator.cs" />
    191     <Compile Include="Moves\Swap\StochasticSwap2MultiMoveGenerator.cs" />
    192     <Compile Include="Moves\Swap\StochasticSwap2SingleMoveGenerator.cs" />
    193     <Compile Include="Moves\Swap\Swap2Move.cs" />
    194     <Compile Include="Moves\Swap\Swap2MoveGenerator.cs" />
    195     <Compile Include="Moves\Swap\Swap2MoveMaker.cs" />
    196     <Compile Include="ShakingOperators\LLEShakingOperator.cs" />
    197     <Compile Include="SimilarityCalculators\HammingSimilarityCalculator.cs" />
    198     <None Include="HeuristicLab.snk" />
    199     <None Include="Plugin.cs.frame" />
    200     <Compile Include="Crossovers\LowestIndexFirstCrossover.cs" />
    201     <Compile Include="Interfaces\ILinearLinkageCrossover.cs" />
    202     <Compile Include="Interfaces\ILinearLinkageManipulator.cs" />
    203     <Compile Include="Interfaces\ILinearLinkageOperator.cs" />
    204     <Compile Include="Interfaces\ILinearLinkageShakingOperator.cs" />
    205     <Compile Include="Manipulators\SplitGroupManipulator.cs" />
    206     <Compile Include="Manipulators\SwapItemManipulator.cs" />
    207     <Compile Include="Plugin.cs" />
    208     <None Include="Properties\AssemblyInfo.cs.frame" />
    209     <Compile Include="Properties\AssemblyInfo.cs" />
     31    <Reference Include="Microsoft.CSharp" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
    21032  </ItemGroup>
    211   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    212   <PropertyGroup>
    213     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    214 set ProjectDir=$(ProjectDir)
    215 set SolutionDir=$(SolutionDir)
    216 set Outdir=$(Outdir)
    217 
    218 call PreBuildEvent.cmd
    219     </PreBuildEvent>
    220     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    221 export ProjectDir=$(ProjectDir)
    222 export SolutionDir=$(SolutionDir)
    223 
    224 $SolutionDir/PreBuildEvent.sh
    225     </PreBuildEvent>
     33  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     34    <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" />
     35  </Target>
     36  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     37    <OutputPath>..\..\bin\</OutputPath>
     38    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    22639  </PropertyGroup>
    227   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    228        Other similar extension points exist, see Microsoft.Common.targets.
    229   <Target Name="BeforeBuild">
    230   </Target>
    231   <Target Name="AfterBuild">
    232   </Target>
    233   -->
    23440</Project>
Note: See TracChangeset for help on using the changeset viewer.