ScreenExtender.csproj 4.6 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.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>{B778FF7E-15CA-467C-8161-0BB92438AF49}</ProjectGuid>
  9. <OutputType>WinExe</OutputType>
  10. <RootNamespace>ScreenExtender</RootNamespace>
  11. <AssemblyName>ScreenExtender</AssemblyName>
  12. <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  15. <Deterministic>true</Deterministic>
  16. <TargetFrameworkProfile>Client</TargetFrameworkProfile>
  17. <NuGetPackageImportStamp>
  18. </NuGetPackageImportStamp>
  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>latest</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>latest</LangVersion>
  40. </PropertyGroup>
  41. <ItemGroup>
  42. <Reference Include="System" />
  43. <Reference Include="System.Core" />
  44. <Reference Include="System.Xml.Linq" />
  45. <Reference Include="System.Data.DataSetExtensions" />
  46. <Reference Include="Microsoft.CSharp" />
  47. <Reference Include="System.Data" />
  48. <Reference Include="System.Deployment" />
  49. <Reference Include="System.Drawing" />
  50. <Reference Include="System.Net.Http" />
  51. <Reference Include="System.Windows.Forms" />
  52. <Reference Include="System.Xml" />
  53. </ItemGroup>
  54. <ItemGroup>
  55. <Compile Include="Models\WindowModel.cs" />
  56. <Compile Include="Resources\ResourceFetcher.cs" />
  57. <Compile Include="ScreenExtenderMainForm.cs">
  58. <SubType>Form</SubType>
  59. </Compile>
  60. <Compile Include="ScreenExtenderMainForm.Designer.cs">
  61. <DependentUpon>ScreenExtenderMainForm.cs</DependentUpon>
  62. </Compile>
  63. <Compile Include="ScreenExtenderProgram.cs" />
  64. <Compile Include="Properties\AssemblyInfo.cs" />
  65. <Compile Include="ScreenExtenderServer.cs" />
  66. <Compile Include="Utility\ExStringFormatter.cs" />
  67. <Compile Include="Utility\Spy\SpyAgent.cs" />
  68. <Compile Include="Utility\Spy\SpiedWindow.cs" />
  69. <EmbeddedResource Include="ScreenExtenderMainForm.resx">
  70. <DependentUpon>ScreenExtenderMainForm.cs</DependentUpon>
  71. </EmbeddedResource>
  72. </ItemGroup>
  73. <ItemGroup>
  74. <EmbeddedResource Include="Resources\index.html" />
  75. <Content Include="Utility\Spy\SOURCE.txt" />
  76. </ItemGroup>
  77. <ItemGroup>
  78. <None Include="app.config" />
  79. <None Include="packages.config" />
  80. </ItemGroup>
  81. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  82. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  83. <PropertyGroup>
  84. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  85. </PropertyGroup>
  86. <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'))" />
  87. </Target>
  88. <PropertyGroup>
  89. <PostBuildEvent>if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
  90. if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)"
  91. if $(ConfigurationName) == Release if exist "$(TargetDir)Packed\$(TargetFileName).config" del "$(TargetDir)Packed\$(TargetFileName).config"</PostBuildEvent>
  92. </PropertyGroup>
  93. </Project>