source: trunk/CrypStartup/CrypStartup.csproj @ 2377

Last change on this file since 2377 was 2377, checked in by Matthäus Wander, 11 years ago
  • Added CopyL10N command line tool to copy CrypWin and AnotherEditor localization resource files to AppSpecialReferences
  • Modified postbuild events so that CrypStartup copies the whole content of the AppSpecialReferences directory to CrypBuild
  • The current trunk build process is broken, see #146 (FileNotFoundException occurs and AppReferences copy fails). It works mostly, though.

build tool (core solution only)
override-bad-extension: CopyL10N.exe

AppSpecialReferences:
override-bad-extension: AnotherEditor.dll
override-bad-extension: AnotherEditor.resources.dll
override-bad-extension: CrypWin.resources.dll

File size: 7.2 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)' == '' ">x86</Platform>
6    <ProductVersion>8.0.30703</ProductVersion>
7    <SchemaVersion>2.0</SchemaVersion>
8    <ProjectGuid>{347B5433-A40E-4ACC-AD6B-A245509AB42E}</ProjectGuid>
9    <OutputType>WinExe</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>CrypStartup</RootNamespace>
12    <AssemblyName>CrypStartup</AssemblyName>
13    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14    <TargetFrameworkProfile>
15    </TargetFrameworkProfile>
16    <FileAlignment>512</FileAlignment>
17    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
18    <WarningLevel>4</WarningLevel>
19    <PublishUrl>publish\</PublishUrl>
20    <Install>true</Install>
21    <InstallFrom>Disk</InstallFrom>
22    <UpdateEnabled>false</UpdateEnabled>
23    <UpdateMode>Foreground</UpdateMode>
24    <UpdateInterval>7</UpdateInterval>
25    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
26    <UpdatePeriodically>false</UpdatePeriodically>
27    <UpdateRequired>false</UpdateRequired>
28    <MapFileExtensions>true</MapFileExtensions>
29    <ApplicationRevision>0</ApplicationRevision>
30    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
31    <IsWebBootstrapper>false</IsWebBootstrapper>
32    <UseApplicationTrust>false</UseApplicationTrust>
33    <BootstrapperEnabled>true</BootstrapperEnabled>
34  </PropertyGroup>
35  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
36    <PlatformTarget>x86</PlatformTarget>
37    <OutputPath>..\CrypBuild\Release</OutputPath>
38    <ErrorReport>prompt</ErrorReport>
39    <WarningLevel>4</WarningLevel>
40    <DebugType>pdbonly</DebugType>
41    <Optimize>true</Optimize>
42    <DefineConstants>TRACE</DefineConstants>
43  </PropertyGroup>
44  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
45    <PlatformTarget>x86</PlatformTarget>
46    <OutputPath>..\CrypBuild\Debug</OutputPath>
47    <ErrorReport>prompt</ErrorReport>
48    <WarningLevel>4</WarningLevel>
49    <DebugSymbols>true</DebugSymbols>
50    <DebugType>full</DebugType>
51    <Optimize>false</Optimize>
52    <DefineConstants>DEBUG;TRACE</DefineConstants>
53  </PropertyGroup>
54  <PropertyGroup>
55    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
56  </PropertyGroup>
57  <PropertyGroup>
58    <ApplicationIcon>cryptool.ico</ApplicationIcon>
59  </PropertyGroup>
60  <ItemGroup>
61    <Reference Include="CrypWin">
62      <HintPath>..\appspecialreferences\crypwin.exe</HintPath>
63      <Private>True</Private>
64    </Reference>
65    <Reference Include="DevComponents.WpfDock">
66      <HintPath>..\AppReferences\DevComponents.WpfDock.dll</HintPath>
67      <Private>False</Private>
68    </Reference>
69    <Reference Include="DevComponents.WpfEditors">
70      <HintPath>..\AppReferences\DevComponents.WpfEditors.dll</HintPath>
71      <Private>False</Private>
72    </Reference>
73    <Reference Include="DevComponents.WpfRibbon">
74      <HintPath>..\AppReferences\DevComponents.WpfRibbon.dll</HintPath>
75      <Private>False</Private>
76    </Reference>
77    <Reference Include="System" />
78    <Reference Include="System.Data" />
79    <Reference Include="System.Xml" />
80    <Reference Include="Microsoft.CSharp" />
81    <Reference Include="System.Core" />
82    <Reference Include="System.Xml.Linq" />
83    <Reference Include="System.Data.DataSetExtensions" />
84    <Reference Include="System.Xaml">
85      <RequiredTargetFramework>4.0</RequiredTargetFramework>
86    </Reference>
87    <Reference Include="WindowsBase" />
88    <Reference Include="PresentationCore" />
89    <Reference Include="PresentationFramework" />
90  </ItemGroup>
91  <ItemGroup>
92    <ApplicationDefinition Include="App.xaml">
93      <Generator>MSBuild:Compile</Generator>
94      <SubType>Designer</SubType>
95    </ApplicationDefinition>
96    <Compile Include="App.xaml.cs">
97      <DependentUpon>App.xaml</DependentUpon>
98      <SubType>Code</SubType>
99    </Compile>
100  </ItemGroup>
101  <ItemGroup>
102    <Compile Include="Properties\AssemblyInfo.cs">
103      <SubType>Code</SubType>
104    </Compile>
105    <Compile Include="Properties\Resources.Designer.cs">
106      <AutoGen>True</AutoGen>
107      <DesignTime>True</DesignTime>
108      <DependentUpon>Resources.resx</DependentUpon>
109    </Compile>
110    <Compile Include="Properties\Settings.Designer.cs">
111      <AutoGen>True</AutoGen>
112      <DependentUpon>Settings.settings</DependentUpon>
113      <DesignTimeSharedInput>True</DesignTimeSharedInput>
114    </Compile>
115    <EmbeddedResource Include="Properties\Resources.resx">
116      <Generator>ResXFileCodeGenerator</Generator>
117      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
118    </EmbeddedResource>
119    <None Include="app.config">
120      <SubType>Designer</SubType>
121    </None>
122    <None Include="Properties\Settings.settings">
123      <Generator>SettingsSingleFileGenerator</Generator>
124      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
125    </None>
126    <AppDesigner Include="Properties\" />
127  </ItemGroup>
128  <ItemGroup>
129    <ProjectReference Include="..\CrypPluginBase\CrypPluginBase.csproj">
130      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
131      <Name>CrypPluginBase</Name>
132    </ProjectReference>
133  </ItemGroup>
134  <ItemGroup>
135    <Resource Include="cryptool.ico" />
136  </ItemGroup>
137  <ItemGroup>
138    <BootstrapperPackage Include=".NETFramework,Version=v4.0">
139      <Visible>False</Visible>
140      <ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
141      <Install>true</Install>
142    </BootstrapperPackage>
143    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
144      <Visible>False</Visible>
145      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
146      <Install>false</Install>
147    </BootstrapperPackage>
148    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
149      <Visible>False</Visible>
150      <ProductName>.NET Framework 3.5 SP1</ProductName>
151      <Install>false</Install>
152    </BootstrapperPackage>
153    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
154      <Visible>False</Visible>
155      <ProductName>Windows Installer 3.1</ProductName>
156      <Install>true</Install>
157    </BootstrapperPackage>
158  </ItemGroup>
159  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
160  <PropertyGroup>
161    <PostBuildEvent>copy CrypStartup.exe.config CrypWin.exe.config</PostBuildEvent>
162  </PropertyGroup>
163  <PropertyGroup>
164    <PreBuildEvent>xcopy  /Y "..\..\AppReferences" "$(TargetDir)AppReferences\"
165xcopy  /S /Y "..\..\AppSpecialReferences" "$(TargetDir)"
166xcopy  /E /Y "..\..\ProjectSamples" "$(TargetDir)ProjectSamples\"
167xcopy  /E /Y "..\..\AppDataStore" "$(TargetDir)AppDataStore\"
168</PreBuildEvent>
169  </PropertyGroup>
170  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
171       Other similar extension points exist, see Microsoft.Common.targets.
172  <Target Name="BeforeBuild">
173  </Target>
174  <Target Name="AfterBuild">
175  </Target>
176  -->
177</Project>
Note: See TracBrowser for help on using the repository browser.