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

Last change on this file since 14207 was 14207, checked in by swagner, 3 years ago

#2526: Corrected post build events and config merging

File size: 9.6 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="HeuristicLab.snk" />
144    <None Include="Properties\AssemblyInfo.cs.frame" />
145    <None Include="Properties\Settings.settings">
146      <Generator>SettingsSingleFileGenerator</Generator>
147      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
148    </None>
149    <Compile Include="Properties\Settings.Designer.cs">
150      <AutoGen>True</AutoGen>
151      <DependentUpon>Settings.settings</DependentUpon>
152      <DesignTimeSharedInput>True</DesignTimeSharedInput>
153    </Compile>
154  </ItemGroup>
155  <ItemGroup>
156    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
157      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
158      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
159      <Private>False</Private>
160    </ProjectReference>
161  </ItemGroup>
162  <ItemGroup>
163    <None Include="GNU General Public License.txt">
164      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
165    </None>
166    <None Include="HeuristicLab 3.3 License.txt">
167      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
168    </None>
169    <Content Include="HeuristicLab.ico" />
170  </ItemGroup>
171  <ItemGroup>
172    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
173      <Visible>False</Visible>
174      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
175      <Install>false</Install>
176    </BootstrapperPackage>
177    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
178      <Visible>False</Visible>
179      <ProductName>.NET Framework 3.5 SP1</ProductName>
180      <Install>true</Install>
181    </BootstrapperPackage>
182    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
183      <Visible>False</Visible>
184      <ProductName>Windows Installer 3.1</ProductName>
185      <Install>true</Install>
186    </BootstrapperPackage>
187  </ItemGroup>
188  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
189  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
190       Other similar extension points exist, see Microsoft.Common.targets.
191  <Target Name="BeforeBuild">
192  </Target>
193  <Target Name="AfterBuild">
194  </Target>
195  -->
196  <PropertyGroup>
197    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
198set ProjectDir=$(ProjectDir)
199set SolutionDir=$(SolutionDir)
200
201call PreBuildEvent.cmd</PreBuildEvent>
202    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
203export ProjectDir=$(ProjectDir)
204export SolutionDir=$(SolutionDir)
205
206$SolutionDir/PreBuildEvent.sh
207</PreBuildEvent>
208    <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
209      set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
210      set ProjectDir=$(ProjectDir)
211      set SolutionDir=$(SolutionDir)
212      set OutDir=$(OutDir)
213      set TargetDir=$(TargetDir)
214      set Platform=$(PlatformName)
215      set Configuration=$(ConfigurationName)
216
217      call "$(SolutionDir)MergeConfigs.cmd"
218    </PostBuildEvent>
219    <PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
220export OutDir=$(OutDir)
221export ProjectDir=$(ProjectDir)
222export SolutionDir=$(SolutionDir)
223export TargetDir=$(TargetDir)
224
225$SolutionDir/MergeConfigs.sh
226</PostBuildEvent>
227  </PropertyGroup>
228  <PropertyGroup>
229    <PostBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
230set ProjectDir=$(ProjectDir)
231set SolutionDir=$(SolutionDir)
232set OutDir=$(OutDir)
233set TargetDir=$(TargetDir)
234set Platform=$(PlatformName)
235set Configuration=$(ConfigurationName)
236
237call "$(SolutionDir)MergeConfigs.cmd"</PostBuildEvent>
238  </PropertyGroup>
239</Project>
Note: See TracBrowser for help on using the repository browser.