Remove Windows service check and update package versions
Updated `Program.cs` to eliminate the Windows service conditional check. Updated `DigitalData.Core.Abstractions` and `DigitalData.Core.Application` to versions 3.4.1 and 3.2.1, respectively. Removed the `DigitalData.Core.Infrastructure` package reference. In `DigitalData.UserManager.Infrastructure.csproj`, updated `DigitalData.Core.Infrastructure` to version 2.0.1 and added `Microsoft.EntityFrameworkCore.Relational` for net7.0, net8.0, and net9.0 with corresponding versions.
This commit is contained in:
@@ -31,9 +31,6 @@ try {
|
||||
|
||||
builder.Services.AddEncryptor(builder.Configuration.GetSection("EncryptionParameters"));
|
||||
|
||||
if (builder.Configuration.GetValue<bool>("RunAsWindowsService"))
|
||||
builder.Host.UseWindowsService();
|
||||
|
||||
builder.Logging.ClearProviders();
|
||||
builder.Host.UseNLog();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user