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

Legend:

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

    r13164 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>9.0.30729</ProductVersion>
    7     <SchemaVersion>2.0</SchemaVersion>
    8     <ProjectGuid>{1D41EAE6-CC79-41D4-858C-589C4DB5E50D}</ProjectGuid>
    9     <OutputType>Library</OutputType>
    10     <AppDesignerFolder>Properties</AppDesignerFolder>
    11     <RootNamespace>HeuristicLab.Algorithms.OffspringSelectionEvolutionStrategy</RootNamespace>
    12     <AssemblyName>HeuristicLab.Algorithms.OffspringSelectionEvolutionStrategy-3.3</AssemblyName>
    13     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    14     <TargetFrameworkProfile>
    15     </TargetFrameworkProfile>
    16     <FileAlignment>512</FileAlignment>
     4    <TargetFramework>netstandard2.0</TargetFramework>
     5    <Copyright>(c) 2002-2018 HEAL</Copyright>
     6    <Product>HeuristicLab</Product>
    177    <SignAssembly>true</SignAssembly>
    188    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
    19     <FileUpgradeFlags>
    20     </FileUpgradeFlags>
    21     <OldToolsVersion>3.5</OldToolsVersion>
    22     <UpgradeBackupLocation />
    23     <PublishUrl>publish\</PublishUrl>
    24     <Install>true</Install>
    25     <InstallFrom>Disk</InstallFrom>
    26     <UpdateEnabled>false</UpdateEnabled>
    27     <UpdateMode>Foreground</UpdateMode>
    28     <UpdateInterval>7</UpdateInterval>
    29     <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    30     <UpdatePeriodically>false</UpdatePeriodically>
    31     <UpdateRequired>false</UpdateRequired>
    32     <MapFileExtensions>true</MapFileExtensions>
    33     <ApplicationRevision>0</ApplicationRevision>
    34     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
    35     <IsWebBootstrapper>false</IsWebBootstrapper>
    36     <UseApplicationTrust>false</UseApplicationTrust>
    37     <BootstrapperEnabled>true</BootstrapperEnabled>
    38   </PropertyGroup>
    39   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    40     <DebugSymbols>true</DebugSymbols>
    41     <DebugType>full</DebugType>
    42     <Optimize>false</Optimize>
    43     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    44     <DefineConstants>DEBUG;TRACE</DefineConstants>
    45     <ErrorReport>prompt</ErrorReport>
    46     <WarningLevel>4</WarningLevel>
    47     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    48     <Prefer32Bit>false</Prefer32Bit>
    49   </PropertyGroup>
    50   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    51     <DebugType>pdbonly</DebugType>
    52     <Optimize>true</Optimize>
    53     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    54     <DefineConstants>TRACE</DefineConstants>
    55     <ErrorReport>prompt</ErrorReport>
    56     <WarningLevel>4</WarningLevel>
    57     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    58     <Prefer32Bit>false</Prefer32Bit>
    59   </PropertyGroup>
    60   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    61     <DebugSymbols>true</DebugSymbols>
    62     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    63     <DefineConstants>DEBUG;TRACE</DefineConstants>
    64     <DebugType>full</DebugType>
    65     <PlatformTarget>x86</PlatformTarget>
    66     <ErrorReport>prompt</ErrorReport>
    67     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    68     <Prefer32Bit>false</Prefer32Bit>
    69   </PropertyGroup>
    70   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    71     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    72     <DefineConstants>TRACE</DefineConstants>
    73     <Optimize>true</Optimize>
    74     <DebugType>pdbonly</DebugType>
    75     <PlatformTarget>x86</PlatformTarget>
    76     <ErrorReport>prompt</ErrorReport>
    77     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    78     <Prefer32Bit>false</Prefer32Bit>
    79   </PropertyGroup>
    80   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
    81     <DebugSymbols>true</DebugSymbols>
    82     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    83     <DefineConstants>DEBUG;TRACE</DefineConstants>
    84     <DebugType>full</DebugType>
    85     <PlatformTarget>x64</PlatformTarget>
    86     <ErrorReport>prompt</ErrorReport>
    87     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    88     <Prefer32Bit>false</Prefer32Bit>
    89   </PropertyGroup>
    90   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
    91     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    92     <DefineConstants>TRACE</DefineConstants>
    93     <Optimize>true</Optimize>
    94     <DebugType>pdbonly</DebugType>
    95     <PlatformTarget>x64</PlatformTarget>
    96     <ErrorReport>prompt</ErrorReport>
    97     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    98     <Prefer32Bit>false</Prefer32Bit>
     9    <AssemblyVersion>3.3.0.0</AssemblyVersion>
     10    <AssemblyFileVersion>3.3.15.0</AssemblyFileVersion>
     11    <RootNamespace>HeuristicLab.Algorithms.OffspringSelectionEvolutionStrategy</RootNamespace>
    9912  </PropertyGroup>
    10013  <ItemGroup>
    101     <Reference Include="System" />
    102     <Reference Include="System.Core">
    103       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    104     </Reference>
    105     <Reference Include="System.Xml.Linq">
    106       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    107     </Reference>
    108     <Reference Include="System.Data.DataSetExtensions">
    109       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    110     </Reference>
    111     <Reference Include="System.Data" />
    112     <Reference Include="System.Xml" />
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
    11316  </ItemGroup>
    11417  <ItemGroup>
    115     <Compile Include="Plugin.cs" />
    116     <Compile Include="Properties\AssemblyInfo.cs" />
    117     <Compile Include="OffspringSelectionEvolutionStrategy.cs" />
    118     <Compile Include="OffspringSelectionEvolutionStrategyMainLoop.cs" />
    119     <Compile Include="WithoutRepeatingBatchedRandomSelector.cs" />
     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.Operators\3.3\HeuristicLab.Operators-3.3.csproj" />
     24    <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.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.Random\3.3\HeuristicLab.Random-3.3.csproj" />
     30    <ProjectReference Include="..\..\HeuristicLab.Selection\3.3\HeuristicLab.Selection-3.3.csproj" />
    12031  </ItemGroup>
    121   <ItemGroup>
    122     <None Include="HeuristicLab.snk" />
    123     <None Include="Plugin.cs.frame" />
    124     <None Include="Properties\AssemblyInfo.cs.frame" />
    125   </ItemGroup>
    126   <ItemGroup>
    127     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
    128       <Visible>False</Visible>
    129       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
    130       <Install>false</Install>
    131     </BootstrapperPackage>
    132     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
    133       <Visible>False</Visible>
    134       <ProductName>.NET Framework 3.5 SP1</ProductName>
    135       <Install>true</Install>
    136     </BootstrapperPackage>
    137     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
    138       <Visible>False</Visible>
    139       <ProductName>Windows Installer 3.1</ProductName>
    140       <Install>true</Install>
    141     </BootstrapperPackage>
    142   </ItemGroup>
    143   <ItemGroup>
    144     <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj">
    145       <Project>{887425b4-4348-49ed-a457-b7d2c26ddbf9}</Project>
    146       <Name>HeuristicLab.Analysis-3.3</Name>
    147       <Private>False</Private>
    148     </ProjectReference>
    149     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    150       <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    151       <Name>HeuristicLab.Collections-3.3</Name>
    152       <Private>False</Private>
    153     </ProjectReference>
    154     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    155       <Project>{a9ad58b9-3ef9-4cc1-97e5-8d909039ff5c}</Project>
    156       <Name>HeuristicLab.Common-3.3</Name>
    157       <Private>False</Private>
    158     </ProjectReference>
    159     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    160       <Project>{c36bd924-a541-4a00-afa8-41701378ddc5}</Project>
    161       <Name>HeuristicLab.Core-3.3</Name>
    162       <Private>False</Private>
    163     </ProjectReference>
    164     <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
    165       <Project>{bbab9df5-5ef3-4ba8-ade9-b36e82114937}</Project>
    166       <Name>HeuristicLab.Data-3.3</Name>
    167       <Private>False</Private>
    168     </ProjectReference>
    169     <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
    170       <Project>{23da7ff4-d5b8-41b6-aa96-f0561d24f3ee}</Project>
    171       <Name>HeuristicLab.Operators-3.3</Name>
    172       <Private>False</Private>
    173     </ProjectReference>
    174     <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
    175       <Project>{25087811-f74c-4128-bc86-8324271da13e}</Project>
    176       <Name>HeuristicLab.Optimization.Operators-3.3</Name>
    177       <Private>False</Private>
    178     </ProjectReference>
    179     <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
    180       <Project>{14ab8d24-25bc-400c-a846-4627aa945192}</Project>
    181       <Name>HeuristicLab.Optimization-3.3</Name>
    182       <Private>False</Private>
    183     </ProjectReference>
    184     <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
    185       <Project>{56f9106a-079f-4c61-92f6-86a84c2d84b7}</Project>
    186       <Name>HeuristicLab.Parameters-3.3</Name>
    187       <Private>False</Private>
    188     </ProjectReference>
    189     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    190       <Project>{102bc7d3-0ef9-439c-8f6d-96ff0fdb8e1b}</Project>
    191       <Name>HeuristicLab.Persistence-3.3</Name>
    192       <Private>False</Private>
    193     </ProjectReference>
    194     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    195       <Project>{94186a6a-5176-4402-ae83-886557b53cca}</Project>
    196       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    197       <Private>False</Private>
    198     </ProjectReference>
    199     <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj">
    200       <Project>{f4539fb6-4708-40c9-be64-0a1390aea197}</Project>
    201       <Name>HeuristicLab.Random-3.3</Name>
    202       <Private>False</Private>
    203     </ProjectReference>
    204     <ProjectReference Include="..\..\HeuristicLab.Selection\3.3\HeuristicLab.Selection-3.3.csproj">
    205       <Project>{2c36cd4f-e5f5-43a4-801a-201ea895fe17}</Project>
    206       <Name>HeuristicLab.Selection-3.3</Name>
    207       <Private>False</Private>
    208     </ProjectReference>
    209   </ItemGroup>
    210   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    211   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    212        Other similar extension points exist, see Microsoft.Common.targets.
    213   <Target Name="BeforeBuild">
     32  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     33    <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" />
    21434  </Target>
    215   <Target Name="AfterBuild">
    216   </Target>
    217   -->
    218   <PropertyGroup>
    219     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    220 set ProjectDir=$(ProjectDir)
    221 set SolutionDir=$(SolutionDir)
    222 set Outdir=$(Outdir)
    223 
    224 call PreBuildEvent.cmd
    225 </PreBuildEvent>
    226     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    227 export ProjectDir=$(ProjectDir)
    228 export SolutionDir=$(SolutionDir)
    229 
    230 $SolutionDir/PreBuildEvent.sh
    231 </PreBuildEvent>
     35  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     36    <OutputPath>..\..\bin\</OutputPath>
     37    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    23238  </PropertyGroup>
    23339</Project>
Note: See TracChangeset for help on using the changeset viewer.