source: trunk/eraser6/Eraser.Util/Eraser.Util.csproj @ 1832

Revision 1832, 7.0 KB checked in by lowjoel, 5 years ago (diff)

Removed CryptGenRandom? for a few reasons:

  • The only use was in the Entropy gathering code. We default to using RNGCryptoServiceProvider which is already a CSPRNG.
  • Since RNGCryptoServiceProvider doesn't accept seeds, we can't seed it with our entropy
  • CryptGenRandom? involved a lot of setting up -- certain computers do not have it and would result in a crash
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>{D083E1A8-3A4C-4683-9B3F-D5FEDE61B9C9}</ProjectGuid>
8    <OutputType>Library</OutputType>
9    <AppDesignerFolder>Properties</AppDesignerFolder>
10    <RootNamespace>Eraser.Util</RootNamespace>
11    <AssemblyName>Eraser.Util</AssemblyName>
12    <SignAssembly>true</SignAssembly>
13    <AssemblyOriginatorKeyFile>..\Strong Name.snk</AssemblyOriginatorKeyFile>
14    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
15    <PublishUrl>publish\</PublishUrl>
16    <Install>true</Install>
17    <InstallFrom>Disk</InstallFrom>
18    <UpdateEnabled>false</UpdateEnabled>
19    <UpdateMode>Foreground</UpdateMode>
20    <UpdateInterval>7</UpdateInterval>
21    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
22    <UpdatePeriodically>false</UpdatePeriodically>
23    <UpdateRequired>false</UpdateRequired>
24    <MapFileExtensions>true</MapFileExtensions>
25    <ApplicationRevision>0</ApplicationRevision>
26    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
27    <IsWebBootstrapper>false</IsWebBootstrapper>
28    <UseApplicationTrust>false</UseApplicationTrust>
29    <BootstrapperEnabled>true</BootstrapperEnabled>
30  </PropertyGroup>
31  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
32    <DebugSymbols>true</DebugSymbols>
33    <DebugType>full</DebugType>
34    <Optimize>false</Optimize>
35    <OutputPath>..\bin\Debug\</OutputPath>
36    <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS</DefineConstants>
37    <ErrorReport>prompt</ErrorReport>
38    <WarningLevel>4</WarningLevel>
39    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
40    <CodeAnalysisRules>-Microsoft.Interoperability#CA1404;-Microsoft.Naming#CA1704;-Microsoft.Naming#CA1707</CodeAnalysisRules>
41  </PropertyGroup>
42  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
43    <DebugType>pdbonly</DebugType>
44    <Optimize>true</Optimize>
45    <OutputPath>..\bin\Release\</OutputPath>
46    <DefineConstants>TRACE</DefineConstants>
47    <ErrorReport>prompt</ErrorReport>
48    <WarningLevel>4</WarningLevel>
49    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
50  </PropertyGroup>
51  <ItemGroup>
52    <Reference Include="CommonLibrary, Version=0.9.3.10, Culture=neutral, PublicKeyToken=3ac89a0351e689b6, processorArchitecture=MSIL">
53      <SpecificVersion>False</SpecificVersion>
54      <HintPath>..\Dependencies\CommonLibrary.dll</HintPath>
55    </Reference>
56    <Reference Include="ICSharpCode.SharpZipLib, Version=0.85.5.452, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
57      <SpecificVersion>False</SpecificVersion>
58      <HintPath>..\Dependencies\ICSharpCode.SharpZipLib.dll</HintPath>
59    </Reference>
60    <Reference Include="System" />
61    <Reference Include="System.Core">
62      <RequiredTargetFramework>3.5</RequiredTargetFramework>
63    </Reference>
64    <Reference Include="System.Data" />
65    <Reference Include="System.Drawing" />
66    <Reference Include="System.Management" />
67    <Reference Include="System.Windows.Forms" />
68    <Reference Include="System.Xml" />
69  </ItemGroup>
70  <ItemGroup>
71    <Compile Include="..\Version.cs">
72      <Link>Version.cs</Link>
73    </Compile>
74    <Compile Include="Security.cs" />
75    <Compile Include="ExtensionMethods\IO.cs" />
76    <Compile Include="BlackBox.cs" />
77    <Compile Include="Localisation.cs" />
78    <Compile Include="NativeMethods\Kernel.cs" />
79    <Compile Include="NativeMethods\MsCorEE.cs" />
80    <Compile Include="NativeMethods\NetApi.cs" />
81    <Compile Include="NativeMethods\NtDll.cs" />
82    <Compile Include="NativeMethods\Shell.cs" />
83    <Compile Include="NativeMethods\User.cs" />
84    <Compile Include="NativeMethods\UxTheme.cs" />
85    <Compile Include="NativeMethods\WinTrust.cs" />
86    <Compile Include="NtfsApi.cs" />
87    <Compile Include="RecycleBin.cs" />
88    <Compile Include="SystemRestore.cs">
89      <SubType>Component</SubType>
90    </Compile>
91    <Compile Include="StreamInfo.cs" />
92    <Compile Include="SystemInfo.cs" />
93    <Compile Include="Theming.cs" />
94    <Compile Include="VolumeInfo.cs" />
95    <Compile Include="NetApi.cs" />
96    <Compile Include="Properties\AssemblyInfo.cs" />
97    <Compile Include="UserApi.cs" />
98  </ItemGroup>
99  <ItemGroup>
100    <CodeAnalysisDictionary Include="..\CustomDictionary.xml">
101      <Link>CustomDictionary.xml</Link>
102    </CodeAnalysisDictionary>
103  </ItemGroup>
104  <ItemGroup>
105    <Compile Include="ConsoleWindow.cs" />
106    <Compile Include="FileSize.cs" />
107    <Compile Include="Logger.cs" />
108    <Compile Include="NativeMethods\DbgHelp.cs" />
109    <Compile Include="NativeMethods\Mpr.cs" />
110    <Compile Include="PostDataBuilder.cs" />
111    <Compile Include="Power.cs" />
112    <Compile Include="NativeMethods\Gdi.cs" />
113    <Compile Include="NativeMethods\Sfc.cs" />
114    <Compile Include="ProgressManager.cs" />
115    <Compile Include="Shell.cs" />
116    <Compile Include="Win32ErrorCodes.cs" />
117  </ItemGroup>
118  <ItemGroup>
119    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
120      <Visible>False</Visible>
121      <ProductName>.NET Framework Client Profile</ProductName>
122      <Install>false</Install>
123    </BootstrapperPackage>
124    <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
125      <Visible>False</Visible>
126      <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
127      <Install>false</Install>
128    </BootstrapperPackage>
129    <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
130      <Visible>False</Visible>
131      <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
132      <Install>false</Install>
133    </BootstrapperPackage>
134    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
135      <Visible>False</Visible>
136      <ProductName>.NET Framework 3.5</ProductName>
137      <Install>false</Install>
138    </BootstrapperPackage>
139    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
140      <Visible>False</Visible>
141      <ProductName>.NET Framework 3.5 SP1</ProductName>
142      <Install>true</Install>
143    </BootstrapperPackage>
144    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
145      <Visible>False</Visible>
146      <ProductName>Windows Installer 3.1</ProductName>
147      <Install>true</Install>
148    </BootstrapperPackage>
149  </ItemGroup>
150  <Import Project="$(MSBuildBinPath)\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    <PreBuildEvent>call "$(SolutionDir)UpdateVersions.bat" "$(SolutionDir)\." "$(SolutionDir)Version.cs.in" "$(SolutionDir)Version.cs"
160</PreBuildEvent>
161  </PropertyGroup>
162</Project>
Note: See TracBrowser for help on using the repository browser.