PrintHtmlFrom.csproj 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{B4BC17E9-1087-49A6-9A51-2FEECF161A3E}</ProjectGuid>
  8. <OutputType>WinExe</OutputType>
  9. <RootNamespace>PrintHtmlFrom</RootNamespace>
  10. <AssemblyName>PrintHtmlFrom</AssemblyName>
  11. <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
  12. <FileAlignment>512</FileAlignment>
  13. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  14. <Deterministic>true</Deterministic>
  15. <NuGetPackageImportStamp>
  16. </NuGetPackageImportStamp>
  17. </PropertyGroup>
  18. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  19. <PlatformTarget>AnyCPU</PlatformTarget>
  20. <DebugSymbols>true</DebugSymbols>
  21. <DebugType>full</DebugType>
  22. <Optimize>false</Optimize>
  23. <OutputPath>bin\Debug\</OutputPath>
  24. <DefineConstants>DEBUG;TRACE</DefineConstants>
  25. <ErrorReport>prompt</ErrorReport>
  26. <WarningLevel>4</WarningLevel>
  27. </PropertyGroup>
  28. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  29. <PlatformTarget>AnyCPU</PlatformTarget>
  30. <DebugType>pdbonly</DebugType>
  31. <Optimize>true</Optimize>
  32. <OutputPath>bin\Release\</OutputPath>
  33. <DefineConstants>TRACE</DefineConstants>
  34. <ErrorReport>prompt</ErrorReport>
  35. <WarningLevel>4</WarningLevel>
  36. </PropertyGroup>
  37. <ItemGroup>
  38. <Reference Include="Microsoft.Web.WebView2.Core, Version=1.0.2849.39, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
  39. <HintPath>..\packages\Microsoft.Web.WebView2.1.0.2849.39\lib\net462\Microsoft.Web.WebView2.Core.dll</HintPath>
  40. </Reference>
  41. <Reference Include="Microsoft.Web.WebView2.WinForms, Version=1.0.2849.39, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
  42. <HintPath>..\packages\Microsoft.Web.WebView2.1.0.2849.39\lib\net462\Microsoft.Web.WebView2.WinForms.dll</HintPath>
  43. </Reference>
  44. <Reference Include="Microsoft.Web.WebView2.Wpf, Version=1.0.2849.39, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
  45. <HintPath>..\packages\Microsoft.Web.WebView2.1.0.2849.39\lib\net462\Microsoft.Web.WebView2.Wpf.dll</HintPath>
  46. </Reference>
  47. <Reference Include="System" />
  48. <Reference Include="System.Core" />
  49. <Reference Include="System.Xml.Linq" />
  50. <Reference Include="System.Data.DataSetExtensions" />
  51. <Reference Include="Microsoft.CSharp" />
  52. <Reference Include="System.Data" />
  53. <Reference Include="System.Deployment" />
  54. <Reference Include="System.Drawing" />
  55. <Reference Include="System.Net.Http" />
  56. <Reference Include="System.Windows.Forms" />
  57. <Reference Include="System.Xml" />
  58. </ItemGroup>
  59. <ItemGroup>
  60. <Compile Include="Form1.cs">
  61. <SubType>Form</SubType>
  62. </Compile>
  63. <Compile Include="Form1.Designer.cs">
  64. <DependentUpon>Form1.cs</DependentUpon>
  65. </Compile>
  66. <Compile Include="Program.cs" />
  67. <Compile Include="Properties\AssemblyInfo.cs" />
  68. <EmbeddedResource Include="Form1.resx">
  69. <DependentUpon>Form1.cs</DependentUpon>
  70. </EmbeddedResource>
  71. <EmbeddedResource Include="Properties\Resources.resx">
  72. <Generator>ResXFileCodeGenerator</Generator>
  73. <LastGenOutput>Resources.Designer.cs</LastGenOutput>
  74. <SubType>Designer</SubType>
  75. </EmbeddedResource>
  76. <Compile Include="Properties\Resources.Designer.cs">
  77. <AutoGen>True</AutoGen>
  78. <DependentUpon>Resources.resx</DependentUpon>
  79. </Compile>
  80. <None Include="packages.config" />
  81. <None Include="Properties\Settings.settings">
  82. <Generator>SettingsSingleFileGenerator</Generator>
  83. <LastGenOutput>Settings.Designer.cs</LastGenOutput>
  84. </None>
  85. <Compile Include="Properties\Settings.Designer.cs">
  86. <AutoGen>True</AutoGen>
  87. <DependentUpon>Settings.settings</DependentUpon>
  88. <DesignTimeSharedInput>True</DesignTimeSharedInput>
  89. </Compile>
  90. </ItemGroup>
  91. <ItemGroup>
  92. <None Include="App.config" />
  93. </ItemGroup>
  94. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  95. <Import Project="..\packages\Microsoft.Web.WebView2.1.0.2849.39\build\Microsoft.Web.WebView2.targets" Condition="Exists('..\packages\Microsoft.Web.WebView2.1.0.2849.39\build\Microsoft.Web.WebView2.targets')" />
  96. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  97. <PropertyGroup>
  98. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  99. </PropertyGroup>
  100. <Error Condition="!Exists('..\packages\Microsoft.Web.WebView2.1.0.2849.39\build\Microsoft.Web.WebView2.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Web.WebView2.1.0.2849.39\build\Microsoft.Web.WebView2.targets'))" />
  101. </Target>
  102. </Project>