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

Revision 1872, 7.1 KB checked in by lowjoel, 5 years ago (diff)

Define a discrete SharingViolationException? which is thrown when a file is currently in use. This makes handling such errors easier.

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="ExtensionClasses\SharingViolationException.cs" />
116    <Compile Include="Shell.cs" />
117    <Compile Include="Win32ErrorCodes.cs" />
118  </ItemGroup>
119  <ItemGroup>
120    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
121      <Visible>False</Visible>
122      <ProductName>.NET Framework Client Profile</ProductName>
123      <Install>false</Install>
124    </BootstrapperPackage>
125    <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
126      <Visible>False</Visible>
127      <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
128      <Install>false</Install>
129    </BootstrapperPackage>
130    <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
131      <Visible>False</Visible>
132      <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
133      <Install>false</Install>
134    </BootstrapperPackage>
135    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
136      <Visible>False</Visible>
137      <ProductName>.NET Framework 3.5</ProductName>
138      <Install>false</Install>
139    </BootstrapperPackage>
140    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
141      <Visible>False</Visible>
142      <ProductName>.NET Framework 3.5 SP1</ProductName>
143      <Install>true</Install>
144    </BootstrapperPackage>
145    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
146      <Visible>False</Visible>
147      <ProductName>Windows Installer 3.1</ProductName>
148      <Install>true</Install>
149    </BootstrapperPackage>
150  </ItemGroup>
151  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
152  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
153       Other similar extension points exist, see Microsoft.Common.targets.
154  <Target Name="BeforeBuild">
155  </Target>
156  <Target Name="AfterBuild">
157  </Target>
158  -->
159  <PropertyGroup>
160    <PreBuildEvent>call "$(SolutionDir)UpdateVersions.bat" "$(SolutionDir)\." "$(SolutionDir)Version.cs.in" "$(SolutionDir)Version.cs"
161</PreBuildEvent>
162  </PropertyGroup>
163</Project>
Note: See TracBrowser for help on using the repository browser.