1- <?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion =" 4.0" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
32 <PropertyGroup >
4- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
5- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
6- <ProductVersion >8.0.50727</ProductVersion >
7- <SchemaVersion >2.0</SchemaVersion >
8- <ProjectGuid >{97E8A065-31ED-4506-B3A4-6B2E2ED5B124}</ProjectGuid >
3+ <TargetFrameworks >net462;net6.0</TargetFrameworks >
94 <OutputType >Exe</OutputType >
10- <AppDesignerFolder >Properties</AppDesignerFolder >
11- <RootNamespace >Microsoft.Samples.GZipEncoder</RootNamespace >
12- <AssemblyName >Client</AssemblyName >
13- <TargetFrameworkVersion >v4.0</TargetFrameworkVersion >
14- <FileUpgradeFlags >
15- </FileUpgradeFlags >
16- <OldToolsVersion >2.0</OldToolsVersion >
17- <UpgradeBackupLocation />
18- <PublishUrl >publish\</PublishUrl >
19- <Install >true</Install >
20- <InstallFrom >Disk</InstallFrom >
21- <UpdateEnabled >false</UpdateEnabled >
22- <UpdateMode >Foreground</UpdateMode >
23- <UpdateInterval >7</UpdateInterval >
24- <UpdateIntervalUnits >Days</UpdateIntervalUnits >
25- <UpdatePeriodically >false</UpdatePeriodically >
26- <UpdateRequired >false</UpdateRequired >
27- <MapFileExtensions >true</MapFileExtensions >
28- <ApplicationRevision >0</ApplicationRevision >
29- <ApplicationVersion >1.0.0.%2a</ApplicationVersion >
30- <IsWebBootstrapper >false</IsWebBootstrapper >
31- <UseApplicationTrust >false</UseApplicationTrust >
32- <BootstrapperEnabled >true</BootstrapperEnabled >
33- <TargetFrameworkProfile />
5+ <Title >Client</Title >
6+ <Description >GZipEncoder</Description >
7+ <Company >Microsoft Corporation</Company >
8+ <Product >Windows Communication Foundation and Windows Workflow Foundation SDK</Product >
9+ <Copyright >Copyright (c) Microsoft Corporation</Copyright >
3410 </PropertyGroup >
35- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
36- <DebugSymbols >true</DebugSymbols >
37- <DebugType >full</DebugType >
38- <Optimize >false</Optimize >
39- <OutputPath >bin\</OutputPath >
40- <DefineConstants >DEBUG;TRACE</DefineConstants >
41- <ErrorReport >prompt</ErrorReport >
42- <WarningLevel >4</WarningLevel >
43- <CodeAnalysisRuleSet >AllRules.ruleset</CodeAnalysisRuleSet >
44- </PropertyGroup >
45- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
46- <DebugType >pdbonly</DebugType >
47- <Optimize >true</Optimize >
48- <OutputPath >bin\Release\</OutputPath >
49- <DefineConstants >TRACE</DefineConstants >
50- <ErrorReport >prompt</ErrorReport >
51- <WarningLevel >4</WarningLevel >
52- <CodeAnalysisRuleSet >AllRules.ruleset</CodeAnalysisRuleSet >
53- </PropertyGroup >
54- <ItemGroup >
55- <Reference Include =" System" />
56- <Reference Include =" System.configuration" />
57- <Reference Include =" System.Data" />
58- <Reference Include =" System.Runtime.Serialization" />
59- <Reference Include =" System.ServiceModel" />
60- <Reference Include =" System.Xml" />
11+
12+ <ItemGroup Condition =" '$(TargetFramework)' == 'net462' " >
13+ <None Remove =" Connected Services\Microsoft.Samples.GZipEncoder\ConnectedService.json" />
14+ <Compile Remove =" Connected Services\Microsoft.Samples.GZipEncoder\Reference.cs" />
15+ <None Include =" Connected Services\Microsoft.Samples.GZipEncoder\Reference.cs" />
6116 </ItemGroup >
62- <ItemGroup >
63- <Compile Include =" generatedClient.cs" />
64- <Compile Include =" Program.cs" />
65- <Compile Include =" Properties\AssemblyInfo.cs" />
17+
18+ <ItemGroup Condition =" '$(TargetFramework)' == 'net6.0' " >
19+ <None Remove =" App.config" />
20+ <Compile Remove =" generatedClient.cs" />
21+ <None Include =" generatedClient.cs" />
6622 </ItemGroup >
67- <ItemGroup >
68- <None Include =" app.config" />
23+
24+ <ItemGroup Condition =" '$(TargetFramework)' == 'net462' " >
25+ <Reference Include =" System.ServiceModel" />
6926 </ItemGroup >
70- <ItemGroup >
71- <ProjectReference Include =" ..\GZipEncoder\GZipEncoder.csproj" >
72- <Project >{3EB736C4-62EA-4887-B040-948B13EF29B9}</Project >
73- <Name >GZipEncoder</Name >
74- </ProjectReference >
27+
28+ <ItemGroup Condition =" '$(TargetFramework)' == 'net6.0' " >
29+ <PackageReference Include =" System.ServiceModel.Primitives" Version =" 6.*" />
30+ <PackageReference Include =" System.ServiceModel.Http" Version =" 6.*" />
7531 </ItemGroup >
32+
7633 <ItemGroup >
77- <BootstrapperPackage Include =" Microsoft.Net.Client.3.5" >
78- <Visible >False</Visible >
79- <ProductName >.NET Framework 3.5 SP1 Client Profile</ProductName >
80- <Install >false</Install >
81- </BootstrapperPackage >
82- <BootstrapperPackage Include =" Microsoft.Net.Framework.3.5.SP1" >
83- <Visible >False</Visible >
84- <ProductName >.NET Framework 3.5 SP1</ProductName >
85- <Install >true</Install >
86- </BootstrapperPackage >
87- <BootstrapperPackage Include =" Microsoft.VisualBasic.PowerPacks.10.0" >
88- <Visible >False</Visible >
89- <ProductName >Microsoft Visual Basic PowerPacks 10.0</ProductName >
90- <Install >true</Install >
91- </BootstrapperPackage >
92- <BootstrapperPackage Include =" Microsoft.Windows.Installer.3.1" >
93- <Visible >False</Visible >
94- <ProductName >Windows Installer 3.1</ProductName >
95- <Install >true</Install >
96- </BootstrapperPackage >
34+ <ProjectReference Include =" ..\GZipEncoder\GZipEncoder.csproj" />
9735 </ItemGroup >
98- <Import Project =" $(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
99- </Project >
36+ </Project >
0 commit comments