Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/HeuristicLab.JsonInterface.OptimizerIntegration.csproj @ 17410

Last change on this file since 17410 was 17410, checked in by dpiringe, 4 years ago

#3026:

  • deleted JsonItemArrayControl and JsonItemDefaultControl
  • redesigned architecture for JsonItem: now there are different types of JsonItem (IntJsonItem, BoolJsonItem, ...) -> for better type safety and expandability
  • fixed bug in BaseConverter for GetMinValue and GetMaxValue for IntValue, but ignored for other value types (DoubleValue, DateTimeValue, ...) because the redesign of JsonItem-Architecture can make these two methods obsolet soon
  • fixed bug in JsonItemConverter to prevent null pointer exceptions
  • refactored value and range converters -> removed complicated generic ValueTypeValueConverter and ValueRangeConverter and implemented the necessary methods directly in concrete classes (improves readability and removes the need of reflection)
  • redesigned view handling in OptimizerIntegration -> dynamically seaches for JsonItemVMBase implementations, which are connected with a view
    • this enables better scaling with more user controls
  • JsonItemVMBase implements MVVM architecture
File size: 10.7 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4  <PropertyGroup>
5    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7    <ProjectGuid>{5A3413F8-0928-4167-80E7-AAD9D6E38A94}</ProjectGuid>
8    <OutputType>Library</OutputType>
9    <AppDesignerFolder>Properties</AppDesignerFolder>
10    <RootNamespace>HeuristicLab.JsonInterface.OptimizerIntegration</RootNamespace>
11    <AssemblyName>HeuristicLab.JsonInterface.OptimizerIntegration</AssemblyName>
12    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
13    <FileAlignment>512</FileAlignment>
14    <Deterministic>true</Deterministic>
15  </PropertyGroup>
16  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17    <DebugSymbols>true</DebugSymbols>
18    <DebugType>full</DebugType>
19    <Optimize>false</Optimize>
20    <OutputPath>..\bin\</OutputPath>
21    <DefineConstants>DEBUG;TRACE</DefineConstants>
22    <ErrorReport>prompt</ErrorReport>
23    <WarningLevel>4</WarningLevel>
24  </PropertyGroup>
25  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26    <DebugType>pdbonly</DebugType>
27    <Optimize>true</Optimize>
28    <OutputPath>bin\Release\</OutputPath>
29    <DefineConstants>TRACE</DefineConstants>
30    <ErrorReport>prompt</ErrorReport>
31    <WarningLevel>4</WarningLevel>
32  </PropertyGroup>
33  <PropertyGroup>
34    <SignAssembly>true</SignAssembly>
35  </PropertyGroup>
36  <PropertyGroup>
37    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
38  </PropertyGroup>
39  <ItemGroup>
40    <Reference Include="HeuristicLab.Analysis-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
41      <SpecificVersion>False</SpecificVersion>
42      <HintPath>..\bin\HeuristicLab.Analysis-3.3.dll</HintPath>
43    </Reference>
44    <Reference Include="HeuristicLab.Analysis.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
45      <SpecificVersion>False</SpecificVersion>
46      <HintPath>..\bin\HeuristicLab.Analysis.Views-3.3.dll</HintPath>
47    </Reference>
48    <Reference Include="HeuristicLab.Collections-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
49      <SpecificVersion>False</SpecificVersion>
50      <HintPath>..\bin\HeuristicLab.Collections-3.3.dll</HintPath>
51    </Reference>
52    <Reference Include="HeuristicLab.Common.Resources-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
53      <SpecificVersion>False</SpecificVersion>
54      <HintPath>..\bin\HeuristicLab.Common.Resources-3.3.dll</HintPath>
55    </Reference>
56    <Reference Include="HeuristicLab.Core.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
57      <SpecificVersion>False</SpecificVersion>
58      <HintPath>..\bin\HeuristicLab.Core.Views-3.3.dll</HintPath>
59    </Reference>
60    <Reference Include="HeuristicLab.Data-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
61      <SpecificVersion>False</SpecificVersion>
62      <HintPath>..\bin\HeuristicLab.Data-3.3.dll</HintPath>
63    </Reference>
64    <Reference Include="HeuristicLab.Optimization.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
65      <SpecificVersion>False</SpecificVersion>
66      <HintPath>..\bin\HeuristicLab.Optimization.Views-3.3.dll</HintPath>
67    </Reference>
68    <Reference Include="System" />
69    <Reference Include="System.Core" />
70    <Reference Include="System.Drawing" />
71    <Reference Include="System.Windows.Forms" />
72    <Reference Include="System.Xml.Linq" />
73    <Reference Include="System.Data.DataSetExtensions" />
74    <Reference Include="Microsoft.CSharp" />
75    <Reference Include="System.Data" />
76    <Reference Include="System.Net.Http" />
77    <Reference Include="System.Xml" />
78  </ItemGroup>
79  <ItemGroup>
80    <Compile Include="Interfaces\IJsonItemValueParser.cs" />
81    <Compile Include="Parser\JsonItemDoubleValueParser.cs" />
82    <Compile Include="Parser\JsonItemIntValueParser.cs" />
83    <Compile Include="Properties\Resources.Designer.cs">
84      <AutoGen>True</AutoGen>
85      <DesignTime>True</DesignTime>
86      <DependentUpon>Resources.resx</DependentUpon>
87    </Compile>
88    <Compile Include="Shared\JsonItemBaseControl.cs">
89      <SubType>UserControl</SubType>
90    </Compile>
91    <Compile Include="Shared\JsonItemBaseControl.Designer.cs">
92      <DependentUpon>JsonItemBaseControl.cs</DependentUpon>
93    </Compile>
94    <Compile Include="Shared\NumericRangeControl.cs">
95      <SubType>UserControl</SubType>
96    </Compile>
97    <Compile Include="Shared\NumericRangeControl.Designer.cs">
98      <DependentUpon>NumericRangeControl.cs</DependentUpon>
99    </Compile>
100    <Compile Include="ViewModels\JsonItemVMBase.cs" />
101    <Compile Include="ViewModels\RangeVM.cs" />
102    <Compile Include="ViewModels\SingleValueVM.cs" />
103    <Compile Include="ViewModels\StringValueVM.cs" />
104    <Compile Include="Views\ExportJsonDialog.cs">
105      <SubType>Form</SubType>
106    </Compile>
107    <Compile Include="Views\ExportJsonDialog.Designer.cs">
108      <DependentUpon>ExportJsonDialog.cs</DependentUpon>
109    </Compile>
110    <Compile Include="FileManager.cs" />
111    <Compile Include="Views\JsonItemBoolControl.cs">
112      <SubType>UserControl</SubType>
113    </Compile>
114    <Compile Include="Views\JsonItemBoolControl.Designer.cs">
115      <DependentUpon>JsonItemBoolControl.cs</DependentUpon>
116    </Compile>
117    <Compile Include="Views\JsonItemRangeControl.cs">
118      <SubType>UserControl</SubType>
119    </Compile>
120    <Compile Include="Views\JsonItemRangeControl.Designer.cs">
121      <DependentUpon>JsonItemRangeControl.cs</DependentUpon>
122    </Compile>
123    <Compile Include="Views\JsonItemValueControl.cs">
124      <SubType>UserControl</SubType>
125    </Compile>
126    <Compile Include="Views\JsonItemValueControl.Designer.cs">
127      <DependentUpon>JsonItemValueControl.cs</DependentUpon>
128    </Compile>
129    <Compile Include="Views\JsonItemValidValuesControl.cs">
130      <SubType>UserControl</SubType>
131    </Compile>
132    <Compile Include="Views\JsonItemValidValuesControl.Designer.cs">
133      <DependentUpon>JsonItemValidValuesControl.cs</DependentUpon>
134    </Compile>
135    <Compile Include="ViewModels\JsonItemVM.cs" />
136    <Compile Include="MenuItems\ImportJsonTemplateMenuItem.cs" />
137    <Compile Include="MenuItems\ExportJsonTemplateMenuItem.cs" />
138    <Compile Include="Plugin.cs" />
139    <Compile Include="Properties\AssemblyInfo.cs" />
140  </ItemGroup>
141  <ItemGroup>
142    <None Include="HeuristicLab.snk" />
143    <None Include="Plugin.cs.frame" />
144  </ItemGroup>
145  <ItemGroup>
146    <ProjectReference Include="..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
147      <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
148      <Name>HeuristicLab.Common-3.3</Name>
149    </ProjectReference>
150    <ProjectReference Include="..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
151      <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
152      <Name>HeuristicLab.Core-3.3</Name>
153    </ProjectReference>
154    <ProjectReference Include="..\HeuristicLab.Data.Views\3.3\HeuristicLab.Data.Views-3.3.csproj">
155      <Project>{72104A0B-90E7-42F3-9ABE-9BBBADD4B943}</Project>
156      <Name>HeuristicLab.Data.Views-3.3</Name>
157    </ProjectReference>
158    <ProjectReference Include="..\HeuristicLab.JsonInterface\HeuristicLab.JsonInterface.csproj">
159      <Project>{0e3aab5e-f152-44e0-a054-4d9a83ecee08}</Project>
160      <Name>HeuristicLab.JsonInterface</Name>
161    </ProjectReference>
162    <ProjectReference Include="..\HeuristicLab.MainForm.WindowsForms\3.3\HeuristicLab.MainForm.WindowsForms-3.3.csproj">
163      <Project>{ab687bbe-1bfe-476b-906d-44237135431d}</Project>
164      <Name>HeuristicLab.MainForm.WindowsForms-3.3</Name>
165    </ProjectReference>
166    <ProjectReference Include="..\HeuristicLab.MainForm\3.3\HeuristicLab.MainForm-3.3.csproj">
167      <Project>{3bd61258-31da-4b09-89c0-4f71fef5f05a}</Project>
168      <Name>HeuristicLab.MainForm-3.3</Name>
169    </ProjectReference>
170    <ProjectReference Include="..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
171      <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
172      <Name>HeuristicLab.Optimization-3.3</Name>
173    </ProjectReference>
174    <ProjectReference Include="..\HeuristicLab.Optimizer\3.3\HeuristicLab.Optimizer-3.3.csproj">
175      <Project>{C664305E-497C-4533-A140-967DEDB05C19}</Project>
176      <Name>HeuristicLab.Optimizer-3.3</Name>
177    </ProjectReference>
178    <ProjectReference Include="..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
179      <Project>{94186a6a-5176-4402-ae83-886557b53cca}</Project>
180      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
181    </ProjectReference>
182  </ItemGroup>
183  <ItemGroup>
184    <EmbeddedResource Include="Properties\Resources.resx">
185      <Generator>ResXFileCodeGenerator</Generator>
186      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
187    </EmbeddedResource>
188    <EmbeddedResource Include="Shared\JsonItemBaseControl.resx">
189      <DependentUpon>JsonItemBaseControl.cs</DependentUpon>
190    </EmbeddedResource>
191    <EmbeddedResource Include="Shared\NumericRangeControl.resx">
192      <DependentUpon>NumericRangeControl.cs</DependentUpon>
193    </EmbeddedResource>
194    <EmbeddedResource Include="Views\ExportJsonDialog.resx">
195      <DependentUpon>ExportJsonDialog.cs</DependentUpon>
196    </EmbeddedResource>
197    <EmbeddedResource Include="Views\JsonItemBoolControl.resx">
198      <DependentUpon>JsonItemBoolControl.cs</DependentUpon>
199    </EmbeddedResource>
200    <EmbeddedResource Include="Views\JsonItemRangeControl.resx">
201      <DependentUpon>JsonItemRangeControl.cs</DependentUpon>
202    </EmbeddedResource>
203    <EmbeddedResource Include="Views\JsonItemValueControl.resx">
204      <DependentUpon>JsonItemValueControl.cs</DependentUpon>
205    </EmbeddedResource>
206    <EmbeddedResource Include="Views\JsonItemValidValuesControl.resx">
207      <DependentUpon>JsonItemValidValuesControl.cs</DependentUpon>
208    </EmbeddedResource>
209  </ItemGroup>
210  <ItemGroup />
211  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
212  <PropertyGroup>
213    <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
214set ProjectDir=$(ProjectDir)
215set SolutionDir=$(SolutionDir)
216set Outdir=$(Outdir)
217
218call PreBuildEvent.cmd
219
220</PreBuildEvent>
221  </PropertyGroup>
222</Project>
Note: See TracBrowser for help on using the repository browser.