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

Legend:

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

    r12978 r16143  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
     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>{D767C38D-8014-46B0-9A32-03A3AECCE34A}</ProjectGuid>
    9     <OutputType>Library</OutputType>
    10     <AppDesignerFolder>Properties</AppDesignerFolder>
    11     <RootNamespace>HeuristicLab.Problems.TravelingSalesman</RootNamespace>
    12     <AssemblyName>HeuristicLab.Problems.TravelingSalesman-3.3</AssemblyName>
     4    <TargetFramework>netstandard2.0</TargetFramework>
     5    <Copyright>(c) 2002-2018 HEAL</Copyright>
     6    <Product>HeuristicLab</Product>
    137    <SignAssembly>true</SignAssembly>
    148    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
    15     <FileUpgradeFlags>
    16     </FileUpgradeFlags>
    17     <OldToolsVersion>3.5</OldToolsVersion>
    18     <UpgradeBackupLocation>
    19     </UpgradeBackupLocation>
    20     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    21     <TargetFrameworkProfile>
    22     </TargetFrameworkProfile>
    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     <DocumentationFile>
    48     </DocumentationFile>
    49     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    50     <Prefer32Bit>false</Prefer32Bit>
    51   </PropertyGroup>
    52   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    53     <DebugType>pdbonly</DebugType>
    54     <Optimize>true</Optimize>
    55     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    56     <DefineConstants>TRACE</DefineConstants>
    57     <ErrorReport>prompt</ErrorReport>
    58     <WarningLevel>4</WarningLevel>
    59     <DocumentationFile>
    60     </DocumentationFile>
    61     <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    62     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    63     <Prefer32Bit>false</Prefer32Bit>
    64   </PropertyGroup>
    65   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    66     <DebugSymbols>true</DebugSymbols>
    67     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    68     <DefineConstants>DEBUG;TRACE</DefineConstants>
    69     <DebugType>full</DebugType>
    70     <PlatformTarget>x86</PlatformTarget>
    71     <ErrorReport>prompt</ErrorReport>
    72     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    73     <Prefer32Bit>false</Prefer32Bit>
    74   </PropertyGroup>
    75   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    76     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    77     <DefineConstants>TRACE</DefineConstants>
    78     <DocumentationFile>
    79     </DocumentationFile>
    80     <Optimize>true</Optimize>
    81     <DebugType>pdbonly</DebugType>
    82     <PlatformTarget>x86</PlatformTarget>
    83     <ErrorReport>prompt</ErrorReport>
    84     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    85     <Prefer32Bit>false</Prefer32Bit>
    86   </PropertyGroup>
    87   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
    88     <DebugSymbols>true</DebugSymbols>
    89     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    90     <DefineConstants>DEBUG;TRACE</DefineConstants>
    91     <DebugType>full</DebugType>
    92     <PlatformTarget>x64</PlatformTarget>
    93     <ErrorReport>prompt</ErrorReport>
    94     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    95     <Prefer32Bit>false</Prefer32Bit>
    96   </PropertyGroup>
    97   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
    98     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    99     <DefineConstants>TRACE</DefineConstants>
    100     <DocumentationFile>
    101     </DocumentationFile>
    102     <Optimize>true</Optimize>
    103     <DebugType>pdbonly</DebugType>
    104     <PlatformTarget>x64</PlatformTarget>
    105     <ErrorReport>prompt</ErrorReport>
    106     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    107     <Prefer32Bit>false</Prefer32Bit>
     9    <AssemblyVersion>3.3.0.0</AssemblyVersion>
     10    <AssemblyFileVersion>3.3.15.0</AssemblyFileVersion>
     11    <RootNamespace>HeuristicLab.Problems.TravelingSalesman</RootNamespace>
    10812  </PropertyGroup>
    10913  <ItemGroup>
    110     <Reference Include="System" />
    111     <Reference Include="System.Core">
    112       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    113     </Reference>
    114     <Reference Include="System.Data" />
    115     <Reference Include="System.Drawing" />
    116     <Reference Include="System.Windows.Forms" />
    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="Analyzers\BestTSPSolutionAnalyzer.cs" />
    121     <Compile Include="Analyzers\TSPPopulationDiversityAnalyzer.cs" />
    122     <Compile Include="Analyzers\TSPAlleleFrequencyAnalyzer.cs" />
    123     <Compile Include="DistanceMatrix.cs" />
    124     <Compile Include="Evaluators\TSPDistanceMatrixEvaluator.cs" />
    125     <Compile Include="Evaluators\TSPEuclideanPathEvaluator.cs" />
    126     <Compile Include="Evaluators\TSPGeoPathEvaluator.cs" />
    127     <Compile Include="Evaluators\TSPUpperEuclideanPathEvaluator.cs" />
    128     <Compile Include="Improvers\TSPImprovementOperator.cs" />
    129     <Compile Include="Interfaces\ITSPDistanceMatrixEvaluator.cs" />
    130     <Compile Include="MoveEvaluators\ThreeOpt\TSPTranslocationMoveDistanceMatrixEvaluator.cs" />
    131     <Compile Include="MoveEvaluators\ThreeOpt\TSPTranslocationMoveEuclideanPathEvaluator.cs" />
    132     <Compile Include="MoveEvaluators\ThreeOpt\TSPTranslocationMoveGeoPathEvaluator.cs" />
    133     <Compile Include="MoveEvaluators\ThreeOpt\TSPTranslocationMovePathEvaluator.cs" />
    134     <Compile Include="MoveEvaluators\ThreeOpt\TSPTranslocationMoveRoundedEuclideanPathEvaluator.cs" />
    135     <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMoveEuclideanPathEvaluator.cs" />
    136     <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMoveGeoPathEvaluator.cs" />
    137     <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMoveDistanceMatrixEvaluator.cs" />
    138     <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMovePathEvaluator.cs" />
    139     <Compile Include="MoveEvaluators\TwoOpt\TSPInversionMoveRoundedEuclideanPathEvaluator.cs" />
    140     <Compile Include="PathRelinkers\TSPMultipleGuidesPathRelinker.cs" />
    141     <Compile Include="PathRelinkers\TSPPathRelinker.cs" />
    142     <Compile Include="PathRelinkers\TSPSimultaneousPathRelinker.cs" />
    143     <Compile Include="Plugin.cs" />
    144     <Compile Include="SimilarityCalculators\TSPSimilarityCalculator.cs" />
    145     <Compile Include="TravelingSalesmanProblem.cs" />
    146     <Compile Include="PathTSPTour.cs" />
    147     <Compile Include="Evaluators\TSPCoordinatesPathEvaluator.cs" />
    148     <Compile Include="Evaluators\TSPEvaluator.cs" />
    149     <Compile Include="Evaluators\TSPRoundedEuclideanPathEvaluator.cs" />
    150     <Compile Include="Interfaces\ITSPCoordinatesPathEvaluator.cs" />
    151     <Compile Include="Interfaces\ITSPEvaluator.cs" />
    152     <Compile Include="Interfaces\ITSPMoveEvaluator.cs" />
    153     <Compile Include="Interfaces\ITSPPathEvaluator.cs" />
    154     <Compile Include="Interfaces\ITSPPathMoveEvaluator.cs" />
    155     <Compile Include="MoveEvaluators\TSPPathMoveEvaluator.cs" />
    156     <Compile Include="MoveEvaluators\TSPMoveEvaluator.cs" />
    157     <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.PermutationEncoding\3.3\HeuristicLab.Encodings.PermutationEncoding-3.3.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" />
    15832  </ItemGroup>
    159   <ItemGroup>
    160     <ProjectReference Include="..\..\HeuristicLab.Analysis\3.3\HeuristicLab.Analysis-3.3.csproj">
    161       <Project>{887425B4-4348-49ED-A457-B7D2C26DDBF9}</Project>
    162       <Name>HeuristicLab.Analysis-3.3</Name>
    163       <Private>False</Private>
    164     </ProjectReference>
    165     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    166       <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    167       <Name>HeuristicLab.Collections-3.3</Name>
    168       <Private>False</Private>
    169     </ProjectReference>
    170     <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">
    171       <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>
    172       <Name>HeuristicLab.Common.Resources-3.3</Name>
    173       <Private>False</Private>
    174     </ProjectReference>
    175     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    176       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    177       <Name>HeuristicLab.Common-3.3</Name>
    178       <Private>False</Private>
    179     </ProjectReference>
    180     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    181       <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    182       <Name>HeuristicLab.Core-3.3</Name>
    183       <Private>False</Private>
    184     </ProjectReference>
    185     <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
    186       <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
    187       <Name>HeuristicLab.Data-3.3</Name>
    188       <Private>False</Private>
    189     </ProjectReference>
    190     <ProjectReference Include="..\..\HeuristicLab.Encodings.PermutationEncoding\3.3\HeuristicLab.Encodings.PermutationEncoding-3.3.csproj">
    191       <Project>{DBECB8B0-B166-4133-BAF1-ED67C3FD7FCA}</Project>
    192       <Name>HeuristicLab.Encodings.PermutationEncoding-3.3</Name>
    193       <Private>False</Private>
    194     </ProjectReference>
    195     <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
    196       <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project>
    197       <Name>HeuristicLab.Operators-3.3</Name>
    198       <Private>False</Private>
    199     </ProjectReference>
    200     <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
    201       <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project>
    202       <Name>HeuristicLab.Optimization.Operators-3.3</Name>
    203     </ProjectReference>
    204     <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
    205       <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
    206       <Name>HeuristicLab.Optimization-3.3</Name>
    207       <Private>False</Private>
    208     </ProjectReference>
    209     <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
    210       <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
    211       <Name>HeuristicLab.Parameters-3.3</Name>
    212       <Private>False</Private>
    213     </ProjectReference>
    214     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    215       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    216       <Name>HeuristicLab.Persistence-3.3</Name>
    217       <Private>False</Private>
    218     </ProjectReference>
    219     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    220       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    221       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    222       <Private>False</Private>
    223     </ProjectReference>
    224     <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj">
    225       <Project>{3540E29E-4793-49E7-8EE2-FEA7F61C3994}</Project>
    226       <Name>HeuristicLab.Problems.Instances-3.3</Name>
    227       <Private>False</Private>
    228     </ProjectReference>
    229   </ItemGroup>
    230   <ItemGroup>
    231     <None Include="HeuristicLab.snk" />
    232     <None Include="Plugin.cs.frame" />
    233     <None Include="Properties\AssemblyInfo.cs.frame" />
    234   </ItemGroup>
    235   <ItemGroup>
    236     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
    237       <Visible>False</Visible>
    238       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
    239       <Install>false</Install>
    240     </BootstrapperPackage>
    241     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
    242       <Visible>False</Visible>
    243       <ProductName>.NET Framework 3.5 SP1</ProductName>
    244       <Install>true</Install>
    245     </BootstrapperPackage>
    246     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
    247       <Visible>False</Visible>
    248       <ProductName>Windows Installer 3.1</ProductName>
    249       <Install>true</Install>
    250     </BootstrapperPackage>
    251   </ItemGroup>
    252   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
    253   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    254        Other similar extension points exist, see Microsoft.Common.targets.
    255   <Target Name="BeforeBuild">
     33  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     34    <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" />
    25635  </Target>
    257   <Target Name="AfterBuild">
    258   </Target>
    259   -->
    260   <PropertyGroup>
    261     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    262 set ProjectDir=$(ProjectDir)
    263 set SolutionDir=$(SolutionDir)
    264 set Outdir=$(Outdir)
    265 
    266 call PreBuildEvent.cmd
    267 </PreBuildEvent>
    268     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    269 export ProjectDir=$(ProjectDir)
    270 export SolutionDir=$(SolutionDir)
    271 
    272 $SolutionDir/PreBuildEvent.sh
    273 </PreBuildEvent>
     36  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     37    <OutputPath>..\..\bin\</OutputPath>
     38    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    27439  </PropertyGroup>
    27540</Project>
Note: See TracChangeset for help on using the changeset viewer.