ConnectionStat.csproj 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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>{158AC9F8-3798-4F08-8028-3F261180BB0B}</ProjectGuid>
  9. <OutputType>Exe</OutputType>
  10. <RootNamespace>ConnectionStat</RootNamespace>
  11. <AssemblyName>ConnectionStat</AssemblyName>
  12. <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <Deterministic>true</Deterministic>
  15. <NuGetPackageImportStamp>
  16. </NuGetPackageImportStamp>
  17. <TargetFrameworkProfile />
  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. <PropertyGroup>
  39. <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
  40. </PropertyGroup>
  41. <ItemGroup>
  42. <Reference Include="System" />
  43. </ItemGroup>
  44. <ItemGroup>
  45. <Compile Include="Program.cs" />
  46. </ItemGroup>
  47. <ItemGroup>
  48. <Folder Include="Properties\" />
  49. </ItemGroup>
  50. <ItemGroup>
  51. <None Include="app.config" />
  52. <None Include="packages.config" />
  53. </ItemGroup>
  54. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  55. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  56. <PropertyGroup>
  57. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  58. </PropertyGroup>
  59. <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'))" />
  60. </Target>
  61. <PropertyGroup>
  62. <PostBuildEvent>if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
  63. if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)"
  64. if $(ConfigurationName) == Release if exist "$(TargetDir)Packed\$(TargetFileName).config" del "$(TargetDir)Packed\$(TargetFileName).config"</PostBuildEvent>
  65. </PropertyGroup>
  66. </Project>