source: branches/eraser6/CodeReview/Eraser.Util/Eraser.Util.csproj @ 1567

Revision 1567, 4.3 KB checked in by lowjoel, 5 years ago (diff)

Split the ConsoleWindow? class out of the KernelApi? class since it manages the lifetime of a ConsoleWindow?. Addresses #284: Eraser.Util rewrite

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  </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    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
25    <CodeAnalysisRules>-Microsoft.Interoperability#CA1404;-Microsoft.Naming#CA1704;-Microsoft.Naming#CA1707</CodeAnalysisRules>
26  </PropertyGroup>
27  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28    <DebugType>pdbonly</DebugType>
29    <Optimize>true</Optimize>
30    <OutputPath>..\bin\Release\</OutputPath>
31    <DefineConstants>TRACE</DefineConstants>
32    <ErrorReport>prompt</ErrorReport>
33    <WarningLevel>4</WarningLevel>
34    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
35  </PropertyGroup>
36  <ItemGroup>
37    <Reference Include="System" />
38    <Reference Include="System.Core">
39      <RequiredTargetFramework>3.5</RequiredTargetFramework>
40    </Reference>
41    <Reference Include="System.Data" />
42    <Reference Include="System.Drawing" />
43    <Reference Include="System.Management" />
44    <Reference Include="System.Windows.Forms" />
45    <Reference Include="System.Xml" />
46  </ItemGroup>
47  <ItemGroup>
48    <Compile Include="..\Version.cs">
49      <Link>Version.cs</Link>
50    </Compile>
51    <Compile Include="Security.cs" />
52    <Compile Include="ExtensionMethods\IO.cs" />
53    <Compile Include="Localisation.cs" />
54    <Compile Include="NativeMethods\AdvApi.cs" />
55    <Compile Include="NativeMethods\Kernel.cs" />
56    <Compile Include="NativeMethods\MsCorEE.cs" />
57    <Compile Include="NativeMethods\NetApi.cs" />
58    <Compile Include="NativeMethods\NtDll.cs" />
59    <Compile Include="NativeMethods\Shell.cs" />
60    <Compile Include="NativeMethods\User.cs" />
61    <Compile Include="NativeMethods\UxTheme.cs" />
62    <Compile Include="NativeMethods\WinTrust.cs" />
63    <Compile Include="NtfsApi.cs" />
64    <Compile Include="RecycleBin.cs" />
65    <Compile Include="SystemRestore.cs">
66      <SubType>Component</SubType>
67    </Compile>
68    <Compile Include="StreamInfo.cs" />
69    <Compile Include="KernelApi.cs" />
70    <Compile Include="File.cs" />
71    <Compile Include="Theming.cs" />
72    <Compile Include="VolumeInfo.cs" />
73    <Compile Include="NetApi.cs" />
74    <Compile Include="NTApi.cs" />
75    <Compile Include="Properties\AssemblyInfo.cs" />
76    <Compile Include="UserApi.cs" />
77  </ItemGroup>
78  <ItemGroup>
79    <CodeAnalysisDictionary Include="..\CustomDictionary.xml">
80      <Link>CustomDictionary.xml</Link>
81    </CodeAnalysisDictionary>
82  </ItemGroup>
83  <ItemGroup>
84    <Compile Include="ConsoleWindow.cs" />
85    <Compile Include="Power.cs" />
86    <Compile Include="NativeMethods\Gdi.cs" />
87    <Compile Include="NativeMethods\Sfc.cs" />
88    <Compile Include="Win32ErrorCodes.cs" />
89  </ItemGroup>
90  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
91  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
92       Other similar extension points exist, see Microsoft.Common.targets.
93  <Target Name="BeforeBuild">
94  </Target>
95  <Target Name="AfterBuild">
96  </Target>
97  -->
98  <PropertyGroup>
99    <PreBuildEvent>call "$(SolutionDir)UpdateVersions.bat" "$(SolutionDir)\." "$(SolutionDir)Version.cs.in" "$(SolutionDir)Version.cs"
100</PreBuildEvent>
101  </PropertyGroup>
102</Project>
Note: See TracBrowser for help on using the repository browser.