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

Legend:

Unmodified
Added
Removed
  • branches/2522_RefactorPluginInfrastructure/HeuristicLab.Algorithms.TabuSearch/3.3/HeuristicLab.Algorithms.TabuSearch-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>9.0.30729</ProductVersion>
    7     <SchemaVersion>2.0</SchemaVersion>
    8     <ProjectGuid>{D58A232D-04BA-4186-B73E-0EC86FD31ABE}</ProjectGuid>
    9     <OutputType>Library</OutputType>
    10     <AppDesignerFolder>Properties</AppDesignerFolder>
    11     <RootNamespace>HeuristicLab.Algorithms.TabuSearch</RootNamespace>
    12     <AssemblyName>HeuristicLab.Algorithms.TabuSearch-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.Algorithms.TabuSearch</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.Xml.Linq">
    107       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    108     </Reference>
    109     <Reference Include="System.Data.DataSetExtensions">
    110       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    111     </Reference>
    112     <Reference Include="System.Data" />
    113     <Reference Include="System.Xml" />
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
    11416  </ItemGroup>
    11517  <ItemGroup>
    116     <None Include="Plugin.cs.frame" />
    117     <Compile Include="Plugin.cs" />
    118     <Compile Include="Properties\AssemblyInfo.cs" />
    119     <Compile Include="TabuListCreator.cs">
    120       <SubType>Code</SubType>
    121     </Compile>
    122     <Compile Include="TabuNeighborhoodAnalyzer.cs" />
    123     <Compile Include="TabuSelector.cs">
    124       <SubType>Code</SubType>
    125     </Compile>
    126     <Compile Include="TabuSearch.cs" />
    127     <Compile Include="TabuSearchMainLoop.cs">
    128       <SubType>Code</SubType>
    129     </Compile>
     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" />
    13031  </ItemGroup>
    131   <ItemGroup>
    132     <None Include="HeuristicLab.snk" />
    133     <None Include="Properties\AssemblyInfo.cs.frame" />
    134   </ItemGroup>
    135   <ItemGroup>
    136     <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj">
    137       <Project>{887425B4-4348-49ED-A457-B7D2C26DDBF9}</Project>
    138       <Name>HeuristicLab.Analysis-3.3</Name>
    139       <Private>False</Private>
    140     </ProjectReference>
    141     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    142       <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    143       <Name>HeuristicLab.Collections-3.3</Name>
    144       <Private>False</Private>
    145     </ProjectReference>
    146     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    147       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    148       <Name>HeuristicLab.Common-3.3</Name>
    149       <Private>False</Private>
    150     </ProjectReference>
    151     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    152       <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    153       <Name>HeuristicLab.Core-3.3</Name>
    154       <Private>False</Private>
    155     </ProjectReference>
    156     <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
    157       <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
    158       <Name>HeuristicLab.Data-3.3</Name>
    159       <Private>False</Private>
    160     </ProjectReference>
    161     <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
    162       <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project>
    163       <Name>HeuristicLab.Operators-3.3</Name>
    164       <Private>False</Private>
    165     </ProjectReference>
    166     <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
    167       <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project>
    168       <Name>HeuristicLab.Optimization.Operators-3.3</Name>
    169       <Private>False</Private>
    170     </ProjectReference>
    171     <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
    172       <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
    173       <Name>HeuristicLab.Optimization-3.3</Name>
    174       <Private>False</Private>
    175     </ProjectReference>
    176     <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
    177       <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
    178       <Name>HeuristicLab.Parameters-3.3</Name>
    179       <Private>False</Private>
    180     </ProjectReference>
    181     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    182       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    183       <Name>HeuristicLab.Persistence-3.3</Name>
    184       <Private>False</Private>
    185     </ProjectReference>
    186     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    187       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    188       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    189       <Private>False</Private>
    190     </ProjectReference>
    191     <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj">
    192       <Project>{F4539FB6-4708-40C9-BE64-0A1390AEA197}</Project>
    193       <Name>HeuristicLab.Random-3.3</Name>
    194       <Private>False</Private>
    195     </ProjectReference>
    196     <ProjectReference Include="..\..\HeuristicLab.Selection\3.3\HeuristicLab.Selection-3.3.csproj">
    197       <Project>{2C36CD4F-E5F5-43A4-801A-201EA895FE17}</Project>
    198       <Name>HeuristicLab.Selection-3.3</Name>
    199       <Private>False</Private>
    200     </ProjectReference>
    201   </ItemGroup>
    202   <ItemGroup>
    203     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
    204       <Visible>False</Visible>
    205       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
    206       <Install>false</Install>
    207     </BootstrapperPackage>
    208     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
    209       <Visible>False</Visible>
    210       <ProductName>.NET Framework 3.5 SP1</ProductName>
    211       <Install>true</Install>
    212     </BootstrapperPackage>
    213     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
    214       <Visible>False</Visible>
    215       <ProductName>Windows Installer 3.1</ProductName>
    216       <Install>true</Install>
    217     </BootstrapperPackage>
    218   </ItemGroup>
    219   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    220   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    221        Other similar extension points exist, see Microsoft.Common.targets.
    222   <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" />
    22334  </Target>
    224   <Target Name="AfterBuild">
    225   </Target>
    226   -->
    227   <PropertyGroup>
    228     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    229 set ProjectDir=$(ProjectDir)
    230 set SolutionDir=$(SolutionDir)
    231 set Outdir=$(Outdir)
    232 
    233 call PreBuildEvent.cmd
    234 </PreBuildEvent>
    235     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    236 export ProjectDir=$(ProjectDir)
    237 export SolutionDir=$(SolutionDir)
    238 
    239 $SolutionDir/PreBuildEvent.sh
    240 </PreBuildEvent>
     35  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     36    <OutputPath>..\..\bin\</OutputPath>
     37    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    24138  </PropertyGroup>
    24239</Project>
Note: See TracChangeset for help on using the changeset viewer.