Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab/3.3/HeuristicLab-3.3.csproj @ 8796

Last change on this file since 8796 was 8600, checked in by ascheibe, 12 years ago

#1937 added pre- and postbuild events for mono

File size: 9.3 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.0</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  </PropertyGroup>
53  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
54    <DebugType>pdbonly</DebugType>
55    <Optimize>true</Optimize>
56    <OutputPath>$(SolutionDir)\bin\</OutputPath>
57    <DefineConstants>TRACE</DefineConstants>
58    <ErrorReport>prompt</ErrorReport>
59    <WarningLevel>4</WarningLevel>
60    <DocumentationFile>
61    </DocumentationFile>
62    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
63  </PropertyGroup>
64  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
65    <DebugSymbols>true</DebugSymbols>
66    <OutputPath>$(SolutionDir)\bin\</OutputPath>
67    <DefineConstants>DEBUG;TRACE</DefineConstants>
68    <DebugType>full</DebugType>
69    <PlatformTarget>x86</PlatformTarget>
70    <ErrorReport>prompt</ErrorReport>
71    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
72  </PropertyGroup>
73  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
74    <OutputPath>$(SolutionDir)\bin\</OutputPath>
75    <DefineConstants>TRACE</DefineConstants>
76    <Optimize>true</Optimize>
77    <DebugType>pdbonly</DebugType>
78    <PlatformTarget>x86</PlatformTarget>
79    <ErrorReport>prompt</ErrorReport>
80    <DocumentationFile>
81    </DocumentationFile>
82    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
83  </PropertyGroup>
84  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
85    <DebugSymbols>true</DebugSymbols>
86    <OutputPath>$(SolutionDir)\bin\</OutputPath>
87    <DefineConstants>DEBUG;TRACE</DefineConstants>
88    <DebugType>full</DebugType>
89    <PlatformTarget>x64</PlatformTarget>
90    <ErrorReport>prompt</ErrorReport>
91    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
92  </PropertyGroup>
93  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
94    <OutputPath>$(SolutionDir)\bin\</OutputPath>
95    <DefineConstants>TRACE</DefineConstants>
96    <Optimize>true</Optimize>
97    <DebugType>pdbonly</DebugType>
98    <PlatformTarget>x64</PlatformTarget>
99    <ErrorReport>prompt</ErrorReport>
100    <DocumentationFile>
101    </DocumentationFile>
102    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
103  </PropertyGroup>
104  <ItemGroup>
105    <Reference Include="System" />
106    <Reference Include="System.Core">
107      <RequiredTargetFramework>3.5</RequiredTargetFramework>
108    </Reference>
109    <Reference Include="System.Xml.Linq">
110      <RequiredTargetFramework>3.5</RequiredTargetFramework>
111    </Reference>
112    <Reference Include="System.Data.DataSetExtensions">
113      <RequiredTargetFramework>3.5</RequiredTargetFramework>
114    </Reference>
115    <Reference Include="System.Data" />
116    <Reference Include="System.Deployment" />
117    <Reference Include="System.Drawing" />
118    <Reference Include="System.Windows.Forms" />
119    <Reference Include="System.Xml" />
120  </ItemGroup>
121  <ItemGroup>
122    <Compile Include="Program.cs" />
123    <Compile Include="Properties\AssemblyInfo.cs" />
124    <EmbeddedResource Include="Properties\Resources.resx">
125      <Generator>ResXFileCodeGenerator</Generator>
126      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
127      <SubType>Designer</SubType>
128    </EmbeddedResource>
129    <Compile Include="Properties\Resources.Designer.cs">
130      <AutoGen>True</AutoGen>
131      <DependentUpon>Resources.resx</DependentUpon>
132      <DesignTime>True</DesignTime>
133    </Compile>
134    <None Include="app.config">
135      <SubType>Designer</SubType>
136      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
137    </None>
138    <None Include="CustomPostBuild.cmd" />
139    <None Include="CustomPostBuildTemplate_UpdateLocalInstallation.cmd" />
140    <None Include="HeuristicLab.snk" />
141    <None Include="Properties\AssemblyInfo.cs.frame" />
142    <None Include="Properties\Settings.settings">
143      <Generator>SettingsSingleFileGenerator</Generator>
144      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
145    </None>
146    <Compile Include="Properties\Settings.Designer.cs">
147      <AutoGen>True</AutoGen>
148      <DependentUpon>Settings.settings</DependentUpon>
149      <DesignTimeSharedInput>True</DesignTimeSharedInput>
150    </Compile>
151  </ItemGroup>
152  <ItemGroup>
153    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
154      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
155      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
156      <Private>False</Private>
157    </ProjectReference>
158  </ItemGroup>
159  <ItemGroup>
160    <None Include="GNU General Public License.txt">
161      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
162    </None>
163    <Content Include="Files.txt">
164    </Content>
165    <Content Include="Files.x64.txt">
166    </Content>
167    <Content Include="Files.x86.txt">
168    </Content>
169    <None Include="HeuristicLab 3.3 License.txt">
170      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
171    </None>
172    <Content Include="HeuristicLab.ico" />
173  </ItemGroup>
174  <ItemGroup>
175    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
176      <Visible>False</Visible>
177      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
178      <Install>false</Install>
179    </BootstrapperPackage>
180    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
181      <Visible>False</Visible>
182      <ProductName>.NET Framework 3.5 SP1</ProductName>
183      <Install>true</Install>
184    </BootstrapperPackage>
185    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
186      <Visible>False</Visible>
187      <ProductName>Windows Installer 3.1</ProductName>
188      <Install>true</Install>
189    </BootstrapperPackage>
190  </ItemGroup>
191  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
192  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
193       Other similar extension points exist, see Microsoft.Common.targets.
194  <Target Name="BeforeBuild">
195  </Target>
196  <Target Name="AfterBuild">
197  </Target>
198  -->
199  <PropertyGroup>
200   <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
201set ProjectDir=$(ProjectDir)
202set SolutionDir=$(SolutionDir)
203
204call PreBuildEvent.cmd</PreBuildEvent>
205<PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
206export ProjectDir=$(ProjectDir)
207export SolutionDir=$(SolutionDir)
208
209$SolutionDir/PreBuildEvent.sh
210</PreBuildEvent>
211<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
212set ProjectDir=$(ProjectDir)
213set SolutionDir=$(SolutionDir)
214set Outdir=$(Outdir)
215set Platform=$(PlatformName)
216set Configuration=$(ConfigurationName)
217
218call "$(SolutionDir)MergeConfigs.cmd"
219if exist "%25ProjectDir%25CustomPostBuild.cmd" call CustomPostBuild.cmd</PostBuildEvent>
220<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
221export Outdir=$(Outdir)
222export ProjectDir=$(ProjectDir)
223export SolutionDir=$(SolutionDir)
224
225$SolutionDir/MergeConfigs.sh
226</PostBuildEvent>
227  </PropertyGroup>
228</Project>
Note: See TracBrowser for help on using the repository browser.