Skip to content

Commit 8b805b2

Browse files
authored
Merge pull request #99 from rido-min/rel/801
Update to .NET8
2 parents 08326e5 + 1dfdc91 commit 8b805b2

File tree

7 files changed

+19
-11
lines changed

7 files changed

+19
-11
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
[![Nuget](https://img.shields.io/nuget/v/Microsoft.Azure.IoT.Edge.Module.svg)](https://www.nuget.org/packages/Microsoft.Azure.IoT.Edge.Module/)
44

5+
6+
### 8.0.0 (2024-04-22)
7+
8+
* [Updated] Updates template to target dotnet8
9+
10+
### 7.0.1 (2023-12-12)
11+
12+
* [Updated] Updates template to target dotnet7
13+
514
### 3.2.0 (2022-11-29)
615
* [Updated] Update template to target dotnet6
716
* [Updated] Template based on the Worker template, using BackgroundService base class

Microsoft.Azure.IoT.Edge.Module.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>Microsoft.Azure.IoT.Edge.Module</id>
5-
<version>7.0.1</version>
5+
<version>8.0.0</version>
66
<title>Azure IoT Edge Module</title>
77
<authors>Microsoft</authors>
88
<owners>microsoft, nugetazureiotedge</owners>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ The template will set up all necessary files for you to focus on functionality p
99

1010
## Get Started
1111

12-
Make sure you have [.NET 7.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/7.0) installed.
12+
Make sure you have [.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) installed.
1313

1414
Run `dotnet` command to install the template:
1515

16-
```
16+
```bash
1717
dotnet new install Microsoft.Azure.IoT.Edge.Module
1818
```
1919
You could find the template with short name *aziotedgemodule* in output:

Test/Test.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>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>
@@ -14,4 +14,4 @@
1414
</PackageReference>
1515
</ItemGroup>
1616

17-
</Project>
17+
</Project>

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ pool:
1313

1414
steps:
1515
- task: UseDotNet@2
16-
displayName: 'Install .NET 7 SDK'
16+
displayName: 'Install .NET 8 SDK'
1717
inputs:
18-
version: 7.x
18+
version: 8.x
1919

2020
- task: UseDotNet@2
2121
displayName: 'Install .NET 6 SDK'

content/dotnet-template-azure-iot-edge-module/CSharp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# IoT Edge Module Template for .NET 7
1+
# IoT Edge Module Template for .NET 8
22

33
This project leverages the latest dotnet features to create docker images without using a `Dockerfile`. See more details in https://github.com/dotnet/sdk-container-builds
44

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk.Worker">
22
<PropertyGroup>
3-
<TargetFramework>net7.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
44
<Nullable>enable</Nullable>
55
<ImplicitUsings>enable</ImplicitUsings>
66
</PropertyGroup>
77
<ItemGroup>
88
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.42.0" />
9-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
10-
<PackageReference Include="Microsoft.NET.Build.Containers" Version="7.0.401" />
9+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
1110
</ItemGroup>
1211
</Project>

0 commit comments

Comments
 (0)