File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
content/dotnet-template-azure-iot-edge-module/CSharp Expand file tree Collapse file tree 3 files changed +2
-9
lines changed 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.0 </version >
5
+ <version >7.0.1 </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 1
1
using SampleModule ;
2
2
3
3
IHost host = Host . CreateDefaultBuilder ( args )
4
- . ConfigureServices ( services => services . AddSingleton < ModuleBackgroundService > ( ) )
4
+ . ConfigureServices ( services => services . AddHostedService < ModuleBackgroundService > ( ) )
5
5
. Build ( ) ;
6
6
7
7
host . Run ( ) ;
Original file line number Diff line number Diff line change 4
4
<Nullable >enable</Nullable >
5
5
<ImplicitUsings >enable</ImplicitUsings >
6
6
</PropertyGroup >
7
- <ItemGroup >
8
- <Content Remove =" Properties\launchSettingsTEMPLATE..json" />
9
- </ItemGroup >
10
- <ItemGroup >
11
- <_WebToolingArtifacts Remove =" Properties\launchSettingsTEMPLATE..json" />
12
- </ItemGroup >
13
-
14
7
<ItemGroup >
15
8
<PackageReference Include =" Microsoft.Azure.Devices.Client" Version =" 1.42.0" />
16
9
<PackageReference Include =" Microsoft.Extensions.Hosting" Version =" 7.0.1" />
You can’t perform that action at this time.
0 commit comments