source: branches/eraser6/DefaultPlugins/DefaultPlugins.csproj @ 633

Revision 633, 5.5 KB checked in by lowjoel, 6 years ago (diff)

Following the discussion that Authenticode should also be used when verifying plugins on first load, I've now changed the Compiling Eraser instructions http://eraser.heidi.ie/trac/wiki/CompilingEraser?version=4 so that a Strong Name Key file is used without password protection by default; Authenticode keys will be assumed to be in the Solution root folder, and the release binaries will be signed before the installer is compiled. Bootstrapper will be signed after linking.

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.21022</ProductVersion>
6    <SchemaVersion>2.0</SchemaVersion>
7    <ProjectGuid>{21752123-7BD7-4B44-B512-14A963C55FD8}</ProjectGuid>
8    <OutputType>Library</OutputType>
9    <AppDesignerFolder>Properties</AppDesignerFolder>
10    <RootNamespace>Eraser.DefaultPlugins</RootNamespace>
11    <AssemblyName>Eraser.DefaultPlugins</AssemblyName>
12    <SignAssembly>true</SignAssembly>
13    <AssemblyOriginatorKeyFile>..\Strong Name.snk</AssemblyOriginatorKeyFile>
14    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
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\Plugins\</OutputPath>
21    <DefineConstants>DEBUG;TRACE</DefineConstants>
22    <ErrorReport>prompt</ErrorReport>
23    <WarningLevel>4</WarningLevel>
24    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
25  </PropertyGroup>
26  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27    <DebugType>pdbonly</DebugType>
28    <Optimize>true</Optimize>
29    <OutputPath>..\bin\Release\Plugins\</OutputPath>
30    <DefineConstants>TRACE</DefineConstants>
31    <ErrorReport>prompt</ErrorReport>
32    <WarningLevel>4</WarningLevel>
33    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
34  </PropertyGroup>
35  <ItemGroup>
36    <Reference Include="ISAAC, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
37      <SpecificVersion>False</SpecificVersion>
38      <HintPath>..\Dependencies\ISAAC.dll</HintPath>
39    </Reference>
40    <Reference Include="System" />
41    <Reference Include="System.Core">
42      <RequiredTargetFramework>3.5</RequiredTargetFramework>
43    </Reference>
44    <Reference Include="System.Data" />
45    <Reference Include="System.Drawing" />
46    <Reference Include="System.Windows.Forms" />
47    <Reference Include="System.Xml" />
48  </ItemGroup>
49  <ItemGroup>
50    <Compile Include="..\Version.cs">
51      <Link>Version.cs</Link>
52    </Compile>
53    <Compile Include="CustomMethodEditorForm.cs">
54      <SubType>Form</SubType>
55    </Compile>
56    <Compile Include="CustomMethodEditorForm.Designer.cs">
57      <DependentUpon>CustomMethodEditorForm.cs</DependentUpon>
58    </Compile>
59    <Compile Include="CustomMethodPassEditor.cs">
60      <SubType>UserControl</SubType>
61    </Compile>
62    <Compile Include="CustomMethodPassEditor.Designer.cs">
63      <DependentUpon>CustomMethodPassEditor.cs</DependentUpon>
64    </Compile>
65    <Compile Include="EraseCustom.cs" />
66    <Compile Include="EraseDoD.cs" />
67    <Compile Include="EraseRandom.cs" />
68    <Compile Include="EraseGutmann.cs" />
69    <Compile Include="EraseFirstLast16KB.cs" />
70    <Compile Include="EraseHMGIS5.cs" />
71    <Compile Include="EraseGOSTP50739.cs" />
72    <Compile Include="EraseUSAF5020.cs" />
73    <Compile Include="EraseVSITR.cs" />
74    <Compile Include="EraseRCMP_TSSIT_OPS_II.cs" />
75    <Compile Include="RNGISAAC.cs" />
76    <Compile Include="Plugin.cs" />
77    <Compile Include="Properties\AssemblyInfo.cs" />
78    <Compile Include="RNGCrypto.cs" />
79    <Compile Include="EraseSchneier.cs" />
80    <Compile Include="SettingsForm.cs">
81      <SubType>Form</SubType>
82    </Compile>
83    <Compile Include="SettingsForm.Designer.cs">
84      <DependentUpon>SettingsForm.cs</DependentUpon>
85    </Compile>
86    <Compile Include="EraseUSArmyAR380_19.cs" />
87  </ItemGroup>
88  <ItemGroup>
89    <ProjectReference Include="..\Manager\Manager.csproj">
90      <Project>{C1AC3255-0939-499D-A69D-725E3DD4F574}</Project>
91      <Name>Manager</Name>
92      <Private>False</Private>
93    </ProjectReference>
94    <ProjectReference Include="..\Util\Util.csproj">
95      <Project>{D083E1A8-3A4C-4683-9B3F-D5FEDE61B9C9}</Project>
96      <Name>Util</Name>
97      <Private>False</Private>
98    </ProjectReference>
99  </ItemGroup>
100  <ItemGroup>
101    <EmbeddedResource Include="CustomMethodEditorForm.resx">
102      <SubType>Designer</SubType>
103      <DependentUpon>CustomMethodEditorForm.cs</DependentUpon>
104    </EmbeddedResource>
105    <EmbeddedResource Include="CustomMethodPassEditor.resx">
106      <DependentUpon>CustomMethodPassEditor.cs</DependentUpon>
107      <SubType>Designer</SubType>
108    </EmbeddedResource>
109    <EmbeddedResource Include="Strings.en.resx">
110      <SubType>Designer</SubType>
111    </EmbeddedResource>
112    <EmbeddedResource Include="Strings.nl.resx">
113      <SubType>Designer</SubType>
114    </EmbeddedResource>
115    <EmbeddedResource Include="Strings.resx">
116      <SubType>Designer</SubType>
117    </EmbeddedResource>
118    <EmbeddedResource Include="SettingsForm.resx">
119      <SubType>Designer</SubType>
120      <DependentUpon>SettingsForm.cs</DependentUpon>
121    </EmbeddedResource>
122  </ItemGroup>
123  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
124  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
125       Other similar extension points exist, see Microsoft.Common.targets.
126  <Target Name="BeforeBuild">
127  </Target>
128  <Target Name="AfterBuild">
129  </Target>
130  -->
131  <PropertyGroup>
132    <PostBuildEvent>
133    </PostBuildEvent>
134    <PreBuildEvent>csgettext --merge EN,NL "$(ProjectDir)\" Strings
135if ERRORLEVEL 0 exit 0</PreBuildEvent>
136  </PropertyGroup>
137</Project>
Note: See TracBrowser for help on using the repository browser.