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

Legend:

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

    r11623 r16143  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
     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>{A51DA44F-CB35-4F6F-99F5-2A2E904AB93B}</ProjectGuid>
    9     <OutputType>Library</OutputType>
    10     <AppDesignerFolder>Properties</AppDesignerFolder>
    11     <RootNamespace>HeuristicLab.Algorithms.GeneticAlgorithm</RootNamespace>
    12     <AssemblyName>HeuristicLab.Algorithms.GeneticAlgorithm-3.3</AssemblyName>
     4    <TargetFramework>netstandard2.0</TargetFramework>
     5    <Copyright>(c) 2002-2018 HEAL</Copyright>
     6    <Product>HeuristicLab</Product>
    137    <SignAssembly>true</SignAssembly>
    148    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
    15     <FileUpgradeFlags>
    16     </FileUpgradeFlags>
    17     <OldToolsVersion>3.5</OldToolsVersion>
    18     <UpgradeBackupLocation>
    19     </UpgradeBackupLocation>
    20     <StartupObject>
    21     </StartupObject>
    22     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    23     <TargetFrameworkProfile>
    24     </TargetFrameworkProfile>
    25     <PublishUrl>publish\</PublishUrl>
    26     <Install>true</Install>
    27     <InstallFrom>Disk</InstallFrom>
    28     <UpdateEnabled>false</UpdateEnabled>
    29     <UpdateMode>Foreground</UpdateMode>
    30     <UpdateInterval>7</UpdateInterval>
    31     <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    32     <UpdatePeriodically>false</UpdatePeriodically>
    33     <UpdateRequired>false</UpdateRequired>
    34     <MapFileExtensions>true</MapFileExtensions>
    35     <ApplicationRevision>0</ApplicationRevision>
    36     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
    37     <IsWebBootstrapper>false</IsWebBootstrapper>
    38     <UseApplicationTrust>false</UseApplicationTrust>
    39     <BootstrapperEnabled>true</BootstrapperEnabled>
    40   </PropertyGroup>
    41   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    42     <DebugSymbols>true</DebugSymbols>
    43     <DebugType>full</DebugType>
    44     <Optimize>false</Optimize>
    45     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    46     <DefineConstants>DEBUG;TRACE</DefineConstants>
    47     <ErrorReport>prompt</ErrorReport>
    48     <WarningLevel>4</WarningLevel>
    49     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    50     <Prefer32Bit>false</Prefer32Bit>
    51   </PropertyGroup>
    52   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    53     <DebugType>pdbonly</DebugType>
    54     <Optimize>true</Optimize>
    55     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    56     <DefineConstants>TRACE</DefineConstants>
    57     <ErrorReport>prompt</ErrorReport>
    58     <WarningLevel>4</WarningLevel>
    59     <DocumentationFile>
    60     </DocumentationFile>
    61     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    62     <Prefer32Bit>false</Prefer32Bit>
    63   </PropertyGroup>
    64   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    65     <DebugSymbols>true</DebugSymbols>
    66     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    67     <DefineConstants>DEBUG;TRACE</DefineConstants>
    68     <DebugType>full</DebugType>
    69     <PlatformTarget>x86</PlatformTarget>
    70     <ErrorReport>prompt</ErrorReport>
    71     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    72     <Prefer32Bit>false</Prefer32Bit>
    73   </PropertyGroup>
    74   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    75     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    76     <DefineConstants>TRACE</DefineConstants>
    77     <DocumentationFile>
    78     </DocumentationFile>
    79     <Optimize>true</Optimize>
    80     <DebugType>pdbonly</DebugType>
    81     <PlatformTarget>x86</PlatformTarget>
    82     <ErrorReport>prompt</ErrorReport>
    83     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    84     <Prefer32Bit>false</Prefer32Bit>
    85   </PropertyGroup>
    86   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
    87     <DebugSymbols>true</DebugSymbols>
    88     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    89     <DefineConstants>DEBUG;TRACE</DefineConstants>
    90     <DebugType>full</DebugType>
    91     <PlatformTarget>x64</PlatformTarget>
    92     <ErrorReport>prompt</ErrorReport>
    93     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    94     <Prefer32Bit>false</Prefer32Bit>
    95   </PropertyGroup>
    96   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
    97     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    98     <DefineConstants>TRACE</DefineConstants>
    99     <DocumentationFile>
    100     </DocumentationFile>
    101     <Optimize>true</Optimize>
    102     <DebugType>pdbonly</DebugType>
    103     <PlatformTarget>x64</PlatformTarget>
    104     <ErrorReport>prompt</ErrorReport>
    105     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    106     <Prefer32Bit>false</Prefer32Bit>
     9    <AssemblyVersion>3.3.0.0</AssemblyVersion>
     10    <AssemblyFileVersion>3.3.15.0</AssemblyFileVersion>
     11    <RootNamespace>HeuristicLab.Algorithms.GeneticAlgorithm</RootNamespace>
    10712  </PropertyGroup>
    10813  <ItemGroup>
    109     <Reference Include="System" />
    110     <Reference Include="System.Core">
    111       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    112     </Reference>
    113     <Reference Include="System.Data" />
    114     <Reference Include="System.Xml" />
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
    11516  </ItemGroup>
    11617  <ItemGroup>
    117     <Compile Include="GeneticAlgorithm.cs" />
    118     <Compile Include="GeneticAlgorithmMainLoop.cs" />
    119     <Compile Include="IslandGeneticAlgorithm.cs" />
    120     <Compile Include="IslandGeneticAlgorithmMainLoop.cs" />
    121     <Compile Include="Plugin.cs" />
    122     <Compile Include="Properties\AssemblyInfo.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" />
    12331  </ItemGroup>
    124   <ItemGroup>
    125     <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj">
    126       <Project>{887425B4-4348-49ED-A457-B7D2C26DDBF9}</Project>
    127       <Name>HeuristicLab.Analysis-3.3</Name>
    128       <Private>False</Private>
    129     </ProjectReference>
    130     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    131       <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    132       <Name>HeuristicLab.Collections-3.3</Name>
    133       <Private>False</Private>
    134     </ProjectReference>
    135     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    136       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    137       <Name>HeuristicLab.Common-3.3</Name>
    138       <Private>False</Private>
    139     </ProjectReference>
    140     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    141       <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    142       <Name>HeuristicLab.Core-3.3</Name>
    143       <Private>False</Private>
    144     </ProjectReference>
    145     <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
    146       <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
    147       <Name>HeuristicLab.Data-3.3</Name>
    148       <Private>False</Private>
    149     </ProjectReference>
    150     <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
    151       <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project>
    152       <Name>HeuristicLab.Operators-3.3</Name>
    153       <Private>False</Private>
    154     </ProjectReference>
    155     <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
    156       <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project>
    157       <Name>HeuristicLab.Optimization.Operators-3.3</Name>
    158       <Private>False</Private>
    159     </ProjectReference>
    160     <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
    161       <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
    162       <Name>HeuristicLab.Optimization-3.3</Name>
    163       <Private>False</Private>
    164     </ProjectReference>
    165     <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
    166       <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
    167       <Name>HeuristicLab.Parameters-3.3</Name>
    168       <Private>False</Private>
    169     </ProjectReference>
    170     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    171       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    172       <Name>HeuristicLab.Persistence-3.3</Name>
    173       <Private>False</Private>
    174     </ProjectReference>
    175     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    176       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    177       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    178       <Private>False</Private>
    179     </ProjectReference>
    180     <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj">
    181       <Project>{F4539FB6-4708-40C9-BE64-0A1390AEA197}</Project>
    182       <Name>HeuristicLab.Random-3.3</Name>
    183       <Private>False</Private>
    184     </ProjectReference>
    185     <ProjectReference Include="..\..\HeuristicLab.Selection\3.3\HeuristicLab.Selection-3.3.csproj">
    186       <Project>{2C36CD4F-E5F5-43A4-801A-201EA895FE17}</Project>
    187       <Name>HeuristicLab.Selection-3.3</Name>
    188       <Private>False</Private>
    189     </ProjectReference>
    190   </ItemGroup>
    191   <ItemGroup>
    192     <None Include="HeuristicLab.snk" />
    193     <None Include="Plugin.cs.frame" />
    194     <None Include="Properties\AssemblyInfo.cs.frame" />
    195   </ItemGroup>
    196   <ItemGroup>
    197     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
    198       <Visible>False</Visible>
    199       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
    200       <Install>false</Install>
    201     </BootstrapperPackage>
    202     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
    203       <Visible>False</Visible>
    204       <ProductName>.NET Framework 3.5 SP1</ProductName>
    205       <Install>true</Install>
    206     </BootstrapperPackage>
    207     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
    208       <Visible>False</Visible>
    209       <ProductName>Windows Installer 3.1</ProductName>
    210       <Install>true</Install>
    211     </BootstrapperPackage>
    212   </ItemGroup>
    213   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
    214   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    215        Other similar extension points exist, see Microsoft.Common.targets.
    216   <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" />
    21734  </Target>
    218   <Target Name="AfterBuild">
    219   </Target>
    220   -->
    221   <PropertyGroup>
    222     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    223 set ProjectDir=$(ProjectDir)
    224 set SolutionDir=$(SolutionDir)
    225 set Outdir=$(Outdir)
    226 
    227 call PreBuildEvent.cmd
    228 </PreBuildEvent>
    229     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    230 export ProjectDir=$(ProjectDir)
    231 export SolutionDir=$(SolutionDir)
    232 
    233 $SolutionDir/PreBuildEvent.sh
    234 </PreBuildEvent>
     35  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     36    <OutputPath>..\..\bin\</OutputPath>
     37    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
     38    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    23539  </PropertyGroup>
    23640</Project>
Note: See TracChangeset for help on using the changeset viewer.