StrangeFileCopy.csproj 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props" Condition="Exists('C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props')" />
  4. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  5. <PropertyGroup>
  6. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  7. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  8. <ProjectGuid>{7E8C017E-78B6-4AC1-B042-1BDFAF461EE7}</ProjectGuid>
  9. <OutputType>WinExe</OutputType>
  10. <RootNamespace>StrangeFileCopy</RootNamespace>
  11. <AssemblyName>StrangeFileCopy</AssemblyName>
  12. <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  15. <Deterministic>true</Deterministic>
  16. <NuGetPackageImportStamp>
  17. </NuGetPackageImportStamp>
  18. </PropertyGroup>
  19. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  20. <PlatformTarget>AnyCPU</PlatformTarget>
  21. <DebugSymbols>true</DebugSymbols>
  22. <DebugType>full</DebugType>
  23. <Optimize>false</Optimize>
  24. <OutputPath>bin\Debug\</OutputPath>
  25. <DefineConstants>DEBUG;TRACE</DefineConstants>
  26. <ErrorReport>prompt</ErrorReport>
  27. <WarningLevel>4</WarningLevel>
  28. </PropertyGroup>
  29. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  30. <PlatformTarget>AnyCPU</PlatformTarget>
  31. <DebugType>pdbonly</DebugType>
  32. <Optimize>true</Optimize>
  33. <OutputPath>bin\Release\</OutputPath>
  34. <DefineConstants>TRACE</DefineConstants>
  35. <ErrorReport>prompt</ErrorReport>
  36. <WarningLevel>4</WarningLevel>
  37. <Prefer32Bit>false</Prefer32Bit>
  38. </PropertyGroup>
  39. <PropertyGroup>
  40. <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
  41. </PropertyGroup>
  42. <ItemGroup>
  43. <Reference Include="Microsoft.WindowsAPICodePack, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
  44. <HintPath>C:\NuGetLocalRepo\WindowsAPICodePack-Core.1.1.1\lib\Microsoft.WindowsAPICodePack.dll</HintPath>
  45. </Reference>
  46. <Reference Include="Microsoft.WindowsAPICodePack.Shell, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
  47. <HintPath>C:\NuGetLocalRepo\WindowsAPICodePack-Shell.1.1.1\lib\Microsoft.WindowsAPICodePack.Shell.dll</HintPath>
  48. </Reference>
  49. <Reference Include="System" />
  50. <Reference Include="System.Core" />
  51. <Reference Include="System.Xml.Linq" />
  52. <Reference Include="System.Data.DataSetExtensions" />
  53. <Reference Include="Microsoft.CSharp" />
  54. <Reference Include="System.Data" />
  55. <Reference Include="System.Deployment" />
  56. <Reference Include="System.Drawing" />
  57. <Reference Include="System.Net.Http" />
  58. <Reference Include="System.Windows.Forms" />
  59. <Reference Include="System.Xml" />
  60. </ItemGroup>
  61. <ItemGroup>
  62. <Compile Include="MainForm.cs">
  63. <SubType>Form</SubType>
  64. </Compile>
  65. <Compile Include="MainForm.Designer.cs">
  66. <DependentUpon>MainForm.cs</DependentUpon>
  67. </Compile>
  68. <Compile Include="Program.cs" />
  69. <Compile Include="Properties\AssemblyInfo.cs" />
  70. <EmbeddedResource Include="MainForm.resx">
  71. <DependentUpon>MainForm.cs</DependentUpon>
  72. </EmbeddedResource>
  73. </ItemGroup>
  74. <ItemGroup>
  75. <None Include="App.config" />
  76. <None Include="packages.config" />
  77. </ItemGroup>
  78. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  79. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  80. <PropertyGroup>
  81. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  82. </PropertyGroup>
  83. <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'))" />
  84. </Target>
  85. <PropertyGroup>
  86. <PostBuildEvent>if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
  87. if $(ConfigurationName) == Release setlocal enabledelayedexpansion enableextensions
  88. if $(ConfigurationName) == Release set DLL_LIST=
  89. if $(ConfigurationName) == Release for %25%25x in ($(TargetDir)*.dll) do set DLL_LIST=!DLL_LIST! "%25%25x"
  90. if $(ConfigurationName) == Release echo dlls: !DLL_LIST!
  91. if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)" !DLL_LIST!
  92. if $(ConfigurationName) == Release if exist "$(TargetDir)Packed\$(TargetFileName).config" del "$(TargetDir)Packed\$(TargetFileName).config"
  93. </PostBuildEvent>
  94. </PropertyGroup>
  95. </Project>