File tree Expand file tree Collapse file tree 7 files changed +19
-11
lines changed
content/dotnet-template-azure-iot-edge-module/CSharp Expand file tree Collapse file tree 7 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Nuget] ( https://img.shields.io/nuget/v/Microsoft.Azure.IoT.Edge.Module.svg )] ( https://www.nuget.org/packages/Microsoft.Azure.IoT.Edge.Module/ )
4
4
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
+
5
14
### 3.2.0 (2022-11-29)
6
15
* [ Updated] Update template to target dotnet6
7
16
* [ Updated] Template based on the Worker template, using BackgroundService base class
Original file line number Diff line number Diff line change 2
2
<package >
3
3
<metadata >
4
4
<id >Microsoft.Azure.IoT.Edge.Module</id >
5
- <version >7 .0.1 </version >
5
+ <version >8 .0.0 </version >
6
6
<title >Azure IoT Edge Module</title >
7
7
<authors >Microsoft</authors >
8
8
<owners >microsoft, nugetazureiotedge</owners >
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ The template will set up all necessary files for you to focus on functionality p
9
9
10
10
## Get Started
11
11
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.
13
13
14
14
Run ` dotnet ` command to install the template:
15
15
16
- ```
16
+ ``` bash
17
17
dotnet new install Microsoft.Azure.IoT.Edge.Module
18
18
```
19
19
You could find the template with short name * aziotedgemodule* in output:
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net7 .0</TargetFramework >
4
+ <TargetFramework >net8 .0</TargetFramework >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
14
14
</PackageReference >
15
15
</ItemGroup >
16
16
17
- </Project >
17
+ </Project >
Original file line number Diff line number Diff line change 13
13
14
14
steps :
15
15
- task : UseDotNet@2
16
- displayName : ' Install .NET 7 SDK'
16
+ displayName : ' Install .NET 8 SDK'
17
17
inputs :
18
- version : 7 .x
18
+ version : 8 .x
19
19
20
20
- task : UseDotNet@2
21
21
displayName : ' Install .NET 6 SDK'
Original file line number Diff line number Diff line change 1
- # IoT Edge Module Template for .NET 7
1
+ # IoT Edge Module Template for .NET 8
2
2
3
3
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
4
4
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Worker" >
2
2
<PropertyGroup >
3
- <TargetFramework >net7 .0</TargetFramework >
3
+ <TargetFramework >net8 .0</TargetFramework >
4
4
<Nullable >enable</Nullable >
5
5
<ImplicitUsings >enable</ImplicitUsings >
6
6
</PropertyGroup >
7
7
<ItemGroup >
8
8
<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" />
11
10
</ItemGroup >
12
11
</Project >
You can’t perform that action at this time.
0 commit comments