source: trunk/eraser/Eraser.Util/Eraser.Util.csproj @ 2320

Revision 2320, 8.2 KB checked in by lowjoel, 3 years ago (diff)

Upgraded to VS2010 projects and WiX 3.5 for futureproofing

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
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>{D083E1A8-3A4C-4683-9B3F-D5FEDE61B9C9}</ProjectGuid>
9    <OutputType>Library</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>Eraser.Util</RootNamespace>
12    <AssemblyName>Eraser.Util</AssemblyName>
13    <SignAssembly>true</SignAssembly>
14    <AssemblyOriginatorKeyFile>..\Strong Name.snk</AssemblyOriginatorKeyFile>
15    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
16    <PublishUrl>publish\</PublishUrl>
17    <Install>true</Install>
18    <InstallFrom>Disk</InstallFrom>
19    <UpdateEnabled>false</UpdateEnabled>
20    <UpdateMode>Foreground</UpdateMode>
21    <UpdateInterval>7</UpdateInterval>
22    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
23    <UpdatePeriodically>false</UpdatePeriodically>
24    <UpdateRequired>false</UpdateRequired>
25    <MapFileExtensions>true</MapFileExtensions>
26    <ApplicationRevision>0</ApplicationRevision>
27    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
28    <IsWebBootstrapper>false</IsWebBootstrapper>
29    <UseApplicationTrust>false</UseApplicationTrust>
30    <BootstrapperEnabled>true</BootstrapperEnabled>
31    <TargetFrameworkProfile />
32  </PropertyGroup>
33  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
34    <DebugSymbols>true</DebugSymbols>
35    <DebugType>full</DebugType>
36    <Optimize>false</Optimize>
37    <OutputPath>..\bin\Debug\</OutputPath>
38    <DefineConstants>TRACE;DEBUG;CODE_ANALYSIS</DefineConstants>
39    <ErrorReport>prompt</ErrorReport>
40    <WarningLevel>4</WarningLevel>
41    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
42    <CodeAnalysisRules>
43    </CodeAnalysisRules>
44    <CodeAnalysisRuleSet>Migrated rules for Eraser.Util.ruleset</CodeAnalysisRuleSet>
45  </PropertyGroup>
46  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
47    <DebugType>pdbonly</DebugType>
48    <Optimize>true</Optimize>
49    <OutputPath>..\bin\Release\</OutputPath>
50    <DefineConstants>TRACE</DefineConstants>
51    <ErrorReport>prompt</ErrorReport>
52    <WarningLevel>4</WarningLevel>
53    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
54    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
55  </PropertyGroup>
56  <ItemGroup>
57    <Reference Include="alglib, Version=2.3.0.0, Culture=neutral, PublicKeyToken=3ac89a0351e689b6, processorArchitecture=MSIL">
58      <SpecificVersion>False</SpecificVersion>
59      <HintPath>..\Dependencies\alglib.dll</HintPath>
60    </Reference>
61    <Reference Include="CommonLibrary, Version=0.9.3.10, Culture=neutral, PublicKeyToken=3ac89a0351e689b6, processorArchitecture=MSIL">
62      <SpecificVersion>False</SpecificVersion>
63      <HintPath>..\Dependencies\CommonLibrary.dll</HintPath>
64    </Reference>
65    <Reference Include="System" />
66    <Reference Include="System.Core">
67      <RequiredTargetFramework>3.5</RequiredTargetFramework>
68    </Reference>
69    <Reference Include="System.Data" />
70    <Reference Include="System.Data.Linq">
71      <RequiredTargetFramework>3.5</RequiredTargetFramework>
72    </Reference>
73    <Reference Include="System.Drawing" />
74    <Reference Include="System.Management" />
75    <Reference Include="System.Windows.Forms" />
76    <Reference Include="System.Xml" />
77  </ItemGroup>
78  <ItemGroup>
79    <Compile Include="..\Version.cs">
80      <Link>Version.cs</Link>
81    </Compile>
82    <Compile Include="Security.cs" />
83    <Compile Include="ExtensionMethods\IO.cs" />
84    <Compile Include="Binders.cs" />
85    <Compile Include="Localisation.cs" />
86    <Compile Include="NativeMethods\Kernel.cs" />
87    <Compile Include="NativeMethods\MsCorEE.cs" />
88    <Compile Include="NativeMethods\NetApi.cs" />
89    <Compile Include="NativeMethods\NtDll.cs" />
90    <Compile Include="NativeMethods\Shell.cs" />
91    <Compile Include="NativeMethods\User.cs" />
92    <Compile Include="NativeMethods\UxTheme.cs" />
93    <Compile Include="NativeMethods\WinTrust.cs" />
94    <Compile Include="NtfsApi.cs" />
95    <Compile Include="RecycleBin.cs" />
96    <Compile Include="SystemRestore.cs">
97      <SubType>Component</SubType>
98    </Compile>
99    <Compile Include="StreamInfo.cs" />
100    <Compile Include="SystemInfo.cs" />
101    <Compile Include="Theming.cs" />
102    <Compile Include="VolumeInfo.cs" />
103    <Compile Include="NetApi.cs" />
104    <Compile Include="Properties\AssemblyInfo.cs" />
105    <Compile Include="UserApi.cs" />
106  </ItemGroup>
107  <ItemGroup>
108    <CodeAnalysisDictionary Include="..\CustomDictionary.xml">
109      <Link>CustomDictionary.xml</Link>
110    </CodeAnalysisDictionary>
111  </ItemGroup>
112  <ItemGroup>
113    <Compile Include="ConsoleWindow.cs" />
114    <Compile Include="ExtensionClasses\SplitButton.cs">
115      <SubType>Component</SubType>
116    </Compile>
117    <Compile Include="ExtensionMethods\Assembly.cs" />
118    <Compile Include="ExtensionMethods\Path.cs" />
119    <Compile Include="FileSize.cs" />
120    <Compile Include="Logger.cs" />
121    <Compile Include="MiniDump.cs" />
122    <Compile Include="NativeMethods\DbgHelp.cs" />
123    <Compile Include="NativeMethods\Mpr.cs" />
124    <Compile Include="NativeMethods\WinUser.cs" />
125    <Compile Include="PhysicalDriveInfo.cs" />
126    <Compile Include="PostDataBuilder.cs" />
127    <Compile Include="Power.cs" />
128    <Compile Include="NativeMethods\Gdi.cs" />
129    <Compile Include="NativeMethods\Sfc.cs" />
130    <Compile Include="ProgressManager.cs" />
131    <Compile Include="Sampler.cs" />
132    <Compile Include="ExtensionClasses\SharingViolationException.cs" />
133    <Compile Include="Shell.cs" />
134    <Compile Include="Win32ErrorCodes.cs" />
135  </ItemGroup>
136  <ItemGroup>
137    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
138      <Visible>False</Visible>
139      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
140      <Install>false</Install>
141    </BootstrapperPackage>
142    <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
143      <Visible>False</Visible>
144      <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
145      <Install>false</Install>
146    </BootstrapperPackage>
147    <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
148      <Visible>False</Visible>
149      <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
150      <Install>false</Install>
151    </BootstrapperPackage>
152    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
153      <Visible>False</Visible>
154      <ProductName>.NET Framework 3.5</ProductName>
155      <Install>false</Install>
156    </BootstrapperPackage>
157    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
158      <Visible>False</Visible>
159      <ProductName>.NET Framework 3.5 SP1</ProductName>
160      <Install>true</Install>
161    </BootstrapperPackage>
162    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
163      <Visible>False</Visible>
164      <ProductName>Windows Installer 3.1</ProductName>
165      <Install>true</Install>
166    </BootstrapperPackage>
167  </ItemGroup>
168  <ItemGroup>
169    <EmbeddedResource Include="Strings.en.resx" />
170    <EmbeddedResource Include="Strings.it.resx" />
171    <EmbeddedResource Include="Strings.nl.resx" />
172    <EmbeddedResource Include="Strings.pl.resx" />
173    <EmbeddedResource Include="Strings.resx" />
174  </ItemGroup>
175  <ItemGroup>
176    <None Include="Migrated rules for Eraser.Util.ruleset" />
177  </ItemGroup>
178  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
179  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
180       Other similar extension points exist, see Microsoft.Common.targets.
181  <Target Name="BeforeBuild">
182  </Target>
183  <Target Name="AfterBuild">
184  </Target>
185  -->
186  <PropertyGroup>
187    <PreBuildEvent>call "$(SolutionDir)UpdateVersions.bat" "$(SolutionDir)\." "$(SolutionDir)Version.cs.in" "$(SolutionDir)Version.cs"
188csgettext --merge --recursive EN,NL,IT,PL "$(ProjectDir)\." Strings
189if ERRORLEVEL 0 exit 0</PreBuildEvent>
190  </PropertyGroup>
191</Project>
Note: See TracBrowser for help on using the repository browser.