Free cookie consent management tool by TermsFeed Policy Generator

source: branches/RefactorPluginInfrastructure-2522/HeuristicLab/3.3/HeuristicLab-3.3.csproj @ 13338

Last change on this file since 13338 was 13338, checked in by gkronber, 8 years ago

#2522:

  • moved UI components out of HeuristicLab.PluginInfrastructure -> HeuristicLab.PluginInfrastructure.UI
  • moved ErrorDialog to HeuristicLab.MainForm.WindowsForms
  • moved ErrorHandling (for building an error message string) to HeuristicLab.Common
  • Changed exception handlers in Views to use MainForm.ShowError()
  • Changed usages for ErrorDialog in non-UI components to throw exceptions instead.
File size: 9.5 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>{B1DCDECA-B56E-41D5-9850-EF0D3A77DEAF}</ProjectGuid>
9    <OutputType>WinExe</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>HeuristicLab</RootNamespace>
12    <AssemblyName>HeuristicLab 3.3</AssemblyName>
13    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
14    <FileAlignment>512</FileAlignment>
15    <SignAssembly>true</SignAssembly>
16    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
17    <StartupObject>HeuristicLab.Program</StartupObject>
18    <RunPostBuildEvent>Always</RunPostBuildEvent>
19    <ApplicationIcon>HeuristicLab.ico</ApplicationIcon>
20    <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
21    <FileUpgradeFlags>
22    </FileUpgradeFlags>
23    <OldToolsVersion>3.5</OldToolsVersion>
24    <UpgradeBackupLocation />
25    <PublishUrl>publish\</PublishUrl>
26    <Install>true</Install>
27    <InstallFrom>Disk</InstallFrom>
28    <UpdateEnabled>false</UpdateEnabled>
29    <UpdateMode>Foreground</UpdateMode>
30    <UpdateInterval>7</UpdateInterval>
31    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
32    <UpdatePeriodically>false</UpdatePeriodically>
33    <UpdateRequired>false</UpdateRequired>
34    <MapFileExtensions>true</MapFileExtensions>
35    <ApplicationRevision>0</ApplicationRevision>
36    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
37    <IsWebBootstrapper>false</IsWebBootstrapper>
38    <UseApplicationTrust>false</UseApplicationTrust>
39    <BootstrapperEnabled>true</BootstrapperEnabled>
40    <TargetFrameworkProfile>
41    </TargetFrameworkProfile>
42  </PropertyGroup>
43  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
44    <DebugSymbols>true</DebugSymbols>
45    <DebugType>full</DebugType>
46    <Optimize>false</Optimize>
47    <OutputPath>$(SolutionDir)\bin\</OutputPath>
48    <DefineConstants>DEBUG;TRACE</DefineConstants>
49    <ErrorReport>prompt</ErrorReport>
50    <WarningLevel>4</WarningLevel>
51    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
52    <Prefer32Bit>false</Prefer32Bit>
53  </PropertyGroup>
54  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
55    <DebugType>pdbonly</DebugType>
56    <Optimize>true</Optimize>
57    <OutputPath>$(SolutionDir)\bin\</OutputPath>
58    <DefineConstants>TRACE</DefineConstants>
59    <ErrorReport>prompt</ErrorReport>
60    <WarningLevel>4</WarningLevel>
61    <DocumentationFile>
62    </DocumentationFile>
63    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
64    <Prefer32Bit>false</Prefer32Bit>
65  </PropertyGroup>
66  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
67    <DebugSymbols>true</DebugSymbols>
68    <OutputPath>$(SolutionDir)\bin\</OutputPath>
69    <DefineConstants>DEBUG;TRACE</DefineConstants>
70    <DebugType>full</DebugType>
71    <PlatformTarget>x86</PlatformTarget>
72    <ErrorReport>prompt</ErrorReport>
73    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
74    <Prefer32Bit>false</Prefer32Bit>
75  </PropertyGroup>
76  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
77    <OutputPath>$(SolutionDir)\bin\</OutputPath>
78    <DefineConstants>TRACE</DefineConstants>
79    <Optimize>true</Optimize>
80    <DebugType>pdbonly</DebugType>
81    <PlatformTarget>x86</PlatformTarget>
82    <ErrorReport>prompt</ErrorReport>
83    <DocumentationFile>
84    </DocumentationFile>
85    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
86    <Prefer32Bit>false</Prefer32Bit>
87  </PropertyGroup>
88  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
89    <DebugSymbols>true</DebugSymbols>
90    <OutputPath>$(SolutionDir)\bin\</OutputPath>
91    <DefineConstants>DEBUG;TRACE</DefineConstants>
92    <DebugType>full</DebugType>
93    <PlatformTarget>x64</PlatformTarget>
94    <ErrorReport>prompt</ErrorReport>
95    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
96    <Prefer32Bit>false</Prefer32Bit>
97  </PropertyGroup>
98  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
99    <OutputPath>$(SolutionDir)\bin\</OutputPath>
100    <DefineConstants>TRACE</DefineConstants>
101    <Optimize>true</Optimize>
102    <DebugType>pdbonly</DebugType>
103    <PlatformTarget>x64</PlatformTarget>
104    <ErrorReport>prompt</ErrorReport>
105    <DocumentationFile>
106    </DocumentationFile>
107    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
108    <Prefer32Bit>false</Prefer32Bit>
109  </PropertyGroup>
110  <ItemGroup>
111    <Reference Include="System" />
112    <Reference Include="System.Core">
113      <RequiredTargetFramework>3.5</RequiredTargetFramework>
114    </Reference>
115    <Reference Include="System.Xml.Linq">
116      <RequiredTargetFramework>3.5</RequiredTargetFramework>
117    </Reference>
118    <Reference Include="System.Data.DataSetExtensions">
119      <RequiredTargetFramework>3.5</RequiredTargetFramework>
120    </Reference>
121    <Reference Include="System.Data" />
122    <Reference Include="System.Deployment" />
123    <Reference Include="System.Drawing" />
124    <Reference Include="System.Windows.Forms" />
125    <Reference Include="System.Xml" />
126  </ItemGroup>
127  <ItemGroup>
128    <Compile Include="Program.cs" />
129    <Compile Include="Properties\AssemblyInfo.cs" />
130    <EmbeddedResource Include="Properties\Resources.resx">
131      <Generator>ResXFileCodeGenerator</Generator>
132      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
133      <SubType>Designer</SubType>
134    </EmbeddedResource>
135    <Compile Include="Properties\Resources.Designer.cs">
136      <AutoGen>True</AutoGen>
137      <DependentUpon>Resources.resx</DependentUpon>
138      <DesignTime>True</DesignTime>
139    </Compile>
140    <None Include="app.config">
141      <SubType>Designer</SubType>
142    </None>
143    <None Include="CustomPostBuild.cmd" />
144    <None Include="CustomPostBuildTemplate_UpdateLocalInstallation.cmd" />
145    <None Include="HeuristicLab.snk" />
146    <None Include="Properties\AssemblyInfo.cs.frame" />
147    <None Include="Properties\Settings.settings">
148      <Generator>SettingsSingleFileGenerator</Generator>
149      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
150    </None>
151    <Compile Include="Properties\Settings.Designer.cs">
152      <AutoGen>True</AutoGen>
153      <DependentUpon>Settings.settings</DependentUpon>
154      <DesignTimeSharedInput>True</DesignTimeSharedInput>
155    </Compile>
156  </ItemGroup>
157  <ItemGroup>
158    <None Include="GNU General Public License.txt">
159      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
160    </None>
161    <Content Include="Files.txt">
162    </Content>
163    <Content Include="Files.x64.txt">
164    </Content>
165    <Content Include="Files.x86.txt">
166    </Content>
167    <None Include="HeuristicLab 3.3 License.txt">
168      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
169    </None>
170    <Content Include="HeuristicLab.ico" />
171  </ItemGroup>
172  <ItemGroup>
173    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
174      <Visible>False</Visible>
175      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
176      <Install>false</Install>
177    </BootstrapperPackage>
178    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
179      <Visible>False</Visible>
180      <ProductName>.NET Framework 3.5 SP1</ProductName>
181      <Install>true</Install>
182    </BootstrapperPackage>
183    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
184      <Visible>False</Visible>
185      <ProductName>Windows Installer 3.1</ProductName>
186      <Install>true</Install>
187    </BootstrapperPackage>
188  </ItemGroup>
189  <ItemGroup>
190    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure.UI\HeuristicLab.PluginInfrastructure.UI-4.0.csproj">
191      <Project>{7af3c7b6-8ba5-44f3-8d5b-2bf7a23cf12d}</Project>
192      <Name>HeuristicLab.PluginInfrastructure.UI-4.0</Name>
193    </ProjectReference>
194  </ItemGroup>
195  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
196  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
197       Other similar extension points exist, see Microsoft.Common.targets.
198  <Target Name="BeforeBuild">
199  </Target>
200  <Target Name="AfterBuild">
201  </Target>
202  -->
203  <PropertyGroup>
204    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
205set ProjectDir=$(ProjectDir)
206set SolutionDir=$(SolutionDir)
207
208call PreBuildEvent.cmd</PreBuildEvent>
209    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
210export ProjectDir=$(ProjectDir)
211export SolutionDir=$(SolutionDir)
212
213$SolutionDir/PreBuildEvent.sh
214</PreBuildEvent>
215    <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
216set ProjectDir=$(ProjectDir)
217set SolutionDir=$(SolutionDir)
218set Outdir=$(Outdir)
219set Platform=$(PlatformName)
220set Configuration=$(ConfigurationName)
221
222call "$(SolutionDir)MergeConfigs.cmd"
223if exist "%25ProjectDir%25CustomPostBuild.cmd" call CustomPostBuild.cmd</PostBuildEvent>
224    <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
225export Outdir=$(Outdir)
226export ProjectDir=$(ProjectDir)
227export SolutionDir=$(SolutionDir)
228
229$SolutionDir/MergeConfigs.sh
230</PostBuildEvent>
231  </PropertyGroup>
232</Project>
Note: See TracBrowser for help on using the repository browser.