MediaTagger.csproj 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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.16\build\ILRepack.props" Condition="Exists('C:\NuGetLocalRepo\ILRepack.2.0.16\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>{E23D02D8-44FF-48B6-AC00-E42C5143C19F}</ProjectGuid>
  9. <OutputType>WinExe</OutputType>
  10. <RootNamespace>MediaTagger</RootNamespace>
  11. <AssemblyName>MediaTagger</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. </PropertyGroup>
  38. <ItemGroup>
  39. <Reference Include="policy.2.0.taglib-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0, processorArchitecture=MSIL">
  40. <HintPath>C:\NuGetLocalRepo\taglib.2.1.0.0\lib\policy.2.0.taglib-sharp.dll</HintPath>
  41. </Reference>
  42. <Reference Include="System" />
  43. <Reference Include="System.Core" />
  44. <Reference Include="System.Design" />
  45. <Reference Include="System.Xml.Linq" />
  46. <Reference Include="System.Data.DataSetExtensions" />
  47. <Reference Include="Microsoft.CSharp" />
  48. <Reference Include="System.Data" />
  49. <Reference Include="System.Deployment" />
  50. <Reference Include="System.Drawing" />
  51. <Reference Include="System.Net.Http" />
  52. <Reference Include="System.Windows.Forms" />
  53. <Reference Include="System.Xml" />
  54. <Reference Include="taglib-sharp, Version=2.1.0.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0, processorArchitecture=MSIL">
  55. <HintPath>C:\NuGetLocalRepo\taglib.2.1.0.0\lib\taglib-sharp.dll</HintPath>
  56. </Reference>
  57. </ItemGroup>
  58. <ItemGroup>
  59. <Compile Include="MainForm.cs">
  60. <SubType>Form</SubType>
  61. </Compile>
  62. <Compile Include="MainForm.Designer.cs">
  63. <DependentUpon>MainForm.cs</DependentUpon>
  64. </Compile>
  65. <Compile Include="Program.cs" />
  66. <Compile Include="Properties\AssemblyInfo.cs" />
  67. <EmbeddedResource Include="MainForm.resx">
  68. <DependentUpon>MainForm.cs</DependentUpon>
  69. </EmbeddedResource>
  70. </ItemGroup>
  71. <ItemGroup>
  72. <None Include="packages.config" />
  73. </ItemGroup>
  74. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  75. <PropertyGroup>
  76. <PostBuildEvent>if $(ConfigurationName) == Release setlocal enabledelayedexpansion enableextensions
  77. if $(ConfigurationName) == Release set DLL_LIST=
  78. if $(ConfigurationName) == Release for %25%25x in ($(TargetDir)*.dll) do set DLL_LIST=!DLL_LIST! "%25%25x"
  79. if $(ConfigurationName) == Release echo dlls: !DLL_LIST!
  80. if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
  81. if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)" !DLL_LIST!
  82. if $(ConfigurationName) == Release if exist "$(TargetDir)Packed\$(TargetFileName).config" del "$(TargetDir)Packed\$(TargetFileName).config"</PostBuildEvent>
  83. </PropertyGroup>
  84. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  85. <PropertyGroup>
  86. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  87. </PropertyGroup>
  88. <Error Condition="!Exists('C:\NuGetLocalRepo\ILRepack.2.0.16\build\ILRepack.props')" Text="$([System.String]::Format('$(ErrorText)', 'C:\NuGetLocalRepo\ILRepack.2.0.16\build\ILRepack.props'))" />
  89. </Target>
  90. </Project>