source: trunk/CrypPlugins/CrypPluginTemplate/ExamplePluginCT2.csproj @ 1507

Last change on this file since 1507 was 1487, checked in by saternus, 12 years ago

added x64 support

File size: 6.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>9.0.30729</ProductVersion>
7    <SchemaVersion>2.0</SchemaVersion>
8    <ProjectGuid>{B300C1F7-42CB-4668-9CCB-319D6AF8E3EB}</ProjectGuid>
9    <OutputType>Library</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>ExamplePluginCT2</RootNamespace>
12    <AssemblyName>ExamplePluginCT2</AssemblyName>
13    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14    <FileAlignment>512</FileAlignment>
15    <FileUpgradeFlags>
16    </FileUpgradeFlags>
17    <OldToolsVersion>3.5</OldToolsVersion>
18    <UpgradeBackupLocation />
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    <TargetFrameworkProfile />
35  </PropertyGroup>
36  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
37    <PlatformTarget>x64</PlatformTarget>
38    <OutputPath>..\..\CrypBuild\x64\Release\CrypPlugins</OutputPath>
39    <ErrorReport>prompt</ErrorReport>
40    <WarningLevel>4</WarningLevel>
41    <DebugType>pdbonly</DebugType>
42    <Optimize>true</Optimize>
43    <DefineConstants>TRACE</DefineConstants>
44  </PropertyGroup>
45  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
46    <PlatformTarget>x86</PlatformTarget>
47    <OutputPath>..\..\CrypBuild\x86\Release\CrypPlugins</OutputPath>
48    <ErrorReport>prompt</ErrorReport>
49    <WarningLevel>4</WarningLevel>
50    <DebugType>pdbonly</DebugType>
51    <Optimize>true</Optimize>
52    <DefineConstants>TRACE</DefineConstants>
53  </PropertyGroup>
54  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
55    <PlatformTarget>x64</PlatformTarget>
56    <OutputPath>..\..\CrypBuild\x64\Debug\CrypPlugins</OutputPath>
57    <ErrorReport>prompt</ErrorReport>
58    <WarningLevel>4</WarningLevel>
59    <DebugSymbols>true</DebugSymbols>
60    <DebugType>full</DebugType>
61    <Optimize>false</Optimize>
62    <DefineConstants>DEBUG;TRACE</DefineConstants>
63  </PropertyGroup>
64  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
65    <PlatformTarget>x86</PlatformTarget>
66    <OutputPath>..\..\CrypBuild\x86\Debug\CrypPlugins</OutputPath>
67    <ErrorReport>prompt</ErrorReport>
68    <WarningLevel>4</WarningLevel>
69    <DebugSymbols>true</DebugSymbols>
70    <DebugType>full</DebugType>
71    <Optimize>false</Optimize>
72    <DefineConstants>DEBUG;TRACE</DefineConstants>
73  </PropertyGroup>
74  <ItemGroup Condition=" '$(Platform)' == 'x86' " />
75  <ItemGroup Condition=" '$(Platform)' == 'x64' " />
76  <ItemGroup>
77    <Reference Include="PresentationCore">
78      <RequiredTargetFramework>3.0</RequiredTargetFramework>
79    </Reference>
80    <Reference Include="PresentationFramework">
81      <RequiredTargetFramework>3.0</RequiredTargetFramework>
82    </Reference>
83    <Reference Include="System" />
84    <Reference Include="System.Core">
85      <RequiredTargetFramework>3.5</RequiredTargetFramework>
86    </Reference>
87    <Reference Include="System.Xaml" />
88    <Reference Include="System.Xml.Linq">
89      <RequiredTargetFramework>3.5</RequiredTargetFramework>
90    </Reference>
91    <Reference Include="System.Data.DataSetExtensions">
92      <RequiredTargetFramework>3.5</RequiredTargetFramework>
93    </Reference>
94    <Reference Include="System.Data" />
95    <Reference Include="System.Xml" />
96    <Reference Include="WindowsBase">
97      <RequiredTargetFramework>3.0</RequiredTargetFramework>
98    </Reference>
99  </ItemGroup>
100  <ItemGroup>
101    <Compile Include="ExamplePluginCT2.cs" />
102    <Compile Include="ExamplePluginCT2Settings.cs" />
103    <Compile Include="Properties\AssemblyInfo.cs" />
104  </ItemGroup>
105  <ItemGroup>
106    <ProjectReference Include="..\..\CrypPluginBase\CrypPluginBase.csproj">
107      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
108      <Name>CrypPluginBase</Name>
109      <Private>False</Private>
110    </ProjectReference>
111  </ItemGroup>
112  <ItemGroup>
113    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
114      <Visible>False</Visible>
115      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
116      <Install>false</Install>
117    </BootstrapperPackage>
118    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
119      <Visible>False</Visible>
120      <ProductName>.NET Framework 3.5 SP1</ProductName>
121      <Install>true</Install>
122    </BootstrapperPackage>
123    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
124      <Visible>False</Visible>
125      <ProductName>Windows Installer 3.1</ProductName>
126      <Install>true</Install>
127    </BootstrapperPackage>
128  </ItemGroup>
129  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
130  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
131       Other similar extension points exist, see Microsoft.Common.targets.
132  <Target Name="BeforeBuild">
133  </Target>
134  <Target Name="AfterBuild">
135  </Target>
136  -->
137  <PropertyGroup>
138    <PostBuildEvent>SET outdir="$(ProjectDir)..\..\CrypWin\$(OutDir)"
139if exist %25outdir%25 (
140        cd %25outdir%25
141        if not exist "./CrypPlugins" mkdir "./CrypPlugins"
142
143        del /S /Q /A:-S-R-H "$(TargetName)*.*"
144        copy "$(TargetDir)$(TargetName)*.*" "./CrypPlugins"
145
146        if not exist "./Data" mkdir "./Data"
147        if exist "$(TargetDir)Data" xcopy /Y /S "$(TargetDir)Data" "./Data"
148)</PostBuildEvent>
149  </PropertyGroup>
150</Project>
Note: See TracBrowser for help on using the repository browser.