StdioSniffer.csproj 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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>{76ECB0D1-CA3C-4ECF-86DC-711E24FED6FE}</ProjectGuid>
  9. <OutputType>Exe</OutputType>
  10. <RootNamespace>StdioSniffer</RootNamespace>
  11. <AssemblyName>StdioSniffer</AssemblyName>
  12. <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  15. <Deterministic>true</Deterministic>
  16. <NuGetPackageImportStamp>
  17. </NuGetPackageImportStamp>
  18. <TargetFrameworkProfile />
  19. </PropertyGroup>
  20. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  21. <PlatformTarget>AnyCPU</PlatformTarget>
  22. <DebugSymbols>true</DebugSymbols>
  23. <DebugType>full</DebugType>
  24. <Optimize>false</Optimize>
  25. <OutputPath>bin\Debug\</OutputPath>
  26. <DefineConstants>DEBUG;TRACE</DefineConstants>
  27. <ErrorReport>prompt</ErrorReport>
  28. <WarningLevel>4</WarningLevel>
  29. <LangVersion>8</LangVersion>
  30. </PropertyGroup>
  31. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  32. <PlatformTarget>AnyCPU</PlatformTarget>
  33. <DebugType>pdbonly</DebugType>
  34. <Optimize>true</Optimize>
  35. <OutputPath>bin\Release\</OutputPath>
  36. <DefineConstants>TRACE</DefineConstants>
  37. <ErrorReport>prompt</ErrorReport>
  38. <WarningLevel>4</WarningLevel>
  39. <LangVersion>8</LangVersion>
  40. </PropertyGroup>
  41. <ItemGroup>
  42. <Compile Include="Program.cs" />
  43. <Compile Include="Properties\AssemblyInfo.cs" />
  44. </ItemGroup>
  45. <ItemGroup>
  46. <None Include="app.config" />
  47. <None Include="packages.config" />
  48. </ItemGroup>
  49. <ItemGroup>
  50. <Reference Include="System" />
  51. </ItemGroup>
  52. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  53. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  54. <PropertyGroup>
  55. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  56. </PropertyGroup>
  57. <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'))" />
  58. </Target>
  59. <PropertyGroup>
  60. <PostBuildEvent>if $(ConfigurationName) == Release if not exist $(TargetDir)Packed md $(TargetDir)Packed
  61. if $(ConfigurationName) == Release $(ILRepack) /ndebug /out:$(TargetDir)Packed\$(TargetFileName) $(TargetPath)
  62. if $(ConfigurationName) == Release if exist $(TargetDir)Packed\$(TargetFileName).config del $(TargetDir)Packed\$(TargetFileName).config</PostBuildEvent>
  63. </PropertyGroup>
  64. </Project>