Free cookie consent management tool by TermsFeed Policy Generator

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

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

#1937 added pre- and postbuild events for mono

File size: 9.3 KB
RevLine 
[2492]1<?xml version="1.0" encoding="utf-8"?>
[4065]2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
[2492]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>
[2643]11    <RootNamespace>HeuristicLab</RootNamespace>
[3837]12    <AssemblyName>HeuristicLab 3.3</AssemblyName>
[5163]13    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
[2492]14    <FileAlignment>512</FileAlignment>
15    <SignAssembly>true</SignAssembly>
16    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
[2643]17    <StartupObject>HeuristicLab.Program</StartupObject>
[2492]18    <RunPostBuildEvent>Always</RunPostBuildEvent>
19    <ApplicationIcon>HeuristicLab.ico</ApplicationIcon>
[3737]20    <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
[4065]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>
[5809]40    <TargetFrameworkProfile>
41    </TargetFrameworkProfile>
[2492]42  </PropertyGroup>
43  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
44    <DebugSymbols>true</DebugSymbols>
45    <DebugType>full</DebugType>
46    <Optimize>false</Optimize>
[6866]47    <OutputPath>$(SolutionDir)\bin\</OutputPath>
[2492]48    <DefineConstants>DEBUG;TRACE</DefineConstants>
49    <ErrorReport>prompt</ErrorReport>
50    <WarningLevel>4</WarningLevel>
[4065]51    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
[2492]52  </PropertyGroup>
53  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
54    <DebugType>pdbonly</DebugType>
55    <Optimize>true</Optimize>
[6866]56    <OutputPath>$(SolutionDir)\bin\</OutputPath>
[2492]57    <DefineConstants>TRACE</DefineConstants>
58    <ErrorReport>prompt</ErrorReport>
59    <WarningLevel>4</WarningLevel>
[6866]60    <DocumentationFile>
61    </DocumentationFile>
[4065]62    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
[2492]63  </PropertyGroup>
[2801]64  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
65    <DebugSymbols>true</DebugSymbols>
[6866]66    <OutputPath>$(SolutionDir)\bin\</OutputPath>
[2801]67    <DefineConstants>DEBUG;TRACE</DefineConstants>
68    <DebugType>full</DebugType>
69    <PlatformTarget>x86</PlatformTarget>
70    <ErrorReport>prompt</ErrorReport>
[4065]71    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
[2801]72  </PropertyGroup>
73  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
[6866]74    <OutputPath>$(SolutionDir)\bin\</OutputPath>
[2801]75    <DefineConstants>TRACE</DefineConstants>
76    <Optimize>true</Optimize>
77    <DebugType>pdbonly</DebugType>
78    <PlatformTarget>x86</PlatformTarget>
79    <ErrorReport>prompt</ErrorReport>
[6866]80    <DocumentationFile>
81    </DocumentationFile>
[4065]82    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
[2801]83  </PropertyGroup>
[2803]84  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
85    <DebugSymbols>true</DebugSymbols>
[6866]86    <OutputPath>$(SolutionDir)\bin\</OutputPath>
[2803]87    <DefineConstants>DEBUG;TRACE</DefineConstants>
88    <DebugType>full</DebugType>
89    <PlatformTarget>x64</PlatformTarget>
90    <ErrorReport>prompt</ErrorReport>
[4065]91    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
[2803]92  </PropertyGroup>
93  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
[6866]94    <OutputPath>$(SolutionDir)\bin\</OutputPath>
[2803]95    <DefineConstants>TRACE</DefineConstants>
96    <Optimize>true</Optimize>
97    <DebugType>pdbonly</DebugType>
98    <PlatformTarget>x64</PlatformTarget>
99    <ErrorReport>prompt</ErrorReport>
[6866]100    <DocumentationFile>
101    </DocumentationFile>
[4065]102    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
[2803]103  </PropertyGroup>
[2492]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>
[6207]134    <None Include="app.config">
135      <SubType>Designer</SubType>
[7060]136      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
[6207]137    </None>
[4920]138    <None Include="CustomPostBuild.cmd" />
[2492]139    <None Include="CustomPostBuildTemplate_UpdateLocalInstallation.cmd" />
140    <None Include="HeuristicLab.snk" />
[6866]141    <None Include="Properties\AssemblyInfo.cs.frame" />
[2492]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>
[3837]153    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
[2643]154      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
[3832]155      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
[6866]156      <Private>False</Private>
[2492]157    </ProjectReference>
158  </ItemGroup>
159  <ItemGroup>
[4775]160    <None Include="GNU General Public License.txt">
161      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
162    </None>
[2643]163    <Content Include="Files.txt">
164    </Content>
165    <Content Include="Files.x64.txt">
166    </Content>
167    <Content Include="Files.x86.txt">
168    </Content>
[4498]169    <None Include="HeuristicLab 3.3 License.txt">
170      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
171    </None>
[2492]172    <Content Include="HeuristicLab.ico" />
173  </ItemGroup>
[4065]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>
[2492]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>
[8600]200   <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
[2492]201set ProjectDir=$(ProjectDir)
202set SolutionDir=$(SolutionDir)
203
204call PreBuildEvent.cmd</PreBuildEvent>
[8600]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)
[2492]212set ProjectDir=$(ProjectDir)
213set SolutionDir=$(SolutionDir)
214set Outdir=$(Outdir)
215set Platform=$(PlatformName)
216set Configuration=$(ConfigurationName)
217
[7063]218call "$(SolutionDir)MergeConfigs.cmd"
[2492]219if exist "%25ProjectDir%25CustomPostBuild.cmd" call CustomPostBuild.cmd</PostBuildEvent>
[8600]220<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
221export Outdir=$(Outdir)
222export ProjectDir=$(ProjectDir)
223export SolutionDir=$(SolutionDir)
224
225$SolutionDir/MergeConfigs.sh
226</PostBuildEvent>
[2492]227  </PropertyGroup>
228</Project>
Note: See TracBrowser for help on using the repository browser.