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

Legend:

Unmodified
Added
Removed
  • branches/2522_RefactorPluginInfrastructure/HeuristicLab.MainForm/3.3/HeuristicLab.MainForm-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>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</ProjectGuid>
    9     <OutputType>Library</OutputType>
    10     <AppDesignerFolder>Properties</AppDesignerFolder>
    11     <RootNamespace>HeuristicLab.MainForm</RootNamespace>
    12     <AssemblyName>HeuristicLab.MainForm-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     <Optimize>true</Optimize>
    76     <DebugType>pdbonly</DebugType>
    77     <PlatformTarget>x64</PlatformTarget>
    78     <ErrorReport>prompt</ErrorReport>
    79     <DocumentationFile>
    80     </DocumentationFile>
    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     <Optimize>true</Optimize>
    98     <DebugType>pdbonly</DebugType>
    99     <PlatformTarget>x86</PlatformTarget>
    100     <ErrorReport>prompt</ErrorReport>
    101     <DocumentationFile>
    102     </DocumentationFile>
    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.MainForm</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.Drawing" />
    112     <Reference Include="System.Xml.Linq">
    113       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    114     </Reference>
    115     <Reference Include="System.Data.DataSetExtensions">
    116       <RequiredTargetFramework>3.5</RequiredTargetFramework>
    117     </Reference>
    118     <Reference Include="System.Data" />
    119     <Reference Include="System.Xml" />
     14    <PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" />
     15    <PackageReference Include="System.Drawing.Common" Version="4.5.0" />
    12016  </ItemGroup>
    12117  <ItemGroup>
    122     <None Include="Plugin.cs.frame" />
    123     <Compile Include="Interfaces\IConfigureableView.cs" />
    124     <Compile Include="Interfaces\IProgress.cs" />
    125     <Compile Include="Plugin.cs" />
    126     <Compile Include="Progress.cs" />
    127     <Compile Include="ViewAttribute.cs" />
    128     <Compile Include="Interfaces\IContentView.cs" />
    129     <Compile Include="Interfaces\IActionUserInterfaceItem.cs" />
    130     <Compile Include="Interfaces\IPositionableUserInterfaceItem.cs" />
    131     <Compile Include="PositionableUserInterfaceItem.cs" />
    132     <Compile Include="TypeExtension.cs" />
    133     <Compile Include="ViewShownEventArgs.cs" />
    134     <Compile Include="ViewEventArgs.cs" />
    135     <Compile Include="ToolBarSeparatorItem.cs" />
    136     <Compile Include="Interfaces\IToolBarSeparatorItem.cs" />
    137     <Compile Include="Interfaces\IMenuItem.cs" />
    138     <Compile Include="Interfaces\IMenuSeparatorItem.cs" />
    139     <Compile Include="Interfaces\IToolBarItem.cs" />
    140     <Compile Include="MainFormManager.cs" />
    141     <Compile Include="MenuSeparatorItem.cs" />
    142     <Compile Include="Interfaces\IMainForm.cs" />
    143     <Compile Include="Interfaces\IUserInterfaceItem.cs" />
    144     <Compile Include="Interfaces\IView.cs" />
    145     <Compile Include="Properties\AssemblyInfo.cs" />
    146     <Compile Include="ActionUserInterfaceItem.cs" />
    147     <Compile Include="ContentAttribute.cs" />
     18    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj" />
     19    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj" />
    14820  </ItemGroup>
    149   <ItemGroup>
    150     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    151       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    152       <Name>HeuristicLab.Common-3.3</Name>
    153       <Private>False</Private>
    154     </ProjectReference>
    155     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    156       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    157       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    158       <Private>False</Private>
    159     </ProjectReference>
    160   </ItemGroup>
    161   <ItemGroup>
    162     <None Include="HeuristicLab.snk" />
    163     <None Include="Properties\AssemblyInfo.cs.frame" />
    164   </ItemGroup>
    165   <ItemGroup>
    166     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
    167       <Visible>False</Visible>
    168       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
    169       <Install>false</Install>
    170     </BootstrapperPackage>
    171     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
    172       <Visible>False</Visible>
    173       <ProductName>.NET Framework 3.5 SP1</ProductName>
    174       <Install>true</Install>
    175     </BootstrapperPackage>
    176     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
    177       <Visible>False</Visible>
    178       <ProductName>Windows Installer 3.1</ProductName>
    179       <Install>true</Install>
    180     </BootstrapperPackage>
    181   </ItemGroup>
    182   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    183   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
    184        Other similar extension points exist, see Microsoft.Common.targets.
    185   <Target Name="BeforeBuild">
     21  <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
     22    <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" />
    18623  </Target>
    187   <Target Name="AfterBuild">
    188   </Target>
    189   -->
    190   <PropertyGroup>
    191     <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    192 set ProjectDir=$(ProjectDir)
    193 set SolutionDir=$(SolutionDir)
    194 set Outdir=$(Outdir)
    195 
    196 call PreBuildEvent.cmd
    197 </PreBuildEvent>
    198     <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    199 export ProjectDir=$(ProjectDir)
    200 export SolutionDir=$(SolutionDir)
    201 
    202 $SolutionDir/PreBuildEvent.sh
    203 </PreBuildEvent>
     24  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
     25    <OutputPath>..\..\bin\</OutputPath>
     26    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    20427  </PropertyGroup>
    20528</Project>
Note: See TracChangeset for help on using the changeset viewer.