source: trunk/CrypPlugins/CostFunction/CostFunction.csproj @ 1378

Last change on this file since 1378 was 1378, checked in by Paul Lelgemann, 12 years ago

o Fixed solutions and broken plugins, which had missing/broken dependencies
+ Added debug output after connecting about our local peer to CrypP2P
+ Prepared PeerToPeer plugin for later use

File size: 6.9 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="3.5" 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>{3C72FF93-48C2-4929-B3B2-83F165AAE636}</ProjectGuid>
9    <OutputType>Library</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>CostFunction</RootNamespace>
12    <AssemblyName>CostFunction</AssemblyName>
13    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14    <FileAlignment>512</FileAlignment>
15  </PropertyGroup>
16  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17    <DebugSymbols>true</DebugSymbols>
18    <DebugType>full</DebugType>
19    <Optimize>false</Optimize>
20    <OutputPath>bin\Debug\</OutputPath>
21    <DefineConstants>DEBUG;TRACE</DefineConstants>
22    <ErrorReport>prompt</ErrorReport>
23    <WarningLevel>4</WarningLevel>
24  </PropertyGroup>
25  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26    <DebugType>pdbonly</DebugType>
27    <Optimize>true</Optimize>
28    <OutputPath>bin\Release\</OutputPath>
29    <DefineConstants>TRACE</DefineConstants>
30    <ErrorReport>prompt</ErrorReport>
31    <WarningLevel>4</WarningLevel>
32  </PropertyGroup>
33  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
34    <DebugSymbols>true</DebugSymbols>
35    <OutputPath>bin\x86\Debug\</OutputPath>
36    <DefineConstants>DEBUG;TRACE</DefineConstants>
37    <DebugType>full</DebugType>
38    <PlatformTarget>x86</PlatformTarget>
39    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
40    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
41    <ErrorReport>prompt</ErrorReport>
42  </PropertyGroup>
43  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
44    <OutputPath>bin\x86\Release\</OutputPath>
45    <DefineConstants>TRACE</DefineConstants>
46    <Optimize>true</Optimize>
47    <DebugType>pdbonly</DebugType>
48    <PlatformTarget>x86</PlatformTarget>
49    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
50    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
51    <ErrorReport>prompt</ErrorReport>
52  </PropertyGroup>
53  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
54    <DebugSymbols>true</DebugSymbols>
55    <OutputPath>bin\x64\Debug\</OutputPath>
56    <DefineConstants>DEBUG;TRACE</DefineConstants>
57    <DebugType>full</DebugType>
58    <PlatformTarget>x64</PlatformTarget>
59    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
60    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
61    <ErrorReport>prompt</ErrorReport>
62  </PropertyGroup>
63  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
64    <OutputPath>bin\x64\Release\</OutputPath>
65    <DefineConstants>TRACE</DefineConstants>
66    <Optimize>true</Optimize>
67    <DebugType>pdbonly</DebugType>
68    <PlatformTarget>x64</PlatformTarget>
69    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
70    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
71    <ErrorReport>prompt</ErrorReport>
72  </PropertyGroup>
73  <ItemGroup>
74    <Reference Include="PresentationCore">
75      <RequiredTargetFramework>3.0</RequiredTargetFramework>
76    </Reference>
77    <Reference Include="PresentationFramework">
78      <RequiredTargetFramework>3.0</RequiredTargetFramework>
79    </Reference>
80    <Reference Include="System" />
81    <Reference Include="System.Core">
82      <RequiredTargetFramework>3.5</RequiredTargetFramework>
83    </Reference>
84    <Reference Include="System.Xml.Linq">
85      <RequiredTargetFramework>3.5</RequiredTargetFramework>
86    </Reference>
87    <Reference Include="System.Data.DataSetExtensions">
88      <RequiredTargetFramework>3.5</RequiredTargetFramework>
89    </Reference>
90    <Reference Include="System.Data" />
91    <Reference Include="System.Xml" />
92    <Reference Include="WindowsBase">
93      <RequiredTargetFramework>3.0</RequiredTargetFramework>
94    </Reference>
95  </ItemGroup>
96  <ItemGroup>
97    <Compile Include="Properties\AssemblyInfo.cs" />
98    <Compile Include="CostFunction.cs" />
99    <Compile Include="CostFunctionSettings.cs" />
100  </ItemGroup>
101  <ItemGroup>
102    <ProjectReference Include="..\..\CrypPluginBase\CrypPluginBase.csproj">
103      <Project>{25DB2B47-A457-4EC2-960B-395CE07AE093}</Project>
104      <Name>CrypPluginBase</Name>
105    </ProjectReference>
106    <ProjectReference Include="..\NativeCryptography\NativeCryptography.vcproj">
107      <Project>{97B06ADB-43E4-4320-9AD8-D167421F0644}</Project>
108      <Name>NativeCryptography</Name>
109    </ProjectReference>
110  </ItemGroup>
111  <ItemGroup>
112    <WCFMetadata Include="Service References\" />
113  </ItemGroup>
114  <ItemGroup>
115    <Resource Include="icon.png" />
116  </ItemGroup>
117  <ItemGroup>
118    <None Include="Enigma_1gram_Frequency.txt">
119      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
120    </None>
121  </ItemGroup>
122  <ItemGroup>
123    <None Include="Enigma_3gram_Frequency.txt">
124      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
125    </None>
126  </ItemGroup>
127  <ItemGroup>
128    <None Include="Enigma_2gram_Frequency.txt">
129      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
130    </None>
131  </ItemGroup>
132  <ItemGroup>
133    <None Include="CostFunctionDeutsch.txt">
134      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
135    </None>
136  </ItemGroup>
137  <ItemGroup>
138    <None Include="Data\2gram.txt">
139      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
140    </None>
141  </ItemGroup>
142  <ItemGroup>
143    <None Include="Data\Enigma_3gram_Frequency.txt">
144      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
145    </None>
146  </ItemGroup>
147  <ItemGroup>
148    <None Include="Data\2gram.txt.metainfo" />
149  </ItemGroup>
150  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
151  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
152       Other similar extension points exist, see Microsoft.Common.targets.
153  <Target Name="BeforeBuild">
154  </Target>
155  <Target Name="AfterBuild">
156  </Target>
157  -->
158  <PropertyGroup>
159    <PostBuildEvent>cd "$(ProjectDir)"
160cd ..\..\CrypWin\$(OutDir)
161if not exist "./CrypPlugins" mkdir "./CrypPlugins"
162if not exist "./Data/transposition" mkdir "./Data/transposition"
163del /F /S /Q /s /q "CostFunction*.*"
164copy "$(TargetDir)CostFunction*.*" "./CrypPlugins"
165copy "$(ProjectDir)Data\*.*" "./Data/transposition"</PostBuildEvent>
166  </PropertyGroup>
167</Project>
Note: See TracBrowser for help on using the repository browser.