Skip to content

Commit db31442

Browse files
committed
feat: upgrade deploy tool to net8.0
1 parent 5f28fb8 commit db31442

File tree

27 files changed

+35
-36
lines changed

27 files changed

+35
-36
lines changed

site/content/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ To support IDEs using the AWS .NET Deploy tool the CLI can be launched in server
176176
```json
177177
{
178178
"DeployServer":{
179-
"AlternateCliPath":"C:\\code\\aws-dotnet-deploy\\src\\AWS.Deploy.CLI\\bin\\Release\\net6.0\\AWS.Deploy.CLI.exe",
179+
"AlternateCliPath":"C:\\code\\aws-dotnet-deploy\\src\\AWS.Deploy.CLI\\bin\\Release\\net8.0\\AWS.Deploy.CLI.exe",
180180
"PortRange":{
181181
"Start":10000,
182182
"End":10100

site/content/docs/commands/deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Inspects the project and recommends AWS compute that is most suited to the type
1919
Deploying HelloWorld
2020

2121
```
22-
dotnet new web -n HelloWorld -f net6.0
22+
dotnet new web -n HelloWorld -f net8.0
2323
cd HelloWorld
2424
dotnet aws deploy
2525
```

site/content/docs/deployment-projects/recipe-file.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ The deploy tool supports a collection of tests that can be run against the .NET
6060
"Condition": {
6161
"PropertyName": "TargetFramework",
6262
"AllowedValues": [
63-
"netcoreapp3.1",
64-
"net6.0"
63+
"net8.0",
64+
"net9.0"
6565
]
6666
}
6767
}
@@ -103,8 +103,8 @@ Here is an example of a rule that checks if the project is a web project and tar
103103
"Condition": {
104104
"PropertyName": "TargetFramework",
105105
"AllowedValues": [
106-
"netcoreapp3.1",
107-
"net6.0"
106+
"net8.0",
107+
"net9.0"
108108
]
109109
}
110110
}

site/content/docs/getting-started/run-tool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dotnet-aws ...
1212
#### Step 1: Create the ASP.NET Web application
1313

1414
```
15-
dotnet new web -n HelloWorld -f net6.0
15+
dotnet new web -n HelloWorld -f net8.0
1616
```
1717

1818
#### Step 2: cd to the project folder

site/content/troubleshooting-guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For example:
3030
```xml
3131
<Project Sdk="Microsoft.NET.Sdk.Web">
3232
<PropertyGroup>
33-
<TargetFrameworkVersion>net6.0</TargetFrameworkVersion>
33+
<TargetFrameworkVersion>net8.0</TargetFrameworkVersion>
3434
<TargetFramework>$(TargetFrameworkVersion)</TargetFramework>
3535
</PropertyGroup>
3636
</Project>

site/content/tutorials/custom-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Tasks we will accomplish:
2020
In your command prompt, run the following command to create your app:
2121

2222
```
23-
dotnet new webapp -o Acme.WebApp -f net6.0
23+
dotnet new webapp -o Acme.WebApp -f net8.0
2424
```
2525

2626
### Step 2: Generate a deployment project

src/AWS.Deploy.CLI/AWS.Deploy.CLI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net6.0</TargetFrameworks>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ToolCommandName>dotnet-aws</ToolCommandName>
77
<IsPackable>true</IsPackable>
88
<PackAsTool>true</PackAsTool>

src/AWS.Deploy.CLI/ServerMode/AwsCredentialsAuthenticationHandler.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ public AwsCredentialsAuthenticationHandler(
6262
IOptionsMonitor<AwsCredentialsAuthenticationSchemeOptions> options,
6363
ILoggerFactory logger,
6464
UrlEncoder encoder,
65-
ISystemClock clock,
6665
IEncryptionProvider encryptionProvider)
67-
: base(options, logger, encoder, clock)
66+
: base(options, logger, encoder)
6867
{
6968
_encryptionProvider = encryptionProvider;
7069
}

src/AWS.Deploy.Common/AWS.Deploy.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<LangVersion>Latest</LangVersion>
66
<AssemblyName>AWS.Deploy.Common</AssemblyName>
77
<RootNamespace>AWS.Deploy.Common</RootNamespace>

src/AWS.Deploy.Orchestration/AWS.Deploy.Orchestration.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<LangVersion>Latest</LangVersion>
66
<AssemblyName>AWS.Deploy.Orchestration</AssemblyName>
77
<RootNamespace>AWS.Deploy.Orchestration</RootNamespace>
@@ -37,7 +37,7 @@
3737
<ProjectReference Include="..\AWS.Deploy.Common\AWS.Deploy.Common.csproj" />
3838
<ProjectReference Include="..\AWS.Deploy.Recipes\AWS.Deploy.Recipes.csproj" />
3939
</ItemGroup>
40-
40+
4141
<ItemGroup>
4242
<None Remove="Properties\DockerFileConfig.json" />
4343
<None Remove="Templates\Dockerfile.template" />

0 commit comments

Comments
 (0)