Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2924_DotNetCoreMigration/HeuristicLab/3.3/HeuristicLab-3.3.csproj @ 17013

Last change on this file since 17013 was 17013, checked in by dpiringe, 5 years ago

#2924:

  • some changes in CLIApplication.cs to reduce unnecessary allocation of string objects
  • renamed AppTest to ConsoleOptimizer and fixed race condition
  • replaced enum RunnerJob with class RunnerMessage for more control of saved data
  • changed usage of BinaryFormatter with HEAL.Attic, following types are now Storable:
    • ConsoleOptimizer
    • InspectApplication
    • ApplicationBase
    • ApplicationRunner
    • AssemblyInfo
    • Runner
    • UniPath
    • RunnerMessage
  • switched QuietMode from ApplicationRunner to IRunner
  • DockerRunnerHost can now automatically build docker images for linux and windows containers (also identifies which container type is active) -> removes the condition to have the image preinstalled
    • to achieve this, there are two new folders DockerLinuxBuild and DockerWindowsBuild included in build output, which include Dockerfiles to build images for linux and windows container
  • added NuGet package System.CodeDom to project HeuristicLab.Scripting-3.3
  • added method Send(RunnerMessage) to IRunnerHost and transferred methods Pause and Resume to IRunner
  • added internal reference of RunnerHost in Runner
  • added abstract method SendMessage(RunnerMessage) in RunnerHost which gets called from method Send(RunnerMessage)
  • because of a Google.Protobuf "bug", RunnerMessages cannot get serialized/deserialized directly on stream -> workaround with a byte array, which gets written and read
    • additionally, the length of the array gets sent first (length as integer -> 4 bytes)
    • static method in RunnerMessage to read a message from a stream
    • the method SendMessage(RunnerMessage) in RunnerHost implements this functionality
File size: 2.0 KB
Line 
1<Project Sdk="Microsoft.NET.Sdk">
2
3  <PropertyGroup>
4    <OutputType>Exe</OutputType>
5    <TargetFramework>netcoreapp3.0</TargetFramework>
6    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
7    <DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
8    <Copyright>(c) 2002-2018 HEAL</Copyright>
9    <Product>HeuristicLab</Product>
10    <SignAssembly>true</SignAssembly>
11    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
12    <AssemblyVersion>3.3.15.0</AssemblyVersion>
13    <AssemblyFileVersion>3.3.15.0</AssemblyFileVersion>
14    <RootNamespace>HeuristicLab</RootNamespace>
15    <ApplicationIcon>HeuristicLab.ico</ApplicationIcon>
16    <ApplicationManifest>app.manifest</ApplicationManifest>
17  </PropertyGroup>
18
19  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
20    <OutputPath>..\..\bin\</OutputPath>
21  </PropertyGroup>
22
23  <ItemGroup>
24    <PackageReference Include="Google.Protobuf" Version="3.6.1" />
25    <PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.7.9" />
26  </ItemGroup>
27
28  <ItemGroup>
29    <ProjectReference Include="..\..\HeuristicLab.CommandLineInterface\HeuristicLab.CommandLineInterface.csproj" />
30    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj" />
31    <ProjectReference Include="..\..\HeuristicLab.DynamicAssemblyTestApp\HeuristicLab.DynamicAssemblyTestApp.csproj" />
32    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj" />
33  </ItemGroup>
34
35  <ItemGroup>
36    <Reference Include="HEAL.Attic">
37      <HintPath>..\..\bin\HEAL.Attic.dll</HintPath>
38    </Reference>
39  </ItemGroup>
40
41  <ItemGroup>
42    <None Include="$(SolutionDir)\HeuristicLab\3.3\DockerWindowsBuild\**" CopyToOutputDirectory="Always" LinkBase="DockerWindowsBuild\" />
43    <None Include="$(SolutionDir)\HeuristicLab\3.3\DockerLinuxBuild\**" CopyToOutputDirectory="Always" LinkBase="DockerLinuxBuild\" />
44  </ItemGroup>
45
46</Project>
Note: See TracBrowser for help on using the repository browser.