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

Legend:

Unmodified
Added
Removed
  • branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.GeneticProgramming/3.3/HeuristicLab.Problems.GeneticProgramming-3.3.csproj

    r13210 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>{02CDDBF5-42A7-4C40-AE6C-E5D29AC9CCEC}</ProjectGuid>
    9     <OutputType>Library</OutputType>
    10     <AppDesignerFolder>Properties</AppDesignerFolder>
    11     <RootNamespace>HeuristicLab.Problems.GeneticProgramming</RootNamespace>
    12     <AssemblyName>HeuristicLab.Problems.GeneticProgramming-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|x64' ">
    61     <DebugSymbols>true</DebugSymbols>
    62     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    63     <DefineConstants>DEBUG;TRACE</DefineConstants>
    64     <DebugType>full</DebugType>
    65     <PlatformTarget>x64</PlatformTarget>
    66     <ErrorReport>prompt</ErrorReport>
    67     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    68     <Prefer32Bit>false</Prefer32Bit>
    69   </PropertyGroup>
    70   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
    71     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    72     <DefineConstants>TRACE</DefineConstants>
    73     <Optimize>true</Optimize>
    74     <DebugType>pdbonly</DebugType>
    75     <PlatformTarget>x64</PlatformTarget>
    76     <ErrorReport>prompt</ErrorReport>
    77     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    78     <Prefer32Bit>false</Prefer32Bit>
    79   </PropertyGroup>
    80   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    81     <DebugSymbols>true</DebugSymbols>
    82     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    83     <DefineConstants>DEBUG;TRACE</DefineConstants>
    84     <DebugType>full</DebugType>
    85     <PlatformTarget>x86</PlatformTarget>
    86     <ErrorReport>prompt</ErrorReport>
    87     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    88     <Prefer32Bit>false</Prefer32Bit>
    89   </PropertyGroup>
    90   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    91     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    92     <DefineConstants>TRACE</DefineConstants>
    93     <Optimize>true</Optimize>
    94     <DebugType>pdbonly</DebugType>
    95     <PlatformTarget>x86</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.Problems.GeneticProgramming</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.Drawing" />
    106     <Reference Include="System.IO.Compression" />
    107     <Reference Include="System.IO.Compression.FileSystem" />
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
    10816  </ItemGroup>
    10917  <ItemGroup>
    110     <Compile Include="ArtificialAnt\Interpreter.cs" />
    111     <Compile Include="ArtificialAnt\Problem.cs" />
    112     <Compile Include="ArtificialAnt\Trail.cs" />
    113     <Compile Include="BasicSymbolicRegression\Problem.cs" />
    114     <Compile Include="Boolean\MultiplexerProblem.cs" />
    115     <Compile Include="Boolean\EvenParityProblem.cs" />
    116     <Compile Include="LawnMower\Interpreter.cs" />
    117     <Compile Include="LawnMower\Problem.cs" />
    118     <Compile Include="LawnMower\Solution.cs" />
    119     <Compile Include="Plugin.cs" />
    120     <Compile Include="Properties\AssemblyInfo.cs" />
    121     <Compile Include="robocode\EnemyCollection.cs" />
    122     <Compile Include="robocode\Grammar.cs" />
    123     <Compile Include="robocode\Interpreter.cs" />
    124     <Compile Include="robocode\Problem.cs" />
    125     <Compile Include="robocode\Solution.cs" />
    126     <Compile Include="robocode\Symbols\BooleanTreeNode.cs" />
    127     <Compile Include="robocode\Symbols\BooleanValue.cs" />
    128     <Compile Include="robocode\Symbols\CodeSymbol.cs" />
    129     <Compile Include="robocode\Symbols\Number.cs" />
    130     <Compile Include="robocode\Symbols\NumberTreeNode.cs" />
    131     <Compile Include="robocode\Symbols\ShotPower.cs" />
    132     <Compile Include="robocode\Symbols\ShotPowerTreeNode.cs" />
     18    <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj" />
     19    <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-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.SymbolicExpressionTreeEncoding\3.4\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4.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.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj" />
     30    <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj" />
     31    <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj" />
    13332  </ItemGroup>
    13433  <ItemGroup>
    135     <None Include="HeuristicLab.snk" />
    136     <None Include="Plugin.cs.frame" />
    137     <None Include="Properties\AssemblyInfo.cs.frame" />
    138     <None Include="robocode\BattleObserver.class">
     34    <None Update="robocode\BattleObserver.class">
    13935      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    14036    </None>
    141     <None Include="robocode\BattleRunner.class">
     37    <None Update="robocode\BattleRunner.class">
    14238      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    14339    </None>
    144     <None Include="robocode\robocode.zip">
     40    <None Update="robocode\robocode.zip">
    14541      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    14642    </None>
    14743  </ItemGroup>
    148   <ItemGroup>
    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.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">
    155       <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>
    156       <Name>HeuristicLab.Common.Resources-3.3</Name>
    157       <Private>False</Private>
    158     </ProjectReference>
    159     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    160       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    161       <Name>HeuristicLab.Common-3.3</Name>
    162       <Private>False</Private>
    163     </ProjectReference>
    164     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    165       <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    166       <Name>HeuristicLab.Core-3.3</Name>
    167       <Private>False</Private>
    168     </ProjectReference>
    169     <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
    170       <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
    171       <Name>HeuristicLab.Data-3.3</Name>
    172       <Private>False</Private>
    173     </ProjectReference>
    174     <ProjectReference Include="..\..\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding\3.4\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4.csproj">
    175       <Project>{06D4A186-9319-48A0-BADE-A2058D462EEA}</Project>
    176       <Name>HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4</Name>
    177       <Private>False</Private>
    178     </ProjectReference>
    179     <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
    180       <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project>
    181       <Name>HeuristicLab.Operators-3.3</Name>
    182       <Private>False</Private>
    183     </ProjectReference>
    184     <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
    185       <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
    186       <Name>HeuristicLab.Optimization-3.3</Name>
    187       <Private>False</Private>
    188     </ProjectReference>
    189     <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
    190       <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
    191       <Name>HeuristicLab.Parameters-3.3</Name>
    192       <Private>False</Private>
    193     </ProjectReference>
    194     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    195       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    196       <Name>HeuristicLab.Persistence-3.3</Name>
    197       <Private>False</Private>
    198     </ProjectReference>
    199     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    200       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    201       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    202       <Private>False</Private>
    203     </ProjectReference>
    204     <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj">
    205       <Project>{DF87C13E-A889-46FF-8153-66DCAA8C5674}</Project>
    206       <Name>HeuristicLab.Problems.DataAnalysis-3.4</Name>
    207       <Private>False</Private>
    208     </ProjectReference>
    209     <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj">
    210       <Project>{3540E29E-4793-49E7-8EE2-FEA7F61C3994}</Project>
    211       <Name>HeuristicLab.Problems.Instances-3.3</Name>
    212       <Private>False</Private>
    213     </ProjectReference>
    214     <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj">
    215       <Project>{f4539fb6-4708-40c9-be64-0a1390aea197}</Project>
    216       <Name>HeuristicLab.Random-3.3</Name>
    217       <Private>False</Private>
    218     </ProjectReference>
    219   </ItemGroup>
    220   <ItemGroup>
    221     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
    222       <Visible>False</Visible>
    223       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
    224       <Install>false</Install>
    225     </BootstrapperPackage>
    226     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
    227       <Visible>False</Visible>
    228       <ProductName>.NET Framework 3.5 SP1</ProductName>
    229       <Install>true</Install>
    230     </BootstrapperPackage>
    231     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
    232       <Visible>False</Visible>
    233       <ProductName>Windows Installer 3.1</ProductName>
    234       <Install>true</Install>
    235     </BootstrapperPackage>
    236   </ItemGroup>
    237   <ItemGroup>
    238     <Content Include="robocode\BattleRunner.java" />
    239   </ItemGroup>
    240   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    241   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    242        Other similar extension points exist, see Microsoft.Common.targets.
    243   <Target Name="BeforeBuild">
     44  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     45    <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" />
    24446  </Target>
    245   <Target Name="AfterBuild">
    246   </Target>
    247   -->
    248   <PropertyGroup>
    249     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    250 set ProjectDir=$(ProjectDir)
    251 set SolutionDir=$(SolutionDir)
    252 set Outdir=$(Outdir)
    253 
    254 call PreBuildEvent.cmd
    255 </PreBuildEvent>
    256     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    257 export ProjectDir=$(ProjectDir)
    258 export SolutionDir=$(SolutionDir)
    259 
    260 $SolutionDir/PreBuildEvent.sh
    261 </PreBuildEvent>
     47  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     48    <OutputPath>..\..\bin\</OutputPath>
     49    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    26250  </PropertyGroup>
    26351</Project>
Note: See TracChangeset for help on using the changeset viewer.