Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Optimizer/3.3/HeuristicLab.Optimizer-3.3.csproj @ 11552

Last change on this file since 11552 was 11514, checked in by jkarder, 10 years ago

#2211:

  • updated/added unit tests
    • added AssemblyInitialize method to load all plugins, create output directories for (script) samples and initialize the MainForm
    • script code is now stored in test resource files
    • refactored unit tests
  • updated (script) samples
  • added Test.cmd
File size: 16.8 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <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>{C664305E-497C-4533-A140-967DEDB05C19}</ProjectGuid>
9    <OutputType>Library</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>HeuristicLab.Optimizer</RootNamespace>
12    <AssemblyName>HeuristicLab.Optimizer-3.3</AssemblyName>
13    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14    <TargetFrameworkProfile>
15    </TargetFrameworkProfile>
16    <FileAlignment>512</FileAlignment>
17    <SignAssembly>true</SignAssembly>
18    <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  </PropertyGroup>
49  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
50    <DebugType>pdbonly</DebugType>
51    <Optimize>true</Optimize>
52    <OutputPath>$(SolutionDir)\bin\</OutputPath>
53    <DefineConstants>TRACE</DefineConstants>
54    <ErrorReport>prompt</ErrorReport>
55    <WarningLevel>4</WarningLevel>
56    <DocumentationFile>
57    </DocumentationFile>
58    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
59  </PropertyGroup>
60  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
61    <DebugSymbols>true</DebugSymbols>
62    <OutputPath>$(SolutionDir)\bin\</OutputPath>
63    <DefineConstants>DEBUG;TRACE</DefineConstants>
64    <DebugType>full</DebugType>
65    <PlatformTarget>x64</PlatformTarget>
66    <ErrorReport>prompt</ErrorReport>
67    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
68  </PropertyGroup>
69  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
70    <OutputPath>$(SolutionDir)\bin\</OutputPath>
71    <DefineConstants>TRACE</DefineConstants>
72    <DocumentationFile>
73    </DocumentationFile>
74    <Optimize>true</Optimize>
75    <DebugType>pdbonly</DebugType>
76    <PlatformTarget>x64</PlatformTarget>
77    <ErrorReport>prompt</ErrorReport>
78    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
79  </PropertyGroup>
80  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
81    <DebugSymbols>true</DebugSymbols>
82    <OutputPath>$(SolutionDir)\bin\</OutputPath>
83    <DefineConstants>DEBUG;TRACE</DefineConstants>
84    <DebugType>full</DebugType>
85    <PlatformTarget>x86</PlatformTarget>
86    <ErrorReport>prompt</ErrorReport>
87    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
88  </PropertyGroup>
89  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
90    <OutputPath>$(SolutionDir)\bin\</OutputPath>
91    <DefineConstants>TRACE</DefineConstants>
92    <DocumentationFile>
93    </DocumentationFile>
94    <Optimize>true</Optimize>
95    <DebugType>pdbonly</DebugType>
96    <PlatformTarget>x86</PlatformTarget>
97    <ErrorReport>prompt</ErrorReport>
98    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
99  </PropertyGroup>
100  <ItemGroup>
101    <Reference Include="Microsoft.CSharp" />
102    <Reference Include="System" />
103    <Reference Include="System.Core">
104      <RequiredTargetFramework>3.5</RequiredTargetFramework>
105    </Reference>
106    <Reference Include="System.Drawing" />
107    <Reference Include="System.Windows.Forms" />
108    <Reference Include="System.Xml.Linq">
109      <RequiredTargetFramework>3.5</RequiredTargetFramework>
110    </Reference>
111    <Reference Include="System.Data.DataSetExtensions">
112      <RequiredTargetFramework>3.5</RequiredTargetFramework>
113    </Reference>
114    <Reference Include="System.Data" />
115    <Reference Include="System.Xml" />
116  </ItemGroup>
117  <ItemGroup>
118    <EmbeddedResource Include="CreateExperimentDialog.resx">
119      <DependentUpon>CreateExperimentDialog.cs</DependentUpon>
120    </EmbeddedResource>
121    <EmbeddedResource Include="Documents\GA_VRP.hl" />
122    <EmbeddedResource Include="Documents\SGP_SymbClass.hl" />
123    <EmbeddedResource Include="Documents\SGP_SymbReg.hl" />
124    <EmbeddedResource Include="Documents\VNS_TSP.hl" />
125    <EmbeddedResource Include="Documents\PSO_Schwefel.hl" />
126    <EmbeddedResource Include="Documents\SS_VRP.hl" />
127    <EmbeddedResource Include="Documents\RAPGA_JSSP.hl" />
128    <EmbeddedResource Include="Documents\GPR.hl" />
129    <EmbeddedResource Include="Documents\TS_VRP.hl" />
130    <EmbeddedResource Include="Documents\GE_ArtificialAnt.hl" />
131    <EmbeddedResource Include="Documents\GE_SymbReg.hl" />
132    <EmbeddedResource Include="Documents\GA_QAP_Script.hl" />
133    <EmbeddedResource Include="Documents\GUI_Automation_Script.hl" />
134    <EmbeddedResource Include="Documents\OSGA_Rastrigin_Script.hl" />
135    <EmbeddedResource Include="Documents\GP_Multiplexer.hl" />
136    <EmbeddedResource Include="Documents\OSGP_TimeSeries.hl" />
137    <EmbeddedResource Include="Documents\GridSearch_RF_Classification_Script.hl" />
138    <EmbeddedResource Include="Documents\GridSearch_RF_Regression_Script.hl" />
139    <EmbeddedResource Include="Documents\GridSearch_SVM_Classification_Script.hl" />
140    <EmbeddedResource Include="Documents\GridSearch_SVM_Regression_Script.hl" />
141    <None Include="Plugin.cs.frame" />
142    <Compile Include="OptimizerSingleDocumentMainForm.cs">
143      <SubType>Form</SubType>
144    </Compile>
145    <Compile Include="OptimizerSingleDocumentMainForm.Designer.cs">
146      <DependentUpon>OptimizerSingleDocumentMainForm.cs</DependentUpon>
147    </Compile>
148    <Compile Include="MainFormTypeSelectionDialog.cs">
149      <SubType>Form</SubType>
150    </Compile>
151    <Compile Include="MainFormTypeSelectionDialog.Designer.cs">
152      <DependentUpon>MainFormTypeSelectionDialog.cs</DependentUpon>
153    </Compile>
154    <Compile Include="MenuItems\ChangeMainFormTypeMenuItem.cs" />
155    <Compile Include="MenuItems\ChangeMainFormTypeSeperator.cs" />
156    <Compile Include="OptimizerMultipleDocumentMainForm.cs">
157      <SubType>Form</SubType>
158    </Compile>
159    <Compile Include="OptimizerMultipleDocumentMainForm.Designer.cs">
160      <DependentUpon>OptimizerMultipleDocumentMainForm.cs</DependentUpon>
161    </Compile>
162    <Compile Include="CreateExperimentDialog.cs">
163      <SubType>Form</SubType>
164    </Compile>
165    <Compile Include="CreateExperimentDialog.Designer.cs">
166      <DependentUpon>CreateExperimentDialog.cs</DependentUpon>
167    </Compile>
168    <Compile Include="FileManager.cs" />
169    <Compile Include="MenuItems\ClipboardMenuItem.cs" />
170    <Compile Include="MenuItems\AboutMenuItem.cs" />
171    <Compile Include="MenuItems\ConvertIntoUserDefinedAlgorithmMenuItem.cs" />
172    <Compile Include="MenuItems\UsernamePasswordMenuItem.cs" />
173    <Compile Include="MenuItems\CreateExperimentMenuItem.cs" />
174    <Compile Include="MenuItems\CopyToClipboardMenuItem.cs" />
175    <Compile Include="MenuItems\StartPageMenuItem.cs" />
176    <Compile Include="Plugin.cs" />
177    <Compile Include="Properties\Settings.Designer.cs">
178      <AutoGen>True</AutoGen>
179      <DesignTimeSharedInput>True</DesignTimeSharedInput>
180      <DependentUpon>Settings.settings</DependentUpon>
181    </Compile>
182    <Compile Include="StartPage.cs">
183      <SubType>UserControl</SubType>
184    </Compile>
185    <Compile Include="StartPage.Designer.cs">
186      <DependentUpon>StartPage.cs</DependentUpon>
187    </Compile>
188    <Compile Include="MenuItems\CloseMenuItem.cs" />
189    <Compile Include="MenuItems\CloseAllMenuItem.cs" />
190    <Compile Include="MenuItems\OperatorsMenuItem.cs" />
191    <Compile Include="MenuItems\SaveAsMenuItem.cs" />
192    <Compile Include="MenuItems\SaveMenuItem.cs" />
193    <Compile Include="MenuItems\OpenMenuItem.cs" />
194    <Compile Include="MenuItems\ExitMenuItem.cs" />
195    <Compile Include="IOptimizerUserInterfaceItemProvider.cs" />
196    <Compile Include="MenuItems\NewMenuItem.cs" />
197    <Compile Include="MenuItems\Separators.cs" />
198    <Compile Include="NewItemDialog.cs">
199      <SubType>Form</SubType>
200    </Compile>
201    <Compile Include="NewItemDialog.Designer.cs">
202      <DependentUpon>NewItemDialog.cs</DependentUpon>
203    </Compile>
204    <Compile Include="OptimizerDockingMainForm.cs">
205      <SubType>Form</SubType>
206    </Compile>
207    <Compile Include="OptimizerDockingMainForm.Designer.cs">
208      <DependentUpon>OptimizerDockingMainForm.cs</DependentUpon>
209    </Compile>
210    <Compile Include="Properties\AssemblyInfo.cs" />
211    <Compile Include="ToolBarItems\SaveToolBarItem.cs" />
212    <Compile Include="ToolBarItems\OpenToolBarItem.cs" />
213    <Compile Include="ToolBarItems\NewToolBarItem.cs" />
214  </ItemGroup>
215  <ItemGroup>
216    <None Include="app.config" />
217    <EmbeddedResource Include="Documents\FirstSteps.rtf" />
218    <None Include="HeuristicLab.snk" />
219    <None Include="Properties\AssemblyInfo.cs.frame" />
220    <None Include="Properties\Settings.settings">
221      <Generator>SettingsSingleFileGenerator</Generator>
222      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
223    </None>
224  </ItemGroup>
225  <ItemGroup>
226    <ProjectReference Include="..\..\HeuristicLab.Clients.Access\3.3\HeuristicLab.Clients.Access-3.3.csproj">
227      <Project>{494F87F4-0F25-4D33-A382-10CDB2174D48}</Project>
228      <Name>HeuristicLab.Clients.Access-3.3</Name>
229      <Private>False</Private>
230    </ProjectReference>
231    <ProjectReference Include="..\..\HeuristicLab.Clients.Common\3.3\HeuristicLab.Clients.Common-3.3.csproj">
232      <Project>{730A9104-D4D1-4360-966B-E49B7571DDA3}</Project>
233      <Name>HeuristicLab.Clients.Common-3.3</Name>
234      <Private>False</Private>
235    </ProjectReference>
236    <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
237      <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
238      <Name>HeuristicLab.Collections-3.3</Name>
239      <Private>False</Private>
240    </ProjectReference>
241    <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">
242      <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>
243      <Name>HeuristicLab.Common.Resources-3.3</Name>
244      <Private>False</Private>
245    </ProjectReference>
246    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
247      <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
248      <Name>HeuristicLab.Common-3.3</Name>
249      <Private>False</Private>
250    </ProjectReference>
251    <ProjectReference Include="..\..\HeuristicLab.Core.Views\3.3\HeuristicLab.Core.Views-3.3.csproj">
252      <Project>{E226881D-315F-423D-B419-A766FE0D8685}</Project>
253      <Name>HeuristicLab.Core.Views-3.3</Name>
254      <Private>False</Private>
255    </ProjectReference>
256    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
257      <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
258      <Name>HeuristicLab.Core-3.3</Name>
259      <Private>False</Private>
260    </ProjectReference>
261    <ProjectReference Include="..\..\HeuristicLab.Data.Views\3.3\HeuristicLab.Data.Views-3.3.csproj">
262      <Project>{72104A0B-90E7-42F3-9ABE-9BBBADD4B943}</Project>
263      <Name>HeuristicLab.Data.Views-3.3</Name>
264      <Private>False</Private>
265    </ProjectReference>
266    <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
267      <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
268      <Name>HeuristicLab.Data-3.3</Name>
269      <Private>False</Private>
270    </ProjectReference>
271    <ProjectReference Include="..\..\HeuristicLab.MainForm.WindowsForms\3.3\HeuristicLab.MainForm.WindowsForms-3.3.csproj">
272      <Project>{AB687BBE-1BFE-476B-906D-44237135431D}</Project>
273      <Name>HeuristicLab.MainForm.WindowsForms-3.3</Name>
274      <Private>False</Private>
275    </ProjectReference>
276    <ProjectReference Include="..\..\HeuristicLab.MainForm\3.3\HeuristicLab.MainForm-3.3.csproj">
277      <Project>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</Project>
278      <Name>HeuristicLab.MainForm-3.3</Name>
279      <Private>False</Private>
280    </ProjectReference>
281    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
282      <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
283      <Name>HeuristicLab.Optimization-3.3</Name>
284      <Private>False</Private>
285    </ProjectReference>
286    <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
287      <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
288      <Name>HeuristicLab.Parameters-3.3</Name>
289      <Private>False</Private>
290    </ProjectReference>
291    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
292      <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
293      <Name>HeuristicLab.Persistence-3.3</Name>
294      <Private>False</Private>
295    </ProjectReference>
296    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
297      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
298      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
299      <Private>False</Private>
300    </ProjectReference>
301    <ProjectReference Include="..\..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj">
302      <Project>{3540E29E-4793-49E7-8EE2-FEA7F61C3994}</Project>
303      <Name>HeuristicLab.Problems.Instances-3.3</Name>
304      <Private>False</Private>
305    </ProjectReference>
306  </ItemGroup>
307  <ItemGroup>
308    <EmbeddedResource Include="Documents\GA_TSP.hl" />
309  </ItemGroup>
310  <ItemGroup>
311    <EmbeddedResource Include="Documents\ES_Griewank.hl" />
312    <None Include="Documents\Images\New.png" />
313    <None Include="Documents\Images\Open.png" />
314    <None Include="Documents\Images\Pause.png" />
315    <None Include="Documents\Images\Play.png" />
316    <None Include="Documents\Images\Restart.png" />
317    <None Include="Documents\Images\Stop.png" />
318    <EmbeddedResource Include="Documents\LS_Knapsack.hl" />
319    <EmbeddedResource Include="Documents\IslandGA_TSP.hl" />
320    <EmbeddedResource Include="Documents\SA_Rastrigin.hl" />
321    <EmbeddedResource Include="Documents\TS_TSP.hl" />
322    <EmbeddedResource Include="Documents\SGP_SantaFe.hl" />
323  </ItemGroup>
324  <ItemGroup>
325    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
326      <Visible>False</Visible>
327      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
328      <Install>false</Install>
329    </BootstrapperPackage>
330    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
331      <Visible>False</Visible>
332      <ProductName>.NET Framework 3.5 SP1</ProductName>
333      <Install>true</Install>
334    </BootstrapperPackage>
335    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
336      <Visible>False</Visible>
337      <ProductName>Windows Installer 3.1</ProductName>
338      <Install>true</Install>
339    </BootstrapperPackage>
340  </ItemGroup>
341  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
342  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
343       Other similar extension points exist, see Microsoft.Common.targets.
344  <Target Name="BeforeBuild">
345  </Target>
346  <Target Name="AfterBuild">
347  </Target>
348  -->
349  <PropertyGroup>
350    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
351set ProjectDir=$(ProjectDir)
352set SolutionDir=$(SolutionDir)
353set Outdir=$(Outdir)
354
355call PreBuildEvent.cmd
356</PreBuildEvent>
357    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
358export ProjectDir=$(ProjectDir)
359export SolutionDir=$(SolutionDir)
360
361$SolutionDir/PreBuildEvent.sh
362</PreBuildEvent>
363  </PropertyGroup>
364</Project>
Note: See TracBrowser for help on using the repository browser.