ISCSIConsole.csproj 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
  2. <Import Project="C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props" Condition="Exists('C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props')" />
  3. <PropertyGroup>
  4. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  5. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  6. <ProductVersion>8.0.50727</ProductVersion>
  7. <SchemaVersion>2.0</SchemaVersion>
  8. <ProjectGuid>{6C9727E4-00AC-4DE0-86A3-5A10259DE3E4}</ProjectGuid>
  9. <OutputType>WinExe</OutputType>
  10. <AppDesignerFolder>Properties</AppDesignerFolder>
  11. <RootNamespace>ISCSIConsole</RootNamespace>
  12. <AssemblyName>ISCSIConsole</AssemblyName>
  13. <ApplicationIcon>Icons\SCSI.ico</ApplicationIcon>
  14. <FileUpgradeFlags>
  15. </FileUpgradeFlags>
  16. <UpgradeBackupLocation>
  17. </UpgradeBackupLocation>
  18. <OldToolsVersion>2.0</OldToolsVersion>
  19. <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
  20. <TargetFrameworkProfile />
  21. <NuGetPackageImportStamp>
  22. </NuGetPackageImportStamp>
  23. <PublishUrl>publish\</PublishUrl>
  24. <Install>true</Install>
  25. <InstallFrom>Disk</InstallFrom>
  26. <UpdateEnabled>false</UpdateEnabled>
  27. <UpdateMode>Foreground</UpdateMode>
  28. <UpdateInterval>7</UpdateInterval>
  29. <UpdateIntervalUnits>Days</UpdateIntervalUnits>
  30. <UpdatePeriodically>false</UpdatePeriodically>
  31. <UpdateRequired>false</UpdateRequired>
  32. <MapFileExtensions>true</MapFileExtensions>
  33. <ApplicationRevision>0</ApplicationRevision>
  34. <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
  35. <IsWebBootstrapper>false</IsWebBootstrapper>
  36. <UseApplicationTrust>false</UseApplicationTrust>
  37. <BootstrapperEnabled>true</BootstrapperEnabled>
  38. </PropertyGroup>
  39. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  40. <DebugSymbols>true</DebugSymbols>
  41. <DebugType>full</DebugType>
  42. <Optimize>false</Optimize>
  43. <OutputPath>bin\Debug\</OutputPath>
  44. <DefineConstants>TRACE;DEBUG;Win32</DefineConstants>
  45. <ErrorReport>prompt</ErrorReport>
  46. <WarningLevel>4</WarningLevel>
  47. <Prefer32Bit>false</Prefer32Bit>
  48. </PropertyGroup>
  49. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  50. <DebugType>pdbonly</DebugType>
  51. <Optimize>true</Optimize>
  52. <OutputPath>bin\Release\</OutputPath>
  53. <DefineConstants>TRACE;Win32</DefineConstants>
  54. <ErrorReport>prompt</ErrorReport>
  55. <WarningLevel>4</WarningLevel>
  56. <Prefer32Bit>false</Prefer32Bit>
  57. </PropertyGroup>
  58. <ItemGroup>
  59. <Reference Include="System" />
  60. <Reference Include="System.Configuration" />
  61. <Reference Include="System.Data" />
  62. <Reference Include="System.Drawing" />
  63. <Reference Include="System.Windows.Forms" />
  64. <Reference Include="System.Xml" />
  65. </ItemGroup>
  66. <ItemGroup>
  67. <Compile Include="AddTargetForm.cs">
  68. <SubType>Form</SubType>
  69. </Compile>
  70. <Compile Include="AddTargetForm.Designer.cs">
  71. <DependentUpon>AddTargetForm.cs</DependentUpon>
  72. </Compile>
  73. <Compile Include="Mods\BaseForm.cs">
  74. <SubType>Form</SubType>
  75. </Compile>
  76. <Compile Include="CreateDiskImageForm.cs">
  77. <SubType>Form</SubType>
  78. </Compile>
  79. <Compile Include="CreateDiskImageForm.Designer.cs">
  80. <DependentUpon>CreateDiskImageForm.cs</DependentUpon>
  81. </Compile>
  82. <Compile Include="CreateRAMDiskForm.cs">
  83. <SubType>Form</SubType>
  84. </Compile>
  85. <Compile Include="CreateRAMDiskForm.Designer.cs">
  86. <DependentUpon>CreateRAMDiskForm.cs</DependentUpon>
  87. </Compile>
  88. <Compile Include="Disks\VolumeDisk.cs" />
  89. <Compile Include="Helpers\FormattingHelper.cs" />
  90. <Compile Include="Helpers\ISCSINameHelper.cs" />
  91. <Compile Include="Helpers\LockUtils.cs" />
  92. <Compile Include="Helpers\UsageCounter.cs" />
  93. <Compile Include="MainForm.cs">
  94. <SubType>Form</SubType>
  95. </Compile>
  96. <Compile Include="MainForm.Designer.cs">
  97. <DependentUpon>MainForm.cs</DependentUpon>
  98. </Compile>
  99. <Compile Include="Mods\AutoLoadEntry.cs" />
  100. <Compile Include="Mods\IconExtractor.cs" />
  101. <Compile Include="Mods\NativeMethods.cs" />
  102. <Compile Include="Mods\SelectPhysicalDiskWithSnapForm.cs">
  103. <SubType>Form</SubType>
  104. </Compile>
  105. <Compile Include="Mods\SelectPhysicalDiskWithSnapForm.Designer.cs">
  106. <DependentUpon>SelectPhysicalDiskWithSnapForm.cs</DependentUpon>
  107. </Compile>
  108. <Compile Include="Program.cs" />
  109. <Compile Include="Program.Log.cs" />
  110. <Compile Include="Properties\AssemblyInfo.cs" />
  111. <Compile Include="SelectDiskImageForm.cs">
  112. <SubType>Form</SubType>
  113. </Compile>
  114. <Compile Include="SelectDiskImageForm.Designer.cs">
  115. <DependentUpon>SelectDiskImageForm.cs</DependentUpon>
  116. </Compile>
  117. </ItemGroup>
  118. <ItemGroup>
  119. <EmbeddedResource Include="AddTargetForm.resx">
  120. <SubType>Designer</SubType>
  121. <DependentUpon>AddTargetForm.cs</DependentUpon>
  122. </EmbeddedResource>
  123. <EmbeddedResource Include="CreateDiskImageForm.resx">
  124. <SubType>Designer</SubType>
  125. <DependentUpon>CreateDiskImageForm.cs</DependentUpon>
  126. </EmbeddedResource>
  127. <EmbeddedResource Include="CreateRAMDiskForm.resx">
  128. <DependentUpon>CreateRAMDiskForm.cs</DependentUpon>
  129. <SubType>Designer</SubType>
  130. </EmbeddedResource>
  131. <EmbeddedResource Include="MainForm.resx">
  132. <SubType>Designer</SubType>
  133. <DependentUpon>MainForm.cs</DependentUpon>
  134. </EmbeddedResource>
  135. <EmbeddedResource Include="Mods\SelectPhysicalDiskWithSnapForm.resx">
  136. <DependentUpon>SelectPhysicalDiskWithSnapForm.cs</DependentUpon>
  137. </EmbeddedResource>
  138. <EmbeddedResource Include="SelectDiskImageForm.resx">
  139. <DependentUpon>SelectDiskImageForm.cs</DependentUpon>
  140. <SubType>Designer</SubType>
  141. </EmbeddedResource>
  142. </ItemGroup>
  143. <ItemGroup>
  144. <Compile Include="Win32\SecurityHelper.cs" />
  145. <Compile Include="Win32\SelectPhysicalDiskForm.cs">
  146. <SubType>Form</SubType>
  147. </Compile>
  148. <Compile Include="Win32\SelectPhysicalDiskForm.Designer.cs">
  149. <DependentUpon>SelectPhysicalDiskForm.cs</DependentUpon>
  150. </Compile>
  151. <Compile Include="Win32\SelectVolumeForm.cs">
  152. <SubType>Form</SubType>
  153. </Compile>
  154. <Compile Include="Win32\SelectVolumeForm.Designer.cs">
  155. <DependentUpon>SelectVolumeForm.cs</DependentUpon>
  156. </Compile>
  157. <Compile Include="Win32\VolumeInfo.cs" />
  158. </ItemGroup>
  159. <ItemGroup>
  160. <EmbeddedResource Include="Win32\SelectPhysicalDiskForm.resx">
  161. <DependentUpon>SelectPhysicalDiskForm.cs</DependentUpon>
  162. <SubType>Designer</SubType>
  163. </EmbeddedResource>
  164. <EmbeddedResource Include="Win32\SelectVolumeForm.resx">
  165. <DependentUpon>SelectVolumeForm.cs</DependentUpon>
  166. <SubType>Designer</SubType>
  167. </EmbeddedResource>
  168. </ItemGroup>
  169. <ItemGroup>
  170. <Content Include="Icons\SCSI.ico" />
  171. <Content Include="RevisionHistory.txt" />
  172. </ItemGroup>
  173. <ItemGroup>
  174. <ProjectReference Include="..\DiskAccessLibrary\DiskAccessLibrary.csproj">
  175. <Project>{000D0367-63A1-475D-982D-67A0B93BABEB}</Project>
  176. <Name>DiskAccessLibrary</Name>
  177. </ProjectReference>
  178. <ProjectReference Include="..\ISCSI\ISCSI.csproj">
  179. <Project>{225ABFC2-FCA5-4C23-B7E3-0874E9A60548}</Project>
  180. <Name>ISCSI</Name>
  181. </ProjectReference>
  182. <ProjectReference Include="..\Utilities\Utilities.csproj">
  183. <Project>{6E0F2D1E-6167-4032-BA90-DEE3A99207D0}</Project>
  184. <Name>Utilities</Name>
  185. </ProjectReference>
  186. </ItemGroup>
  187. <ItemGroup>
  188. <None Include="app.config" />
  189. <None Include="packages.config" />
  190. </ItemGroup>
  191. <ItemGroup>
  192. <BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
  193. <Visible>False</Visible>
  194. <ProductName>Microsoft .NET Framework 4.7.2 %28x86 和 x64%29</ProductName>
  195. <Install>true</Install>
  196. </BootstrapperPackage>
  197. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  198. <Visible>False</Visible>
  199. <ProductName>.NET Framework 3.5 SP1</ProductName>
  200. <Install>false</Install>
  201. </BootstrapperPackage>
  202. </ItemGroup>
  203. <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  204. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  205. Other similar extension points exist, see Microsoft.Common.targets.
  206. <Target Name="BeforeBuild">
  207. </Target>
  208. <Target Name="AfterBuild">
  209. </Target>
  210. -->
  211. <PropertyGroup>
  212. <PostBuildEvent>if $(ConfigurationName) == Release setlocal enabledelayedexpansion enableextensions
  213. if $(ConfigurationName) == Release set DLL_LIST=
  214. if $(ConfigurationName) == Release for %25%25x in ($(TargetDir)*.dll) do set DLL_LIST=!DLL_LIST! "%25%25x"
  215. if $(ConfigurationName) == Release echo dlls: !DLL_LIST!
  216. if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
  217. if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)" !DLL_LIST!</PostBuildEvent>
  218. </PropertyGroup>
  219. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  220. <PropertyGroup>
  221. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  222. </PropertyGroup>
  223. <Error Condition="!Exists('C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props')" Text="$([System.String]::Format('$(ErrorText)', 'C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props'))" />
  224. </Target>
  225. </Project>