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

Legend:

Unmodified
Added
Removed
  • branches/2522_RefactorPluginInfrastructure/HeuristicLab.Problems.ExternalEvaluation/3.4/HeuristicLab.Problems.ExternalEvaluation-3.4.csproj

    r13183 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>{8A0B2A2B-47A7-410D-97A0-4296293BB00D}</ProjectGuid>
    9     <OutputType>Library</OutputType>
    10     <AppDesignerFolder>Properties</AppDesignerFolder>
    11     <RootNamespace>HeuristicLab.Problems.ExternalEvaluation</RootNamespace>
    12     <AssemblyName>HeuristicLab.Problems.ExternalEvaluation-3.4</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     <DocumentationFile>
    78     </DocumentationFile>
    79     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    80     <Prefer32Bit>false</Prefer32Bit>
    81   </PropertyGroup>
    82   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
    83     <DebugSymbols>true</DebugSymbols>
    84     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    85     <DefineConstants>DEBUG;TRACE</DefineConstants>
    86     <DebugType>full</DebugType>
    87     <PlatformTarget>x64</PlatformTarget>
    88     <ErrorReport>prompt</ErrorReport>
    89     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    90     <Prefer32Bit>false</Prefer32Bit>
    91   </PropertyGroup>
    92   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
    93     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    94     <DefineConstants>TRACE</DefineConstants>
    95     <Optimize>true</Optimize>
    96     <DebugType>pdbonly</DebugType>
    97     <PlatformTarget>x64</PlatformTarget>
    98     <ErrorReport>prompt</ErrorReport>
    99     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    100     <Prefer32Bit>false</Prefer32Bit>
     9    <AssemblyVersion>3.4.0.0</AssemblyVersion>
     10    <AssemblyFileVersion>3.4.25.0</AssemblyFileVersion>
     11    <RootNamespace>HeuristicLab.Problems.ExternalEvaluation</RootNamespace>
    10112  </PropertyGroup>
    10213  <ItemGroup>
    103     <Reference Include="Google.ProtocolBuffers-2.4.1.473, Version=2.4.1.473">
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
     16  </ItemGroup>
     17  <ItemGroup>
     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.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj" />
     21    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj" />
     22    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj" />
     23    <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj" />
     24    <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj" />
     25    <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj" />
     26    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj" />
     27    <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj" />
     28    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj" />
     29    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj" />
     30    <ProjectReference Include="..\..\HeuristicLab.Scripting\3.3\HeuristicLab.Scripting-3.3.csproj" />
     31  </ItemGroup>
     32  <ItemGroup>
     33    <Reference Include="Google.ProtocolBuffers-2.4.1.473, Version=2.4.1.473" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    10434      <HintPath>..\..\bin\Google.ProtocolBuffers-2.4.1.473.dll</HintPath>
    10535      <Private>False</Private>
    10636    </Reference>
    107     <Reference Include="System" />
    108     <Reference Include="System.Core">
    109       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    110     </Reference>
    111     <Reference Include="System.Drawing" />
    112     <Reference Include="System.Windows.Forms" />
    113     <Reference Include="System.Xml.Linq">
    114       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    115     </Reference>
    116     <Reference Include="System.Data.DataSetExtensions">
    117       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    118     </Reference>
    119     <Reference Include="System.Data" />
    120     <Reference Include="System.Xml" />
    12137  </ItemGroup>
    122   <ItemGroup>
    123     <None Include="Plugin.cs.frame" />
    124     <Compile Include="Converters\BoolConverter.cs" />
    125     <Compile Include="Converters\TimeSpanValueConverter.cs" />
    126     <Compile Include="Converters\DateTimeValueConverter.cs" />
    127     <Compile Include="Converters\DoubleConverter.cs" />
    128     <Compile Include="Converters\IntegerConverter.cs" />
    129     <Compile Include="Converters\StringConverter.cs" />
    130     <Compile Include="EvaluationCache.cs" />
    131     <Compile Include="Drivers\EvaluationServiceClient.cs" />
    132     <Compile Include="Drivers\EvaluationChannel.cs" />
    133     <Compile Include="Drivers\EvaluationProcessChannel.cs" />
    134     <Compile Include="Drivers\EvaluationStreamChannel.cs" />
    135     <Compile Include="Drivers\EvaluationTCPChannel.cs" />
    136     <Compile Include="Interfaces\IExternalEvaluationProblem.cs" />
    137     <Compile Include="Interfaces\IMultiObjectiveOptimizationSupport.cs" />
    138     <Compile Include="MultiObjectiveExternalEvaluationProblem.cs" />
    139     <Compile Include="ExternalEvaluationProblem.cs" />
    140     <Compile Include="Interfaces\IEvaluationServiceClient.cs" />
    141     <Compile Include="Interfaces\IEvaluationChannel.cs" />
    142     <Compile Include="Interfaces\IItemToSolutionMessageConverter.cs" />
    143     <Compile Include="Interfaces\ISingleObjectiveOptimizationSupport.cs" />
    144     <Compile Include="Plugin.cs" />
    145     <Compile Include="Programmable\CompiledOptimizationSupport.cs" />
    146     <Compile Include="Programmable\CompiledMultiObjectiveOptimizationSupport.cs" />
    147     <Compile Include="Programmable\CompiledSingleObjectiveOptimizationSupport.cs" />
    148     <Compile Include="Programmable\MultiObjectiveOptimizationSupportScript.cs" />
    149     <Compile Include="Programmable\OptimizationSupportScript.cs" />
    150     <Compile Include="Programmable\SingleObjectiveOptimizationSupportScript.cs" />
    151     <Compile Include="Programmable\OptimizationSupportScriptException.cs" />
    152     <Compile Include="Programmable\Templates.Designer.cs">
    153       <AutoGen>True</AutoGen>
    154       <DesignTime>True</DesignTime>
    155       <DependentUpon>Templates.resx</DependentUpon>
    156     </Compile>
    157     <Compile Include="Properties\AssemblyInfo.cs" />
    158     <None Include="Properties\AssemblyInfo.cs.frame" />
    159     <Compile Include="Protos\ExternalEvaluationMessages.cs" />
    160     <Compile Include="SolutionMessageBuilder.cs" />
    161     <None Include="Protos\ProcessProtos.cmd" />
    162   </ItemGroup>
    163   <ItemGroup>
    164     <None Include="ExternalEvaluationCD.cd" />
    165     <None Include="HeuristicLab.snk" />
    166     <None Include="Protos\ExternalEvaluationMessages.proto" />
    167   </ItemGroup>
    168   <ItemGroup>
    169     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
    170       <Visible>False</Visible>
    171       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
    172       <Install>false</Install>
    173     </BootstrapperPackage>
    174     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
    175       <Visible>False</Visible>
    176       <ProductName>.NET Framework 3.5 SP1</ProductName>
    177       <Install>true</Install>
    178     </BootstrapperPackage>
    179     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
    180       <Visible>False</Visible>
    181       <ProductName>Windows Installer 3.1</ProductName>
    182       <Install>true</Install>
    183     </BootstrapperPackage>
    184   </ItemGroup>
    185   <ItemGroup>
    186     <EmbeddedResource Include="Programmable\Templates.resx">
    187       <Generator>ResXFileCodeGenerator</Generator>
    188       <LastGenOutput>Templates.Designer.cs</LastGenOutput>
    189     </EmbeddedResource>
    190   </ItemGroup>
    191   <ItemGroup>
    192     <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj">
    193       <Project>{887425b4-4348-49ed-a457-b7d2c26ddbf9}</Project>
    194       <Name>HeuristicLab.Analysis-3.3</Name>
    195       <Private>False</Private>
    196     </ProjectReference>
    197     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    198       <Project>{958b43bc-cc5c-4fa2-8628-2b3b01d890b6}</Project>
    199       <Name>HeuristicLab.Collections-3.3</Name>
    200       <Private>False</Private>
    201     </ProjectReference>
    202     <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">
    203       <Project>{0e27a536-1c4a-4624-a65e-dc4f4f23e3e1}</Project>
    204       <Name>HeuristicLab.Common.Resources-3.3</Name>
    205       <Private>False</Private>
    206     </ProjectReference>
    207     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    208       <Project>{a9ad58b9-3ef9-4cc1-97e5-8d909039ff5c}</Project>
    209       <Name>HeuristicLab.Common-3.3</Name>
    210       <Private>False</Private>
    211     </ProjectReference>
    212     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    213       <Project>{c36bd924-a541-4a00-afa8-41701378ddc5}</Project>
    214       <Name>HeuristicLab.Core-3.3</Name>
    215       <Private>False</Private>
    216     </ProjectReference>
    217     <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
    218       <Project>{bbab9df5-5ef3-4ba8-ade9-b36e82114937}</Project>
    219       <Name>HeuristicLab.Data-3.3</Name>
    220       <Private>False</Private>
    221     </ProjectReference>
    222     <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
    223       <Project>{23da7ff4-d5b8-41b6-aa96-f0561d24f3ee}</Project>
    224       <Name>HeuristicLab.Operators-3.3</Name>
    225       <Private>False</Private>
    226     </ProjectReference>
    227     <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
    228       <Project>{25087811-f74c-4128-bc86-8324271da13e}</Project>
    229       <Name>HeuristicLab.Optimization.Operators-3.3</Name>
    230       <Private>False</Private>
    231     </ProjectReference>
    232     <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
    233       <Project>{14ab8d24-25bc-400c-a846-4627aa945192}</Project>
    234       <Name>HeuristicLab.Optimization-3.3</Name>
    235       <Private>False</Private>
    236     </ProjectReference>
    237     <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
    238       <Project>{56f9106a-079f-4c61-92f6-86a84c2d84b7}</Project>
    239       <Name>HeuristicLab.Parameters-3.3</Name>
    240       <Private>False</Private>
    241     </ProjectReference>
    242     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    243       <Project>{102bc7d3-0ef9-439c-8f6d-96ff0fdb8e1b}</Project>
    244       <Name>HeuristicLab.Persistence-3.3</Name>
    245       <Private>False</Private>
    246     </ProjectReference>
    247     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    248       <Project>{94186a6a-5176-4402-ae83-886557b53cca}</Project>
    249       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    250       <Private>False</Private>
    251     </ProjectReference>
    252     <ProjectReference Include="..\..\HeuristicLab.Scripting\3.3\HeuristicLab.Scripting-3.3.csproj">
    253       <Project>{21977cc3-1757-4b3b-87bd-ff817aaa900f}</Project>
    254       <Name>HeuristicLab.Scripting-3.3</Name>
    255       <Private>False</Private>
    256     </ProjectReference>
    257   </ItemGroup>
    258   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    259   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    260        Other similar extension points exist, see Microsoft.Common.targets.
    261   <Target Name="BeforeBuild">
     38  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     39    <Exec Command="set Path=%Path%;$(ProjectDir);$(SolutionDir)&#xD;&#xA;set ProjectDir=$(ProjectDir)&#xD;&#xA;set SolutionDir=$(SolutionDir)&#xD;&#xA;&#xD;&#xA;call &quot;$(ProjectDir)\Protos\ProcessProtos.cmd&quot;&#xD;&#xA;call PreBuildEvent.cmd&#xD;&#xA;" />
    26240  </Target>
    263   <Target Name="AfterBuild">
    264   </Target>
    265   -->
    266   <PropertyGroup>
    267     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    268 set ProjectDir=$(ProjectDir)
    269 set SolutionDir=$(SolutionDir)
    270 
    271 call "$(ProjectDir)\Protos\ProcessProtos.cmd"
    272 call PreBuildEvent.cmd
    273 </PreBuildEvent>
    274     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    275 export ProjectDir=$(ProjectDir)
    276 export SolutionDir=$(SolutionDir)
    277 
    278 $SolutionDir/PreBuildEvent.sh
    279 </PreBuildEvent>
     41  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     42    <OutputPath>..\..\bin\</OutputPath>
     43    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    28044  </PropertyGroup>
    28145</Project>
Note: See TracChangeset for help on using the changeset viewer.