Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab/HeuristicLab.csproj @ 2601

Last change on this file since 2601 was 2601, checked in by gkronber, 14 years ago

Changed configuration so that file lists are not copied to output directory and added script to create a console application. #799

File size: 6.6 KB
Line 
1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
2  <PropertyGroup>
3    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
4    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
5    <ProductVersion>9.0.30729</ProductVersion>
6    <SchemaVersion>2.0</SchemaVersion>
7    <ProjectGuid>{623FB817-8371-4A9A-A491-4DECC87B2BBB}</ProjectGuid>
8    <OutputType>WinExe</OutputType>
9    <AppDesignerFolder>Properties</AppDesignerFolder>
10    <RootNamespace>HeuristicLab</RootNamespace>
11    <AssemblyName>HeuristicLab</AssemblyName>
12    <SignAssembly>true</SignAssembly>
13    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
14    <ApplicationIcon>HeuristicLab.ico</ApplicationIcon>
15    <FileUpgradeFlags>
16    </FileUpgradeFlags>
17    <OldToolsVersion>2.0</OldToolsVersion>
18    <UpgradeBackupLocation>
19    </UpgradeBackupLocation>
20    <RunPostBuildEvent>Always</RunPostBuildEvent>
21    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
22  </PropertyGroup>
23  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
24    <DebugSymbols>true</DebugSymbols>
25    <DebugType>full</DebugType>
26    <Optimize>false</Optimize>
27    <OutputPath>bin\Debug\</OutputPath>
28    <DefineConstants>DEBUG;TRACE</DefineConstants>
29    <ErrorReport>prompt</ErrorReport>
30    <WarningLevel>4</WarningLevel>
31  </PropertyGroup>
32  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
33    <DebugType>pdbonly</DebugType>
34    <Optimize>true</Optimize>
35    <OutputPath>bin\Release\</OutputPath>
36    <DefineConstants>TRACE</DefineConstants>
37    <ErrorReport>prompt</ErrorReport>
38    <WarningLevel>4</WarningLevel>
39    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
40  </PropertyGroup>
41  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
42    <DebugSymbols>true</DebugSymbols>
43    <OutputPath>bin\x86\Debug\</OutputPath>
44    <DefineConstants>DEBUG;TRACE</DefineConstants>
45    <DebugType>full</DebugType>
46    <PlatformTarget>x86</PlatformTarget>
47    <ErrorReport>prompt</ErrorReport>
48  </PropertyGroup>
49  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
50    <OutputPath>bin\x86\Release\</OutputPath>
51    <DefineConstants>TRACE</DefineConstants>
52    <Optimize>true</Optimize>
53    <DebugType>pdbonly</DebugType>
54    <PlatformTarget>x86</PlatformTarget>
55    <ErrorReport>prompt</ErrorReport>
56  </PropertyGroup>
57  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
58    <DebugSymbols>true</DebugSymbols>
59    <OutputPath>bin\x64\Debug\</OutputPath>
60    <DefineConstants>TRACE;DEBUG</DefineConstants>
61    <DebugType>full</DebugType>
62    <PlatformTarget>x64</PlatformTarget>
63    <ErrorReport>prompt</ErrorReport>
64  </PropertyGroup>
65  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
66    <OutputPath>bin\x64\Release\</OutputPath>
67    <DefineConstants>TRACE</DefineConstants>
68    <Optimize>true</Optimize>
69    <DebugType>pdbonly</DebugType>
70    <PlatformTarget>x64</PlatformTarget>
71    <ErrorReport>prompt</ErrorReport>
72  </PropertyGroup>
73  <ItemGroup>
74    <Reference Include="System" />
75    <Reference Include="System.Core">
76      <RequiredTargetFramework>3.5</RequiredTargetFramework>
77    </Reference>
78    <Reference Include="System.Data" />
79    <Reference Include="System.Deployment" />
80    <Reference Include="System.Drawing" />
81    <Reference Include="System.Windows.Forms" />
82    <Reference Include="System.Xml" />
83  </ItemGroup>
84  <ItemGroup>
85    <Compile Include="Program.cs" />
86    <Compile Include="Properties\AssemblyInfo.cs" />
87    <EmbeddedResource Include="Properties\Resources.resx">
88      <Generator>ResXFileCodeGenerator</Generator>
89      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
90      <SubType>Designer</SubType>
91    </EmbeddedResource>
92    <Compile Include="Properties\Resources.Designer.cs">
93      <AutoGen>True</AutoGen>
94      <DependentUpon>Resources.resx</DependentUpon>
95      <DesignTime>True</DesignTime>
96    </Compile>
97    <None Include="HeuristicLab.snk" />
98    <None Include="Properties\Settings.settings">
99      <Generator>SettingsSingleFileGenerator</Generator>
100      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
101    </None>
102    <Compile Include="Properties\Settings.Designer.cs">
103      <AutoGen>True</AutoGen>
104      <DependentUpon>Settings.settings</DependentUpon>
105      <DesignTimeSharedInput>True</DesignTimeSharedInput>
106    </Compile>
107  </ItemGroup>
108  <ItemGroup>
109    <ProjectReference Include="..\HeuristicLab.PluginInfrastructure\HeuristicLab.PluginInfrastructure.csproj">
110      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
111      <Name>HeuristicLab.PluginInfrastructure</Name>
112    </ProjectReference>
113  </ItemGroup>
114  <ItemGroup>
115    <Content Include="Files.x86.txt">
116    </Content>
117    <Content Include="Files.x64.txt">
118    </Content>
119    <Content Include="Files.txt">
120    </Content>
121    <Content Include="HeuristicLab.ico" />
122    <Content Include="Resources\HeuristicLab.ico" />
123    <None Include="app.config" />
124    <None Include="CreateConsoleApplication.cmd" />
125    <None Include="CustomPostBuild.cmd" />
126    <None Include="CopyAssemblies.cmd" />
127    <None Include="CustomPostBuildTemplate_UpdateLocalInstallation.cmd" />
128    <None Include="MergeConfigs.cmd" />
129    <None Include="Properties\AssemblyInfo.frame" />
130    <None Include="Resources\LargeIcons.gif" />
131    <None Include="Resources\Details.gif" />
132    <None Include="Resources\List.gif" />
133    <None Include="Resources\Logo_white.gif" />
134  </ItemGroup>
135  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
136  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
137       Other similar extension points exist, see Microsoft.Common.targets.
138  <Target Name="BeforeBuild">
139  </Target>
140  <Target Name="AfterBuild">
141  </Target>
142  -->
143  <PropertyGroup>
144    <PostBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir);
145set ProjectDir=$(ProjectDir)
146set SolutionDir=$(SolutionDir)
147set Outdir=$(Outdir)
148set Platform=$(PlatformName)
149set Configuration=$(ConfigurationName)
150
151call CreateConsoleApplication.cmd
152call MergeConfigs.cmd
153call CopyAssemblies.cmd
154if exist "%25ProjectDir%25CustomPostBuild.cmd" call CustomPostBuild.cmd</PostBuildEvent>
155    <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
156set ProjectDir=$(ProjectDir)
157set SolutionDir=$(SolutionDir)
158set Outdir=$(Outdir)
159set Configuration=$(ConfigurationName)
160
161call PreBuildEvent.cmd</PreBuildEvent>
162  </PropertyGroup>
163</Project>
Note: See TracBrowser for help on using the repository browser.