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

Legend:

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

    r15172 r16143  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    3   <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
     2<Project Sdk="Microsoft.NET.Sdk">
    43  <PropertyGroup>
    5     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    6     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    7     <ProjectGuid>{4B76E2CB-A990-4959-B080-1D81D418D325}</ProjectGuid>
    8     <OutputType>Library</OutputType>
    9     <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>
    1011    <RootNamespace>HeuristicLab.Problems.GraphColoring</RootNamespace>
    11     <AssemblyName>HeuristicLab.Problems.GraphColoring-3.3</AssemblyName>
    12     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    13     <FileAlignment>512</FileAlignment>
    14     <TargetFrameworkProfile />
    15   </PropertyGroup>
    16   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    17     <DebugSymbols>true</DebugSymbols>
    18     <DebugType>full</DebugType>
    19     <Optimize>false</Optimize>
    20     <OutputPath>..\..\bin\</OutputPath>
    21     <DefineConstants>DEBUG;TRACE</DefineConstants>
    22     <ErrorReport>prompt</ErrorReport>
    23     <WarningLevel>4</WarningLevel>
    24   </PropertyGroup>
    25   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    26     <DebugType>pdbonly</DebugType>
    27     <Optimize>true</Optimize>
    28     <OutputPath>..\..\bin\</OutputPath>
    29     <DefineConstants>TRACE</DefineConstants>
    30     <ErrorReport>prompt</ErrorReport>
    31     <WarningLevel>4</WarningLevel>
    32   </PropertyGroup>
    33   <PropertyGroup>
    34     <SignAssembly>true</SignAssembly>
    35   </PropertyGroup>
    36   <PropertyGroup>
    37     <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
    38   </PropertyGroup>
    39   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    40     <DebugSymbols>true</DebugSymbols>
    41     <OutputPath>..\..\bin\</OutputPath>
    42     <DefineConstants>DEBUG;TRACE</DefineConstants>
    43     <DebugType>full</DebugType>
    44     <PlatformTarget>x64</PlatformTarget>
    45     <ErrorReport>prompt</ErrorReport>
    46     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    47   </PropertyGroup>
    48   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    49     <OutputPath>..\..\bin\</OutputPath>
    50     <DefineConstants>TRACE</DefineConstants>
    51     <Optimize>true</Optimize>
    52     <DebugType>pdbonly</DebugType>
    53     <PlatformTarget>x64</PlatformTarget>
    54     <ErrorReport>prompt</ErrorReport>
    55     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    56   </PropertyGroup>
    57   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
    58     <DebugSymbols>true</DebugSymbols>
    59     <OutputPath>..\..\bin\</OutputPath>
    60     <DefineConstants>DEBUG;TRACE</DefineConstants>
    61     <DebugType>full</DebugType>
    62     <PlatformTarget>x86</PlatformTarget>
    63     <ErrorReport>prompt</ErrorReport>
    64     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    65   </PropertyGroup>
    66   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
    67     <OutputPath>..\..\bin\</OutputPath>
    68     <DefineConstants>TRACE</DefineConstants>
    69     <Optimize>true</Optimize>
    70     <DebugType>pdbonly</DebugType>
    71     <PlatformTarget>x86</PlatformTarget>
    72     <ErrorReport>prompt</ErrorReport>
    73     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    7412  </PropertyGroup>
    7513  <ItemGroup>
    76     <Reference Include="System" />
    77     <Reference Include="System.Core" />
    78     <Reference Include="System.Xml.Linq" />
    79     <Reference Include="System.Data.DataSetExtensions" />
    80     <Reference Include="Microsoft.CSharp" />
    81     <Reference Include="System.Data" />
    82     <Reference Include="System.Net.Http" />
    83     <Reference Include="System.Xml" />
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
    8416  </ItemGroup>
    8517  <ItemGroup>
    86     <Compile Include="GraphColoringProblem.cs" />
    87     <Compile Include="Plugin.cs" />
    88     <None Include="Plugin.cs.frame" />
    89     <None Include="Properties\AssemblyInfo.cs.frame" />
    90     <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.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.Encodings.LinearLinkageEncoding\3.4\HeuristicLab.Encodings.LinearLinkageEncoding-3.4.csproj" />
     25    <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj" />
     26    <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj" />
     27    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj" />
     28    <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj" />
     29    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj" />
     30    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj" />
     31    <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj" />
    9132  </ItemGroup>
    9233  <ItemGroup>
    93     <None Include="HeuristicLab.snk" />
     34    <Reference Include="Microsoft.CSharp" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
    9435  </ItemGroup>
    95   <ItemGroup>
    96     <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj">
    97       <Project>{887425B4-4348-49ED-A457-B7D2C26DDBF9}</Project>
    98       <Name>HeuristicLab.Analysis-3.3</Name>
    99       <Private>False</Private>
    100     </ProjectReference>
    101     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    102       <Project>{958b43bc-cc5c-4fa2-8628-2b3b01d890b6}</Project>
    103       <Name>HeuristicLab.Collections-3.3</Name>
    104       <Private>False</Private>
    105     </ProjectReference>
    106     <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">
    107       <Project>{0e27a536-1c4a-4624-a65e-dc4f4f23e3e1}</Project>
    108       <Name>HeuristicLab.Common.Resources-3.3</Name>
    109       <Private>False</Private>
    110     </ProjectReference>
    111     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    112       <Project>{a9ad58b9-3ef9-4cc1-97e5-8d909039ff5c}</Project>
    113       <Name>HeuristicLab.Common-3.3</Name>
    114       <Private>False</Private>
    115     </ProjectReference>
    116     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    117       <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    118       <Name>HeuristicLab.Core-3.3</Name>
    119       <Private>False</Private>
    120     </ProjectReference>
    121     <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
    122       <Project>{bbab9df5-5ef3-4ba8-ade9-b36e82114937}</Project>
    123       <Name>HeuristicLab.Data-3.3</Name>
    124       <Private>False</Private>
    125     </ProjectReference>
    126     <ProjectReference Include="..\..\HeuristicLab.Encodings.LinearLinkageEncoding\3.4\HeuristicLab.Encodings.LinearLinkageEncoding-3.4.csproj">
    127       <Project>{be698769-975a-429e-828c-72bb2b6182c8}</Project>
    128       <Name>HeuristicLab.Encodings.LinearLinkageEncoding-3.4</Name>
    129       <Private>False</Private>
    130     </ProjectReference>
    131     <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
    132       <Project>{23da7ff4-d5b8-41b6-aa96-f0561d24f3ee}</Project>
    133       <Name>HeuristicLab.Operators-3.3</Name>
    134       <Private>False</Private>
    135     </ProjectReference>
    136     <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
    137       <Project>{25087811-f74c-4128-bc86-8324271da13e}</Project>
    138       <Name>HeuristicLab.Optimization.Operators-3.3</Name>
    139       <Private>False</Private>
    140     </ProjectReference>
    141     <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
    142       <Project>{14ab8d24-25bc-400c-a846-4627aa945192}</Project>
    143       <Name>HeuristicLab.Optimization-3.3</Name>
    144       <Private>False</Private>
    145     </ProjectReference>
    146     <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
    147       <Project>{56f9106a-079f-4c61-92f6-86a84c2d84b7}</Project>
    148       <Name>HeuristicLab.Parameters-3.3</Name>
    149       <Private>False</Private>
    150     </ProjectReference>
    151     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    152       <Project>{102bc7d3-0ef9-439c-8f6d-96ff0fdb8e1b}</Project>
    153       <Name>HeuristicLab.Persistence-3.3</Name>
    154       <Private>False</Private>
    155     </ProjectReference>
    156     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    157       <Project>{94186a6a-5176-4402-ae83-886557b53cca}</Project>
    158       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    159       <Private>False</Private>
    160     </ProjectReference>
    161     <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj">
    162       <Project>{3540e29e-4793-49e7-8ee2-fea7f61c3994}</Project>
    163       <Name>HeuristicLab.Problems.Instances-3.3</Name>
    164       <Private>False</Private>
    165     </ProjectReference>
    166   </ItemGroup>
    167   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    168   <PropertyGroup>
    169     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    170 set ProjectDir=$(ProjectDir)
    171 set SolutionDir=$(SolutionDir)
    172 set Outdir=$(Outdir)
    173 
    174 call PreBuildEvent.cmd
    175   </PreBuildEvent>
    176     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    177 export ProjectDir=$(ProjectDir)
    178 export SolutionDir=$(SolutionDir)
    179 
    180 $SolutionDir/PreBuildEvent.sh
    181   </PreBuildEvent>
     36  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     37    <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" />
     38  </Target>
     39  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     40    <OutputPath>..\..\bin\</OutputPath>
     41    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    18242  </PropertyGroup>
    183   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    184        Other similar extension points exist, see Microsoft.Common.targets.
    185   <Target Name="BeforeBuild">
    186   </Target>
    187   <Target Name="AfterBuild">
    188   </Target>
    189   -->
    19043</Project>
Note: See TracChangeset for help on using the changeset viewer.