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

Legend:

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

    r11650 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>{9D792B6D-836B-46DC-9D69-50B4B1E7B87F}</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.Problems.Instances.Scheduling</RootNamespace>
    12     <AssemblyName>HeuristicLab.Problems.Instances.Scheduling-3.3</AssemblyName>
    13     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    14     <FileAlignment>512</FileAlignment>
    15     <TargetFrameworkProfile />
    16   </PropertyGroup>
    17   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    18     <DebugSymbols>true</DebugSymbols>
    19     <DebugType>full</DebugType>
    20     <Optimize>false</Optimize>
    21     <OutputPath>..\..\bin\</OutputPath>
    22     <DefineConstants>DEBUG;TRACE</DefineConstants>
    23     <ErrorReport>prompt</ErrorReport>
    24     <WarningLevel>4</WarningLevel>
    25     <Prefer32Bit>false</Prefer32Bit>
    26   </PropertyGroup>
    27   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    28     <DebugType>pdbonly</DebugType>
    29     <Optimize>true</Optimize>
    30     <OutputPath>..\..\bin\</OutputPath>
    31     <DefineConstants>TRACE</DefineConstants>
    32     <ErrorReport>prompt</ErrorReport>
    33     <WarningLevel>4</WarningLevel>
    34     <Prefer32Bit>false</Prefer32Bit>
    35   </PropertyGroup>
    36   <PropertyGroup>
    37     <SignAssembly>true</SignAssembly>
    38   </PropertyGroup>
    39   <PropertyGroup>
    40     <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
    41   </PropertyGroup>
    42   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
    43     <DebugSymbols>true</DebugSymbols>
    44     <OutputPath>..\..\bin\</OutputPath>
    45     <DefineConstants>DEBUG;TRACE</DefineConstants>
    46     <DebugType>full</DebugType>
    47     <PlatformTarget>x86</PlatformTarget>
    48     <CodeAnalysisLogFile>bin\Debug\Plugin.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    49     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    50     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    51     <ErrorReport>prompt</ErrorReport>
    52     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    53     <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    54     <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
    55     <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    56     <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
    57     <Prefer32Bit>false</Prefer32Bit>
    58   </PropertyGroup>
    59   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
    60     <OutputPath>..\..\bin\</OutputPath>
    61     <DefineConstants>TRACE</DefineConstants>
    62     <Optimize>true</Optimize>
    63     <DebugType>pdbonly</DebugType>
    64     <PlatformTarget>x86</PlatformTarget>
    65     <CodeAnalysisLogFile>bin\Release\Plugin.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    66     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    67     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    68     <ErrorReport>prompt</ErrorReport>
    69     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    70     <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    71     <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    72     <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
    73     <Prefer32Bit>false</Prefer32Bit>
    74   </PropertyGroup>
    75   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    76     <DebugSymbols>true</DebugSymbols>
    77     <OutputPath>..\..\bin\</OutputPath>
    78     <DefineConstants>DEBUG;TRACE</DefineConstants>
    79     <DebugType>full</DebugType>
    80     <PlatformTarget>x64</PlatformTarget>
    81     <CodeAnalysisLogFile>bin\Debug\Plugin.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    82     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    83     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    84     <ErrorReport>prompt</ErrorReport>
    85     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    86     <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    87     <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
    88     <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    89     <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
    90     <Prefer32Bit>false</Prefer32Bit>
    91   </PropertyGroup>
    92   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    93     <OutputPath>..\..\bin\</OutputPath>
    94     <DefineConstants>TRACE</DefineConstants>
    95     <Optimize>true</Optimize>
    96     <DebugType>pdbonly</DebugType>
    97     <PlatformTarget>x64</PlatformTarget>
    98     <CodeAnalysisLogFile>bin\Release\Plugin.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    99     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    100     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    101     <ErrorReport>prompt</ErrorReport>
    102     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    103     <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    104     <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
    105     <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    106     <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
    107     <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
    108     <Prefer32Bit>false</Prefer32Bit>
    10912  </PropertyGroup>
    11013  <ItemGroup>
    111     <Reference Include="HeuristicLab.PluginInfrastructure-3.3">
     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.Common\3.3\HeuristicLab.Common-3.3.csproj" />
     19    <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj" />
     20  </ItemGroup>
     21  <ItemGroup>
     22    <Reference Include="HeuristicLab.PluginInfrastructure-3.3" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    11223      <HintPath>..\bin\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath>
    11324      <Private>False</Private>
    11425    </Reference>
    115     <Reference Include="System" />
    116     <Reference Include="System.Core" />
    117     <Reference Include="System.Data" />
    118     <Reference Include="System.IO.Compression" />
    11926  </ItemGroup>
    120   <ItemGroup>
    121     <Compile Include="JSSPORLIBDataDescriptor.cs" />
    122     <Compile Include="JSSPORLIBInstanceProvider.cs" />
    123     <Compile Include="JSSPORLIBParser.cs" />
    124     <EmbeddedResource Include="Data\JSSPORLIB.zip" />
    125     <None Include="Plugin.cs.frame" />
    126     <Compile Include="Plugin.cs" />
    127     <Compile Include="Properties\AssemblyInfo.cs" />
    128     <None Include="Properties\AssemblyInfo.cs.frame" />
    129   </ItemGroup>
    130   <ItemGroup>
    131     <None Include="HeuristicLab.snk" />
    132   </ItemGroup>
    133   <ItemGroup>
    134     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    135       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    136       <Name>HeuristicLab.Common-3.3</Name>
    137       <Private>False</Private>
    138     </ProjectReference>
    139     <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj">
    140       <Project>{3540E29E-4793-49E7-8EE2-FEA7F61C3994}</Project>
    141       <Name>HeuristicLab.Problems.Instances-3.3</Name>
    142       <Private>False</Private>
    143     </ProjectReference>
    144   </ItemGroup>
    145   <ItemGroup />
    146   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    147   <PropertyGroup>
    148     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    149 set ProjectDir=$(ProjectDir)
    150 set SolutionDir=$(SolutionDir)
    151 set Outdir=$(Outdir)
    152 
    153 call PreBuildEvent.cmd
    154 </PreBuildEvent>
    155     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> 
    156 export ProjectDir=$(ProjectDir)
    157 export SolutionDir=$(SolutionDir)
    158 
    159 $SolutionDir/PreBuildEvent.sh
    160 </PreBuildEvent>
     27  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     28    <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" />
     29  </Target>
     30  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     31    <OutputPath>..\..\bin\</OutputPath>
     32    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    16133  </PropertyGroup>
    162   <PropertyGroup>
    163     <PostBuildEvent>
    164     </PostBuildEvent>
    165   </PropertyGroup>
    166   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    167        Other similar extension points exist, see Microsoft.Common.targets.
    168   <Target Name="BeforeBuild">
    169   </Target>
    170   <Target Name="AfterBuild">
    171   </Target>
    172   -->
    17334</Project>
Note: See TracChangeset for help on using the changeset viewer.