ISCSIConsole.csproj 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. </PropertyGroup>
  24. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  25. <DebugSymbols>true</DebugSymbols>
  26. <DebugType>full</DebugType>
  27. <Optimize>false</Optimize>
  28. <OutputPath>bin\Debug\</OutputPath>
  29. <DefineConstants>TRACE;DEBUG;Win32</DefineConstants>
  30. <ErrorReport>prompt</ErrorReport>
  31. <WarningLevel>4</WarningLevel>
  32. <Prefer32Bit>false</Prefer32Bit>
  33. </PropertyGroup>
  34. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  35. <DebugType>pdbonly</DebugType>
  36. <Optimize>true</Optimize>
  37. <OutputPath>bin\Release\</OutputPath>
  38. <DefineConstants>TRACE;Win32</DefineConstants>
  39. <ErrorReport>prompt</ErrorReport>
  40. <WarningLevel>4</WarningLevel>
  41. <Prefer32Bit>false</Prefer32Bit>
  42. </PropertyGroup>
  43. <ItemGroup>
  44. <Reference Include="System" />
  45. <Reference Include="System.Configuration" />
  46. <Reference Include="System.Data" />
  47. <Reference Include="System.Drawing" />
  48. <Reference Include="System.Windows.Forms" />
  49. <Reference Include="System.Xml" />
  50. </ItemGroup>
  51. <ItemGroup>
  52. <Compile Include="AddTargetForm.cs">
  53. <SubType>Form</SubType>
  54. </Compile>
  55. <Compile Include="AddTargetForm.Designer.cs">
  56. <DependentUpon>AddTargetForm.cs</DependentUpon>
  57. </Compile>
  58. <Compile Include="Mods\BaseForm.cs">
  59. <SubType>Form</SubType>
  60. </Compile>
  61. <Compile Include="CreateDiskImageForm.cs">
  62. <SubType>Form</SubType>
  63. </Compile>
  64. <Compile Include="CreateDiskImageForm.Designer.cs">
  65. <DependentUpon>CreateDiskImageForm.cs</DependentUpon>
  66. </Compile>
  67. <Compile Include="CreateRAMDiskForm.cs">
  68. <SubType>Form</SubType>
  69. </Compile>
  70. <Compile Include="CreateRAMDiskForm.Designer.cs">
  71. <DependentUpon>CreateRAMDiskForm.cs</DependentUpon>
  72. </Compile>
  73. <Compile Include="Disks\VolumeDisk.cs" />
  74. <Compile Include="Helpers\FormattingHelper.cs" />
  75. <Compile Include="Helpers\ISCSINameHelper.cs" />
  76. <Compile Include="Helpers\LockUtils.cs" />
  77. <Compile Include="Helpers\UsageCounter.cs" />
  78. <Compile Include="MainForm.cs">
  79. <SubType>Form</SubType>
  80. </Compile>
  81. <Compile Include="MainForm.Designer.cs">
  82. <DependentUpon>MainForm.cs</DependentUpon>
  83. </Compile>
  84. <Compile Include="Mods\AutoLoadEntry.cs" />
  85. <Compile Include="Mods\IconExtractor.cs" />
  86. <Compile Include="Mods\NativeMethods.cs" />
  87. <Compile Include="Program.cs" />
  88. <Compile Include="Program.Log.cs" />
  89. <Compile Include="Properties\AssemblyInfo.cs" />
  90. <Compile Include="SelectDiskImageForm.cs">
  91. <SubType>Form</SubType>
  92. </Compile>
  93. <Compile Include="SelectDiskImageForm.Designer.cs">
  94. <DependentUpon>SelectDiskImageForm.cs</DependentUpon>
  95. </Compile>
  96. </ItemGroup>
  97. <ItemGroup>
  98. <EmbeddedResource Include="AddTargetForm.resx">
  99. <SubType>Designer</SubType>
  100. <DependentUpon>AddTargetForm.cs</DependentUpon>
  101. </EmbeddedResource>
  102. <EmbeddedResource Include="CreateDiskImageForm.resx">
  103. <SubType>Designer</SubType>
  104. <DependentUpon>CreateDiskImageForm.cs</DependentUpon>
  105. </EmbeddedResource>
  106. <EmbeddedResource Include="CreateRAMDiskForm.resx">
  107. <DependentUpon>CreateRAMDiskForm.cs</DependentUpon>
  108. <SubType>Designer</SubType>
  109. </EmbeddedResource>
  110. <EmbeddedResource Include="MainForm.resx">
  111. <SubType>Designer</SubType>
  112. <DependentUpon>MainForm.cs</DependentUpon>
  113. </EmbeddedResource>
  114. <EmbeddedResource Include="SelectDiskImageForm.resx">
  115. <DependentUpon>SelectDiskImageForm.cs</DependentUpon>
  116. <SubType>Designer</SubType>
  117. </EmbeddedResource>
  118. </ItemGroup>
  119. <ItemGroup>
  120. <Compile Include="Win32\SecurityHelper.cs" />
  121. <Compile Include="Win32\SelectPhysicalDiskForm.cs">
  122. <SubType>Form</SubType>
  123. </Compile>
  124. <Compile Include="Win32\SelectPhysicalDiskForm.Designer.cs">
  125. <DependentUpon>SelectPhysicalDiskForm.cs</DependentUpon>
  126. </Compile>
  127. <Compile Include="Win32\SelectVolumeForm.cs">
  128. <SubType>Form</SubType>
  129. </Compile>
  130. <Compile Include="Win32\SelectVolumeForm.Designer.cs">
  131. <DependentUpon>SelectVolumeForm.cs</DependentUpon>
  132. </Compile>
  133. <Compile Include="Win32\VolumeInfo.cs" />
  134. </ItemGroup>
  135. <ItemGroup>
  136. <EmbeddedResource Include="Win32\SelectPhysicalDiskForm.resx">
  137. <DependentUpon>SelectPhysicalDiskForm.cs</DependentUpon>
  138. <SubType>Designer</SubType>
  139. </EmbeddedResource>
  140. <EmbeddedResource Include="Win32\SelectVolumeForm.resx">
  141. <DependentUpon>SelectVolumeForm.cs</DependentUpon>
  142. <SubType>Designer</SubType>
  143. </EmbeddedResource>
  144. </ItemGroup>
  145. <ItemGroup>
  146. <Content Include="Icons\SCSI.ico" />
  147. <Content Include="RevisionHistory.txt" />
  148. </ItemGroup>
  149. <ItemGroup>
  150. <ProjectReference Include="..\DiskAccessLibrary\DiskAccessLibrary.csproj">
  151. <Project>{000D0367-63A1-475D-982D-67A0B93BABEB}</Project>
  152. <Name>DiskAccessLibrary</Name>
  153. </ProjectReference>
  154. <ProjectReference Include="..\ISCSI\ISCSI.csproj">
  155. <Project>{225ABFC2-FCA5-4C23-B7E3-0874E9A60548}</Project>
  156. <Name>ISCSI</Name>
  157. </ProjectReference>
  158. <ProjectReference Include="..\Utilities\Utilities.csproj">
  159. <Project>{6E0F2D1E-6167-4032-BA90-DEE3A99207D0}</Project>
  160. <Name>Utilities</Name>
  161. </ProjectReference>
  162. </ItemGroup>
  163. <ItemGroup>
  164. <None Include="app.config" />
  165. <None Include="packages.config" />
  166. </ItemGroup>
  167. <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  168. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  169. Other similar extension points exist, see Microsoft.Common.targets.
  170. <Target Name="BeforeBuild">
  171. </Target>
  172. <Target Name="AfterBuild">
  173. </Target>
  174. -->
  175. <PropertyGroup>
  176. <PostBuildEvent>if $(ConfigurationName) == Release setlocal enabledelayedexpansion enableextensions
  177. if $(ConfigurationName) == Release set DLL_LIST=
  178. if $(ConfigurationName) == Release for %25%25x in ($(TargetDir)*.dll) do set DLL_LIST=!DLL_LIST! "%25%25x"
  179. if $(ConfigurationName) == Release echo dlls: !DLL_LIST!
  180. if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
  181. if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)" !DLL_LIST!</PostBuildEvent>
  182. </PropertyGroup>
  183. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  184. <PropertyGroup>
  185. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  186. </PropertyGroup>
  187. <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'))" />
  188. </Target>
  189. </Project>