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

Legend:

Unmodified
Added
Removed
  • branches/2522_RefactorPluginInfrastructure/HeuristicLab.ParallelEngine/3.3/HeuristicLab.ParallelEngine-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>{00814351-4AB8-4088-9B99-F62787B89E93}</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.ParallelEngine</RootNamespace>
    12     <AssemblyName>HeuristicLab.ParallelEngine-3.3</AssemblyName>
    13     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    14     <FileAlignment>512</FileAlignment>
    15     <TargetFrameworkProfile>
    16     </TargetFrameworkProfile>
    17   </PropertyGroup>
    18   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    19     <DebugSymbols>true</DebugSymbols>
    20     <DebugType>full</DebugType>
    21     <Optimize>false</Optimize>
    22     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    23     <DefineConstants>DEBUG;TRACE</DefineConstants>
    24     <ErrorReport>prompt</ErrorReport>
    25     <WarningLevel>4</WarningLevel>
    26     <Prefer32Bit>false</Prefer32Bit>
    27   </PropertyGroup>
    28   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    29     <DebugType>pdbonly</DebugType>
    30     <Optimize>true</Optimize>
    31     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    32     <DefineConstants>TRACE</DefineConstants>
    33     <ErrorReport>prompt</ErrorReport>
    34     <WarningLevel>4</WarningLevel>
    35     <Prefer32Bit>false</Prefer32Bit>
    36   </PropertyGroup>
    37   <PropertyGroup>
    38     <SignAssembly>true</SignAssembly>
    39   </PropertyGroup>
    40   <PropertyGroup>
    41     <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
    42   </PropertyGroup>
    43   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    44     <DebugSymbols>true</DebugSymbols>
    45     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    46     <DefineConstants>DEBUG;TRACE</DefineConstants>
    47     <DebugType>full</DebugType>
    48     <PlatformTarget>x64</PlatformTarget>
    49     <CodeAnalysisLogFile>bin\Debug\HeuristicLab.ParallelEngine-3.3.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    50     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    51     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    52     <ErrorReport>prompt</ErrorReport>
    53     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    54     <CodeAnalysisRuleSetDirectories>;C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    55     <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
    56     <CodeAnalysisRuleDirectories>;C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    57     <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
    58     <Prefer32Bit>false</Prefer32Bit>
    59   </PropertyGroup>
    60   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    61     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    62     <DefineConstants>TRACE</DefineConstants>
    63     <Optimize>true</Optimize>
    64     <DebugType>pdbonly</DebugType>
    65     <PlatformTarget>x64</PlatformTarget>
    66     <CodeAnalysisLogFile>$(SolutionDir)\bin\HeuristicLab.ParallelEngine-3.3.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    67     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    68     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    69     <ErrorReport>prompt</ErrorReport>
    70     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    71     <CodeAnalysisRuleSetDirectories>;C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    72     <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
    73     <CodeAnalysisRuleDirectories>;C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    74     <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
    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>bin\Debug\HeuristicLab.ParallelEngine-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\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    89     <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
    90     <CodeAnalysisRuleDirectories>;C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    91     <CodeAnalysisIgnoreBuiltInRules>true</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>$(SolutionDir)\bin\HeuristicLab.ParallelEngine-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\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    106     <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
    107     <CodeAnalysisRuleDirectories>;C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    108     <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
    109     <Prefer32Bit>false</Prefer32Bit>
    11012  </PropertyGroup>
    11113  <ItemGroup>
    112     <Reference Include="System" />
    113     <Reference Include="System.Core" />
    114     <Reference Include="System.Xml.Linq" />
    115     <Reference Include="System.Data.DataSetExtensions" />
    116     <Reference Include="System.Data" />
    117     <Reference Include="System.Xml" />
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
    11816  </ItemGroup>
    11917  <ItemGroup>
    120     <Compile Include="Plugin.cs" />
    121     <Compile Include="Properties\AssemblyInfo.cs" />
    122     <Compile Include="ParallelEngine.cs" />
     18    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj" />
     19    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj" />
     20    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj" />
     21    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj" />
    12322  </ItemGroup>
    124   <ItemGroup>
    125     <None Include="HeuristicLab.snk" />
    126     <None Include="Plugin.cs.frame" />
    127     <None Include="Properties\AssemblyInfo.cs.frame" />
    128   </ItemGroup>
    129   <ItemGroup>
    130     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    131       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    132       <Name>HeuristicLab.Common-3.3</Name>
    133       <Private>False</Private>
    134     </ProjectReference>
    135     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    136       <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    137       <Name>HeuristicLab.Core-3.3</Name>
    138       <Private>False</Private>
    139     </ProjectReference>
    140     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    141       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    142       <Name>HeuristicLab.Persistence-3.3</Name>
    143       <Private>False</Private>
    144     </ProjectReference>
    145     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    146       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    147       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    148       <Private>False</Private>
    149     </ProjectReference>
    150   </ItemGroup>
    151   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    152   <PropertyGroup>
    153     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    154 set ProjectDir=$(ProjectDir)
    155 set SolutionDir=$(SolutionDir)
    156 set Outdir=$(Outdir)
    157 
    158 call PreBuildEvent.cmd
    159 </PreBuildEvent>
    160     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    161 export ProjectDir=$(ProjectDir)
    162 export SolutionDir=$(SolutionDir)
    163 
    164 $SolutionDir/PreBuildEvent.sh
    165 </PreBuildEvent>
     23  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     24    <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" />
     25  </Target>
     26  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     27    <OutputPath>..\..\bin\</OutputPath>
     28    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    16629  </PropertyGroup>
    167   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    168        Other similar extension points exist, see Microsoft.Common.targets.
    169   <Target Name="BeforeBuild">
    170   </Target>
    171   <Target Name="AfterBuild">
    172   </Target>
    173   -->
    17430</Project>
Note: See TracChangeset for help on using the changeset viewer.