1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project DefaultTargets =" Build" ToolsVersion =" 4.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <PropertyGroup >
4
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
5
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
6
- <ProjectGuid >{82E0B15C-BE72-4F3D-97EB-DA3736244FC4}</ProjectGuid >
7
- <OutputType >Exe</OutputType >
8
- <RootNamespace >Ch9_Async</RootNamespace >
9
- <AssemblyName >Ch8_Async</AssemblyName >
10
- <TargetFrameworkVersion >v4.7.2</TargetFrameworkVersion >
11
- <AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
12
- </PropertyGroup >
13
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
14
- <DebugSymbols >true</DebugSymbols >
15
- <DebugType >full</DebugType >
16
- <Optimize >false</Optimize >
17
- <OutputPath >bin\Debug</OutputPath >
18
- <DefineConstants >DEBUG;</DefineConstants >
19
- <ErrorReport >prompt</ErrorReport >
20
- <WarningLevel >4</WarningLevel >
21
- <ExternalConsole >true</ExternalConsole >
22
- <NoWarn >MSB3276</NoWarn >
23
- </PropertyGroup >
24
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
25
- <Optimize >true</Optimize >
26
- <OutputPath >bin\Release</OutputPath >
27
- <ErrorReport >prompt</ErrorReport >
28
- <WarningLevel >4</WarningLevel >
29
- <ExternalConsole >true</ExternalConsole >
30
- </PropertyGroup >
31
- <ItemGroup >
32
- <Reference Include =" System" />
33
- <Reference Include =" System.Net.Http.Extensions" >
34
- <HintPath >..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll</HintPath >
35
- </Reference >
36
- <Reference Include =" System.Net.Http.Primitives" >
37
- <HintPath >..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll</HintPath >
38
- </Reference >
39
- <Reference Include =" System.Net.Http" />
40
- <Reference Include =" System.Net.Http.WebRequest" />
41
- <Reference Include =" HtmlAgilityPack" >
42
- <HintPath >..\packages\HtmlAgilityPack.1.11.16\lib\Net45\HtmlAgilityPack.dll</HintPath >
43
- </Reference >
44
- <Reference Include =" System.Xml" />
45
- </ItemGroup >
46
- <ItemGroup >
47
- <Compile Include =" Program.cs" />
48
- <Compile Include =" Properties\AssemblyInfo.cs" />
49
- </ItemGroup >
50
- <ItemGroup >
51
- <None Include =" packages.config" />
52
- </ItemGroup >
53
- <Import Project =" $(MSBuildBinPath)\Microsoft.CSharp.targets" />
54
- <Import Project =" ..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition =" Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
55
- </Project >
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
3
+ <PropertyGroup >
4
+ <OutputType >Exe</OutputType >
5
+ <TargetFramework >net8.0</TargetFramework >
6
+ <ImplicitUsings >enable</ImplicitUsings >
7
+ <Nullable >enable</Nullable >
8
+ </PropertyGroup >
9
+
10
+ <ItemGroup >
11
+ <PackageReference Include =" HtmlAgilityPack" Version =" 1.11.60" />
12
+ </ItemGroup >
13
+
14
+ </Project >
0 commit comments