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

Legend:

Unmodified
Added
Removed
  • branches/2522_RefactorPluginInfrastructure/HeuristicLab.DebugEngine/3.3/HeuristicLab.DebugEngine-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>{49F28045-7B5F-411B-8D59-16C846FA26E0}</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.DebugEngine</RootNamespace>
    12     <AssemblyName>HeuristicLab.DebugEngine-3.3</AssemblyName>
    13     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    14     <TargetFrameworkProfile>
    15     </TargetFrameworkProfile>
    16     <FileAlignment>512</FileAlignment>
    17     <TargetFrameworkProfile />
    18   </PropertyGroup>
    19   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    20     <DebugSymbols>true</DebugSymbols>
    21     <DebugType>full</DebugType>
    22     <Optimize>false</Optimize>
    23     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    24     <DefineConstants>DEBUG;TRACE</DefineConstants>
    25     <ErrorReport>prompt</ErrorReport>
    26     <WarningLevel>4</WarningLevel>
    27     <RunCodeAnalysis>false</RunCodeAnalysis>
    28     <Prefer32Bit>false</Prefer32Bit>
    29   </PropertyGroup>
    30   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    31     <DebugType>pdbonly</DebugType>
    32     <Optimize>true</Optimize>
    33     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    34     <DefineConstants>TRACE</DefineConstants>
    35     <ErrorReport>prompt</ErrorReport>
    36     <WarningLevel>4</WarningLevel>
    37     <Prefer32Bit>false</Prefer32Bit>
    38   </PropertyGroup>
    39   <PropertyGroup>
    40     <SignAssembly>true</SignAssembly>
    41   </PropertyGroup>
    42   <PropertyGroup>
    43     <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
    44   </PropertyGroup>
    45   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
    46     <DebugSymbols>true</DebugSymbols>
    47     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    48     <DefineConstants>DEBUG;TRACE</DefineConstants>
    49     <DebugType>full</DebugType>
    50     <PlatformTarget>x86</PlatformTarget>
    51     <CodeAnalysisLogFile>bin\Debug\HeuristicLab.DebugEngine.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    52     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    53     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    54     <ErrorReport>prompt</ErrorReport>
    55     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    56     <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    57     <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
    58     <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    59     <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
    60     <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
    61     <Prefer32Bit>false</Prefer32Bit>
    62   </PropertyGroup>
    63   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
    64     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    65     <DefineConstants>TRACE</DefineConstants>
    66     <Optimize>true</Optimize>
    67     <DebugType>pdbonly</DebugType>
    68     <PlatformTarget>x86</PlatformTarget>
    69     <CodeAnalysisLogFile>$(SolutionDir)\bin\HeuristicLab.DebugEngine.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    70     <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    71     <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    72     <ErrorReport>prompt</ErrorReport>
    73     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
    74     <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    75     <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
    76     <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    77     <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
    78     <Prefer32Bit>false</Prefer32Bit>
    79   </PropertyGroup>
    80   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    81     <PlatformTarget>x64</PlatformTarget>
    82     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    83     <Prefer32Bit>false</Prefer32Bit>
    84   </PropertyGroup>
    85   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    86     <PlatformTarget>x64</PlatformTarget>
    87     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    88     <Prefer32Bit>false</Prefer32Bit>
    8912  </PropertyGroup>
    9013  <ItemGroup>
    91     <Reference Include="System" />
    92     <Reference Include="System.Core" />
    93     <Reference Include="System.Drawing" />
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
    9416  </ItemGroup>
    9517  <ItemGroup>
    96     <Compile Include="OperatorTrace.cs" />
    97     <Compile Include="DebugEngine.cs" />
    98     <Compile Include="ExecutionStack.cs" />
    99     <Compile Include="OperationChangedEventArgs.cs" />
    100     <Compile Include="OperationContent.cs" />
    101     <Compile Include="Plugin.cs" />
    102     <Compile Include="Properties\AssemblyInfo.cs" />
    103     <Compile Include="Utils.cs" />
     18    <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj" />
     19    <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-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.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj" />
     23    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj" />
    10424  </ItemGroup>
    105   <ItemGroup>
    106     <None Include="HeuristicLab.snk" />
    107     <None Include="Plugin.cs.frame" />
    108     <None Include="Properties\AssemblyInfo.cs.frame" />
    109   </ItemGroup>
    110   <ItemGroup>
    111     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    112       <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    113       <Name>HeuristicLab.Collections-3.3</Name>
    114       <Private>False</Private>
    115     </ProjectReference>
    116     <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">
    117       <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>
    118       <Name>HeuristicLab.Common.Resources-3.3</Name>
    119       <Private>False</Private>
    120     </ProjectReference>
    121     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    122       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    123       <Name>HeuristicLab.Common-3.3</Name>
    124       <Private>False</Private>
    125     </ProjectReference>
    126     <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    127       <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    128       <Name>HeuristicLab.Core-3.3</Name>
    129       <Private>False</Private>
    130     </ProjectReference>
    131     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    132       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    133       <Name>HeuristicLab.Persistence-3.3</Name>
    134       <Private>False</Private>
    135     </ProjectReference>
    136     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    137       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    138       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    139       <Private>False</Private>
    140     </ProjectReference>
    141   </ItemGroup>
    142   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    143   <PropertyGroup>
    144     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    145 set ProjectDir=$(ProjectDir)
    146 set SolutionDir=$(SolutionDir)
    147 set Outdir=$(Outdir)
    148 
    149 call PreBuildEvent.cmd
    150 </PreBuildEvent>
    151     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    152 export ProjectDir=$(ProjectDir)
    153 export SolutionDir=$(SolutionDir)
    154 
    155 $SolutionDir/PreBuildEvent.sh
    156 </PreBuildEvent>
     25  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     26    <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" />
     27  </Target>
     28  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     29    <OutputPath>..\..\bin\</OutputPath>
     30    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    15731  </PropertyGroup>
    158   <PropertyGroup>
    159     <PostBuildEvent>
    160     </PostBuildEvent>
    161   </PropertyGroup>
    162   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    163        Other similar extension points exist, see Microsoft.Common.targets.
    164   <Target Name="BeforeBuild">
    165   </Target>
    166   <Target Name="AfterBuild">
    167   </Target>
    168   -->
    16932</Project>
Note: See TracChangeset for help on using the changeset viewer.