File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1+ using Microsoft . Extensions . Hosting ;
2+ using Microsoft . Extensions . DependencyInjection ;
3+ using Microsoft . Extensions . Configuration ;
14using Microsoft . Extensions . Configuration . UserSecrets ;
25using Tinkoff . InvestApi ;
36using TraderBot ;
2225 } ) ;
2326 } )
2427 . Build ( ) ;
28+
2529await host . RunAsync ( ) ;
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk.Worker " >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net6.0</TargetFramework >
4+ <OutputType >Exe</OutputType >
5+ <TargetFramework >net8</TargetFramework >
56 <Nullable >enable</Nullable >
67 <ImplicitUsings >enable</ImplicitUsings >
78 <RootNamespace >TraderBot</RootNamespace >
89 </PropertyGroup >
910
1011 <ItemGroup >
1112 <PackageReference Include =" GraphQL.Client.Serializer.Newtonsoft" Version =" 6.0.0" />
12- <PackageReference Include =" Microsoft.Extensions.Hosting" Version =" 7.0.1" />
13+ <PackageReference Include =" Microsoft.Extensions.Configuration.Binder" Version =" 9.0.2" />
14+ <PackageReference Include =" Microsoft.Extensions.Hosting" Version =" 9.0.2" />
15+ <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 9.0.2" />
1316 <PackageReference Include =" Platform.Data.Doublets.Sequences" Version =" 0.1.1" />
1417 <PackageReference Include =" Tinkoff.InvestApi" Version =" 0.6.1" />
1518 </ItemGroup >
Original file line number Diff line number Diff line change 11using System . Collections . Concurrent ;
22using System . Globalization ;
3+ using Microsoft . Extensions . Hosting ;
4+ using Microsoft . Extensions . Logging ;
35using Grpc . Core ;
46using Google . Protobuf . WellKnownTypes ;
57using Tinkoff . InvestApi ;
You can’t perform that action at this time.
0 commit comments