narind3rs
narind3rs
The solution is to install Microsoft Visual C++ 2015 Redistributable Update 3 on the server. It can be downloaded from: https://www.microsoft.com/en-us/download/details.aspx?id=53840 Somehow, the Windows Server Hosting fails to install this....
Here's the ef core version Entity Framework Core .NET Command-line Tools 2.1.0-rtm-30799
```c# using System; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Serilog; using Serilog.Events; namespace Tracker.App { public class Program { private static IConfiguration Configuration; public static void Main(string[] args) {...
No, that doesn't help. I get the exact same error. I am able to get past the issue by introducing the code below: ```c# public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory {...
@Tarig0 Thank you for your help so far! I am hoping there's a better solution for this issue.
Added the aspnetcore.all package but that doesn't help either. ```xml ``` Unfortunately I still get the same error and warning. ```c# An error occurred while accessing the IWebHost on class...
@Tarig0 @ajcvickers Thank You Both!