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.ScheduleEncoding/3.3
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2522_RefactorPluginInfrastructure/HeuristicLab.Encodings.ScheduleEncoding/3.3/HeuristicLab.Encodings.ScheduleEncoding-3.3.csproj

    r11623 r16143  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     2<Project Sdk="Microsoft.NET.Sdk">
    33  <PropertyGroup>
    4     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    5     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    6     <ProductVersion>8.0.30703</ProductVersion>
    7     <SchemaVersion>2.0</SchemaVersion>
    8     <ProjectGuid>{17F3EF80-B2C3-4B8D-A4D5-BE9CE3BA2606}</ProjectGuid>
    9     <OutputType>Library</OutputType>
    10     <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.3.0.0</AssemblyVersion>
     10    <AssemblyFileVersion>3.3.15.0</AssemblyFileVersion>
    1111    <RootNamespace>HeuristicLab.Encodings.ScheduleEncoding</RootNamespace>
    12     <AssemblyName>HeuristicLab.Encodings.ScheduleEncoding-3.3</AssemblyName>
    13     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    14     <FileAlignment>512</FileAlignment>
    15     <TargetFrameworkProfile />
    16   </PropertyGroup>
    17   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    18     <DebugSymbols>true</DebugSymbols>
    19     <DebugType>full</DebugType>
    20     <Optimize>false</Optimize>
    21     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    22     <DefineConstants>DEBUG;TRACE</DefineConstants>
    23     <ErrorReport>prompt</ErrorReport>
    24     <WarningLevel>4</WarningLevel>
    25     <Prefer32Bit>false</Prefer32Bit>
    26   </PropertyGroup>
    27   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    28     <DebugType>pdbonly</DebugType>
    29     <Optimize>true</Optimize>
    30     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    31     <DefineConstants>TRACE</DefineConstants>
    32     <ErrorReport>prompt</ErrorReport>
    33     <WarningLevel>4</WarningLevel>
    34     <Prefer32Bit>false</Prefer32Bit>
    35   </PropertyGroup>
    36   <PropertyGroup>
    37     <SignAssembly>true</SignAssembly>
    38   </PropertyGroup>
    39   <PropertyGroup>
    40     <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
    41   </PropertyGroup>
    42   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    43     <DebugSymbols>true</DebugSymbols>
    44     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    45     <DefineConstants>DEBUG;TRACE</DefineConstants>
    46     <DebugType>full</DebugType>
    47     <PlatformTarget>x64</PlatformTarget>
    48     <CodeAnalysisLogFile>..\..\..\..\trunk\sources\bin\HeuristicLab.Encodings.ScheduleEncoding-3.3.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    49     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    50     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    51     <ErrorReport>prompt</ErrorReport>
    52     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    53     <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    54     <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
    55     <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    56     <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
    57     <Prefer32Bit>false</Prefer32Bit>
    58   </PropertyGroup>
    59   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    60     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    61     <DefineConstants>TRACE</DefineConstants>
    62     <Optimize>true</Optimize>
    63     <DebugType>pdbonly</DebugType>
    64     <PlatformTarget>x64</PlatformTarget>
    65     <CodeAnalysisLogFile>..\..\..\..\trunk\sources\bin\HeuristicLab.Encodings.ScheduleEncoding-3.3.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    66     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    67     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    68     <ErrorReport>prompt</ErrorReport>
    69     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    70     <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    71     <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
    72     <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    73     <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
    74     <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
    75     <Prefer32Bit>false</Prefer32Bit>
    76   </PropertyGroup>
    77   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
    78     <DebugSymbols>true</DebugSymbols>
    79     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    80     <DefineConstants>DEBUG;TRACE</DefineConstants>
    81     <DebugType>full</DebugType>
    82     <PlatformTarget>x86</PlatformTarget>
    83     <CodeAnalysisLogFile>..\..\..\..\trunk\sources\bin\HeuristicLab.Encodings.ScheduleEncoding-3.3.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    84     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    85     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    86     <ErrorReport>prompt</ErrorReport>
    87     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    88     <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    89     <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
    90     <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    91     <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
    92     <Prefer32Bit>false</Prefer32Bit>
    93   </PropertyGroup>
    94   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
    95     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    96     <DefineConstants>TRACE</DefineConstants>
    97     <Optimize>true</Optimize>
    98     <DebugType>pdbonly</DebugType>
    99     <PlatformTarget>x86</PlatformTarget>
    100     <CodeAnalysisLogFile>..\..\..\..\trunk\sources\bin\HeuristicLab.Encodings.ScheduleEncoding-3.3.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    101     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    102     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    103     <ErrorReport>prompt</ErrorReport>
    104     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    105     <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    106     <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
    107     <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    108     <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
    109     <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
    110     <Prefer32Bit>false</Prefer32Bit>
    11112  </PropertyGroup>
    11213  <ItemGroup>
    113     <Reference Include="System" />
    114     <Reference Include="System.Core" />
    115     <Reference Include="System.Drawing" />
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
    11616  </ItemGroup>
    11717  <ItemGroup>
    118     <Compile Include="Interfaces\IDirectScheduleOperator.cs" />
    119     <Compile Include="Interfaces\IJSMOperator.cs" />
    120     <Compile Include="Interfaces\IPRVOperator.cs" />
    121     <Compile Include="Interfaces\IPWROperator.cs" />
    122     <Compile Include="Interfaces\IScheduleCreator.cs" />
    123     <Compile Include="Interfaces\IScheduleCrossover.cs" />
    124     <Compile Include="Interfaces\IScheduleEncoding.cs" />
    125     <Compile Include="Interfaces\IScheduleManipulator.cs" />
    126     <Compile Include="Interfaces\IScheduleOperator.cs" />
    127     <Compile Include="JobSequenceMatrix\Crossovers\JSMCrossover.cs" />
    128     <Compile Include="JobSequenceMatrix\Crossovers\JSMJOXCrossover.cs" />
    129     <Compile Include="JobSequenceMatrix\Crossovers\JSMOXCrossover.cs" />
    130     <Compile Include="JobSequenceMatrix\Crossovers\JSMSXXCrossover.cs" />
    131     <Compile Include="JobSequenceMatrix\JSMEncoding.cs" />
    132     <Compile Include="JobSequenceMatrix\JSMRandomCreator.cs" />
    133     <Compile Include="JobSequenceMatrix\Manipulators\JSMManipulator.cs" />
    134     <Compile Include="JobSequenceMatrix\Manipulators\JSMShiftChangeManipulator.cs" />
    135     <Compile Include="JobSequenceMatrix\Manipulators\JSMSwapManipulator.cs" />
    136     <Compile Include="PermutationWithRepetition\Crossovers\PWRCrossover.cs" />
    137     <Compile Include="PermutationWithRepetition\Crossovers\PWRGOXCrossover.cs" />
    138     <Compile Include="PermutationWithRepetition\Crossovers\PWRPPXCrossover.cs" />
    139     <Compile Include="PermutationWithRepetition\Manipulators\PWRManipulator.cs" />
    140     <Compile Include="PermutationWithRepetition\Manipulators\PWRInsertionManipulator.cs" />
    141     <Compile Include="PermutationWithRepetition\PWREncoding.cs" />
    142     <Compile Include="PermutationWithRepetition\PWRRandomCreator.cs" />
    143     <Compile Include="Plugin.cs" />
    144     <Compile Include="PriorityRulesVector\Crossovers\PRVCrossover.cs" />
    145     <Compile Include="PriorityRulesVector\Crossovers\PRVDiscreteCrossover.cs" />
    146     <Compile Include="PriorityRulesVector\Crossovers\PRVSinglePointCrossover.cs" />
    147     <Compile Include="PriorityRulesVector\Manipulators\PRVManipulator.cs" />
    148     <Compile Include="PriorityRulesVector\Manipulators\PRVUniformOnePositionManipulator.cs" />
    149     <Compile Include="PriorityRulesVector\PRVEncoding.cs" />
    150     <Compile Include="PriorityRulesVector\PRVRandomCreator.cs" />
    151     <Compile Include="Properties\AssemblyInfo.cs" />
    152     <Compile Include="ScheduleEncoding\Crossovers\DirectScheduleCrossover.cs" />
    153     <Compile Include="ScheduleEncoding\Crossovers\DirectScheduleGTCrossover.cs" />
    154     <Compile Include="ScheduleEncoding\GTAlgorithmUtils.cs" />
    155     <Compile Include="ScheduleEncoding\Job.cs" />
    156     <Compile Include="ScheduleEncoding\Manipulators\DirectScheduleManipulator.cs" />
    157     <Compile Include="ScheduleEncoding\DirectScheduleRandomCreator.cs" />
    158     <Compile Include="ScheduleEncoding\Resource.cs" />
    159     <Compile Include="ScheduleEncoding\Schedule.cs" />
    160     <Compile Include="ScheduleEncoding\ScheduledTask.cs" />
    161     <Compile Include="ScheduleCreator.cs" />
    162     <Compile Include="ScheduleCrossover.cs" />
    163     <Compile Include="ScheduleEncoding\Task.cs" />
    164     <Compile Include="ScheduleManipulator.cs" />
     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.Encodings.IntegerVectorEncoding\3.3\HeuristicLab.Encodings.IntegerVectorEncoding-3.3.csproj" />
     23    <ProjectReference Include="..\..\HeuristicLab.Encodings.PermutationEncoding\3.3\HeuristicLab.Encodings.PermutationEncoding-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" />
    16529  </ItemGroup>
    166   <ItemGroup>
    167     <None Include="HeuristicLab.snk" />
    168     <None Include="Plugin.cs.frame" />
    169     <None Include="Properties\AssemblyInfo.cs.frame" />
    170   </ItemGroup>
    171   <ItemGroup>
    172     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    173       <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    174       <Name>HeuristicLab.Collections-3.3</Name>
    175       <Private>False</Private>
    176     </ProjectReference>
    177     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    178       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    179       <Name>HeuristicLab.Common-3.3</Name>
    180       <Private>False</Private>
    181     </ProjectReference>
    182     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    183       <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    184       <Name>HeuristicLab.Core-3.3</Name>
    185       <Private>False</Private>
    186     </ProjectReference>
    187     <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
    188       <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
    189       <Name>HeuristicLab.Data-3.3</Name>
    190       <Private>False</Private>
    191     </ProjectReference>
    192     <ProjectReference Include="..\..\HeuristicLab.Encodings.IntegerVectorEncoding\3.3\HeuristicLab.Encodings.IntegerVectorEncoding-3.3.csproj">
    193       <Project>{DDFB14DD-2A85-493C-A52D-E69729BBAEB0}</Project>
    194       <Name>HeuristicLab.Encodings.IntegerVectorEncoding-3.3</Name>
    195       <Private>False</Private>
    196     </ProjectReference>
    197     <ProjectReference Include="..\..\HeuristicLab.Encodings.PermutationEncoding\3.3\HeuristicLab.Encodings.PermutationEncoding-3.3.csproj">
    198       <Project>{DBECB8B0-B166-4133-BAF1-ED67C3FD7FCA}</Project>
    199       <Name>HeuristicLab.Encodings.PermutationEncoding-3.3</Name>
    200       <Private>False</Private>
    201     </ProjectReference>
    202     <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
    203       <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project>
    204       <Name>HeuristicLab.Operators-3.3</Name>
    205       <Private>False</Private>
    206     </ProjectReference>
    207     <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
    208       <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
    209       <Name>HeuristicLab.Optimization-3.3</Name>
    210       <Private>False</Private>
    211     </ProjectReference>
    212     <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
    213       <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
    214       <Name>HeuristicLab.Parameters-3.3</Name>
    215       <Private>False</Private>
    216     </ProjectReference>
    217     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    218       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    219       <Name>HeuristicLab.Persistence-3.3</Name>
    220       <Private>False</Private>
    221     </ProjectReference>
    222     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    223       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    224       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    225       <Private>False</Private>
    226     </ProjectReference>
    227   </ItemGroup>
    228   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    229   <PropertyGroup>
    230     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    231 set ProjectDir=$(ProjectDir)
    232 set SolutionDir=$(SolutionDir)
    233 set Outdir=$(Outdir)
    234 
    235 call PreBuildEvent.cmd
    236 </PreBuildEvent>
    237     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    238 export ProjectDir=$(ProjectDir)
    239 export SolutionDir=$(SolutionDir)
    240 
    241 $SolutionDir/PreBuildEvent.sh
    242 </PreBuildEvent>
     30  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     31    <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" />
     32  </Target>
     33  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     34    <OutputPath>..\..\bin\</OutputPath>
     35    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    24336  </PropertyGroup>
    244   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    245        Other similar extension points exist, see Microsoft.Common.targets.
    246   <Target Name="BeforeBuild">
    247   </Target>
    248   <Target Name="AfterBuild">
    249   </Target>
    250   -->
    25137</Project>
Note: See TracChangeset for help on using the changeset viewer.