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

Legend:

Unmodified
Added
Removed
  • branches/2522_RefactorPluginInfrastructure/HeuristicLab.Collections/3.3/HeuristicLab.Collections-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>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</ProjectGuid>
    9     <OutputType>Library</OutputType>
    10     <AppDesignerFolder>Properties</AppDesignerFolder>
    11     <RootNamespace>HeuristicLab.Collections</RootNamespace>
    12     <AssemblyName>HeuristicLab.Collections-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     <DocumentationFile>
    58     </DocumentationFile>
    59     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    60     <Prefer32Bit>false</Prefer32Bit>
    61   </PropertyGroup>
    62   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
    63     <DebugSymbols>true</DebugSymbols>
    64     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    65     <DefineConstants>DEBUG;TRACE</DefineConstants>
    66     <DebugType>full</DebugType>
    67     <PlatformTarget>x64</PlatformTarget>
    68     <ErrorReport>prompt</ErrorReport>
    69     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    70     <Prefer32Bit>false</Prefer32Bit>
    71   </PropertyGroup>
    72   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
    73     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    74     <DefineConstants>TRACE</DefineConstants>
    75     <DocumentationFile>
    76     </DocumentationFile>
    77     <Optimize>true</Optimize>
    78     <DebugType>pdbonly</DebugType>
    79     <PlatformTarget>x64</PlatformTarget>
    80     <ErrorReport>prompt</ErrorReport>
    81     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    82     <Prefer32Bit>false</Prefer32Bit>
    83   </PropertyGroup>
    84   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    85     <DebugSymbols>true</DebugSymbols>
    86     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    87     <DefineConstants>DEBUG;TRACE</DefineConstants>
    88     <DebugType>full</DebugType>
    89     <PlatformTarget>x86</PlatformTarget>
    90     <ErrorReport>prompt</ErrorReport>
    91     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    92     <Prefer32Bit>false</Prefer32Bit>
    93   </PropertyGroup>
    94   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    95     <OutputPath>$(SolutionDir)\bin\</OutputPath>
    96     <DefineConstants>TRACE</DefineConstants>
    97     <DocumentationFile>
    98     </DocumentationFile>
    99     <Optimize>true</Optimize>
    100     <DebugType>pdbonly</DebugType>
    101     <PlatformTarget>x86</PlatformTarget>
    102     <ErrorReport>prompt</ErrorReport>
    103     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    104     <Prefer32Bit>false</Prefer32Bit>
     9    <AssemblyVersion>3.3.0.0</AssemblyVersion>
     10    <AssemblyFileVersion>3.3.15.0</AssemblyFileVersion>
     11    <RootNamespace>HeuristicLab.Collections</RootNamespace>
    10512  </PropertyGroup>
    10613  <ItemGroup>
    107     <Reference Include="System" />
    108     <Reference Include="System.Core">
    109       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    110     </Reference>
    111     <Reference Include="System.Xml.Linq">
    112       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    113     </Reference>
    114     <Reference Include="System.Data.DataSetExtensions">
    115       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    116     </Reference>
    117     <Reference Include="System.Data" />
    118     <Reference Include="System.Xml" />
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
    11916  </ItemGroup>
    12017  <ItemGroup>
    121     <None Include="Plugin.cs.frame" />
    122     <Compile Include="BidirectionalDictionary.cs" />
    123     <Compile Include="BidirectionalLookup.cs" />
    124     <Compile Include="ReadOnlyObservableKeyedList.cs" />
    125     <Compile Include="INotifyObservableListItemsChanged.cs" />
    126     <Compile Include="INotifyObservableKeyedCollectionItemsChanged.cs" />
    127     <Compile Include="INotifyObservableDictionaryItemsChanged.cs" />
    128     <Compile Include="INotifyObservableCollectionItemsChanged.cs" />
    129     <Compile Include="INotifyObservableArrayItemsChanged.cs" />
    130     <Compile Include="IObservableKeyedList.cs" />
    131     <Compile Include="ObservableKeyedList.cs" />
    132     <Compile Include="Plugin.cs" />
    133     <Compile Include="ReadOnlyObservableArray.cs" />
    134     <Compile Include="ObservableArray.cs" />
    135     <Compile Include="IObservableArray.cs" />
    136     <Compile Include="ObservableKeyedCollection.cs" />
    137     <Compile Include="ReadOnlyObservableSet.cs" />
    138     <Compile Include="IObservableSet.cs" />
    139     <Compile Include="ObservableSet.cs">
    140       <SubType>Code</SubType>
    141     </Compile>
    142     <Compile Include="ReadOnlyObservableKeyedCollection.cs">
    143       <SubType>Code</SubType>
    144     </Compile>
    145     <Compile Include="ReadOnlyObservableList.cs" />
    146     <Compile Include="ReadOnlyObservableDictionary.cs" />
    147     <Compile Include="ReadOnlyObservableCollection.cs" />
    148     <Compile Include="IObservableKeyedCollection.cs" />
    149     <Compile Include="IObservableList.cs" />
    150     <Compile Include="IObservableCollection.cs" />
    151     <Compile Include="IObservableDictionary.cs" />
    152     <Compile Include="ObservableCollection.cs" />
    153     <Compile Include="IndexedItem.cs" />
    154     <Compile Include="ObservableList.cs" />
    155     <Compile Include="CollectionItemsChangedEventArgs.cs" />
    156     <Compile Include="CollectionItemsChangedEventHandler.cs" />
    157     <Compile Include="ObservableDictionary.cs" />
    158     <Compile Include="Properties\AssemblyInfo.cs" />
     18    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj" />
     19    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj" />
     20    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj" />
    15921  </ItemGroup>
    160   <ItemGroup>
    161     <None Include="HeuristicLab.snk" />
    162     <None Include="Properties\AssemblyInfo.cs.frame" />
    163   </ItemGroup>
    164   <ItemGroup>
    165     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    166       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    167       <Name>HeuristicLab.Common-3.3</Name>
    168     </ProjectReference>
    169     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    170       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    171       <Name>HeuristicLab.Persistence-3.3</Name>
    172       <Private>False</Private>
    173     </ProjectReference>
    174     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    175       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    176       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    177       <Private>False</Private>
    178     </ProjectReference>
    179   </ItemGroup>
    180   <ItemGroup>
    181     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
    182       <Visible>False</Visible>
    183       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
    184       <Install>false</Install>
    185     </BootstrapperPackage>
    186     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
    187       <Visible>False</Visible>
    188       <ProductName>.NET Framework 3.5 SP1</ProductName>
    189       <Install>true</Install>
    190     </BootstrapperPackage>
    191     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
    192       <Visible>False</Visible>
    193       <ProductName>Windows Installer 3.1</ProductName>
    194       <Install>true</Install>
    195     </BootstrapperPackage>
    196   </ItemGroup>
    197   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    198   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    199        Other similar extension points exist, see Microsoft.Common.targets.
    200   <Target Name="BeforeBuild">
     22  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     23    <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" />
    20124  </Target>
    202   <Target Name="AfterBuild">
    203   </Target>
    204   -->
    205   <PropertyGroup>
    206     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    207 set ProjectDir=$(ProjectDir)
    208 set SolutionDir=$(SolutionDir)
    209 set Outdir=$(Outdir)
    210 
    211 call PreBuildEvent.cmd
    212 </PreBuildEvent>
    213     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    214 export ProjectDir=$(ProjectDir)
    215 export SolutionDir=$(SolutionDir)
    216 
    217 $SolutionDir/PreBuildEvent.sh
    218 </PreBuildEvent>
     25  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     26    <OutputPath>..\..\bin\</OutputPath>
     27    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    21928  </PropertyGroup>
    22029</Project>
Note: See TracChangeset for help on using the changeset viewer.