Skip to content

Commit 1f2cf07

Browse files
authored
Update inject API reference samples to V4 (#3878)
1 parent 5a5dbaa commit 1f2cf07

File tree

12 files changed

+2017
-2027
lines changed

12 files changed

+2017
-2027
lines changed
Lines changed: 18 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,105 +1,26 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
33
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProductVersion>9.0.30729</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{B853473A-577E-4158-90DF-CE763D3D8D76}</ProjectGuid>
9-
<OutputType>Exe</OutputType>
10-
<AppDesignerFolder>Properties</AppDesignerFolder>
11-
<RootNamespace>AWSSDKDocSamples</RootNamespace>
12-
<AssemblyName>AWSSDKDocSamples</AssemblyName>
13-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
14-
<FileAlignment>512</FileAlignment>
15-
<FileUpgradeFlags>
16-
</FileUpgradeFlags>
17-
<OldToolsVersion>3.5</OldToolsVersion>
18-
<UpgradeBackupLocation />
19-
<TargetFrameworkProfile />
4+
<TargetFramework>net8.0</TargetFramework>
205
</PropertyGroup>
21-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
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-
<Prefer32Bit>false</Prefer32Bit>
30-
</PropertyGroup>
31-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
32-
<DebugType>pdbonly</DebugType>
33-
<Optimize>true</Optimize>
34-
<OutputPath>bin\Release\</OutputPath>
35-
<DefineConstants>TRACE</DefineConstants>
36-
<ErrorReport>prompt</ErrorReport>
37-
<WarningLevel>4</WarningLevel>
38-
<Prefer32Bit>false</Prefer32Bit>
39-
</PropertyGroup>
40-
<ItemGroup>
41-
<Reference Include="AWSSDK">
42-
<SpecificVersion>False</SpecificVersion>
43-
<HintPath>..\Include\sdk\dotnet35\AWSSDK.dll</HintPath>
44-
</Reference>
45-
<Reference Include="System" />
46-
<Reference Include="System.Configuration" />
47-
<Reference Include="System.Core">
48-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
49-
</Reference>
50-
<Reference Include="System.Xml.Linq">
51-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
52-
</Reference>
53-
<Reference Include="System.Data.DataSetExtensions">
54-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
55-
</Reference>
56-
<Reference Include="System.Data" />
57-
<Reference Include="System.Xml" />
58-
</ItemGroup>
6+
597
<ItemGroup>
60-
<Compile Include="CloudWatch\CloudWatchSamples.cs" />
61-
<Compile Include="DynamoDBv2\LowLevelSamples.cs" />
62-
<Compile Include="DynamoDBv2\TableUtils.cs" />
63-
<Compile Include="Program.cs" />
64-
<Compile Include="Properties\AssemblyInfo.cs" />
65-
<Compile Include="S3\BaseS3Samples.cs" />
66-
<Compile Include="SecurityToken\BasicSamples.cs" />
67-
<Compile Include="SES\SESSamples.cs" />
68-
<Compile Include="SNS\SNSSamples.cs" />
69-
<Compile Include="SQS\SQSSamples.cs" />
70-
<Compile Include="Util\Common.cs" />
8+
<Compile Remove="**/*.GeneratedSamples.cs" />
719
</ItemGroup>
10+
7211
<ItemGroup>
73-
<None Include="app.config">
74-
<SubType>Designer</SubType>
75-
</None>
76-
<None Include="AWSSDK.extra.xml">
77-
<SubType>Designer</SubType>
78-
</None>
12+
<PackageReference Include="AWSSDK.CloudWatch" Version="4.0.1.3" />
13+
<PackageReference Include="AWSSDK.DynamoDBv2" Version="4.0.1.5" />
14+
<PackageReference Include="AWSSDK.Route53" Version="4.0.1.2" />
15+
<PackageReference Include="AWSSDK.S3" Version="4.0.1.5" />
16+
<PackageReference Include="AWSSDK.SecurityToken" Version="4.0.0.7" />
17+
<PackageReference Include="AWSSDK.SimpleEmail" Version="4.0.0.7" />
18+
<PackageReference Include="AWSSDK.SimpleNotificationService" Version="4.0.0.7" />
19+
<PackageReference Include="AWSSDK.SQS" Version="4.0.0.8" />
7920
</ItemGroup>
21+
8022
<ItemGroup>
81-
<Content Include="CloudWatch.extra.xml" />
82-
<Content Include="DynamoDBv2.extra.xml">
83-
<SubType>Designer</SubType>
84-
</Content>
85-
<Content Include="S3.extra.xml">
86-
<SubType>Designer</SubType>
87-
</Content>
88-
<Content Include="SES.extra.xml">
89-
<SubType>Designer</SubType>
90-
</Content>
91-
<Content Include="SNS.extra.xml">
92-
<SubType>Designer</SubType>
93-
</Content>
94-
<Content Include="SQS.extra.xml" />
23+
<Folder Include="Properties\" />
9524
</ItemGroup>
96-
<ItemGroup />
97-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
98-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
99-
Other similar extension points exist, see Microsoft.Common.targets.
100-
<Target Name="BeforeBuild">
101-
</Target>
102-
<Target Name="AfterBuild">
103-
</Target>
104-
-->
105-
</Project>
25+
26+
</Project>

0 commit comments

Comments
 (0)