Changed to dotnet core net6
This commit is contained in:
@ -2,8 +2,10 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@ -15,6 +17,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\BrowserHelper\BrowserHelper.csproj" />
|
||||
<ProjectReference Include="..\DataDomain\DataDomain.csproj" />
|
||||
<ProjectReference Include="..\DatamodelLibrary\DatamodelLibrary.csproj" />
|
||||
<ProjectReference Include="..\Helpers\Helpers.csproj" />
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using BrowserHelper.Driver;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using SqliteBackups;
|
||||
using SqliteBackups.Interfaces;
|
||||
using StockBL;
|
||||
@ -28,6 +29,8 @@ namespace StockInfoCore
|
||||
services.AddTransient<IAddressRepository,AddressRepository>();
|
||||
services.AddTransient<IStockPersonConnect,StockPersonConnect>();
|
||||
services.AddTransient<IPersonStockFacade,PersonStockFacade>();
|
||||
services.AddTransient<IBrowserDriver, BrowserDriver>();
|
||||
services.AddTransient<IDriverFixture, DriverFixture>();
|
||||
|
||||
services.AddTransient<frmBackup>();
|
||||
services.AddTransient<frmRegisterStock>();
|
||||
|
||||
Reference in New Issue
Block a user