Hello, i have an error:
Unhandled Exception: System.InvalidOperationException: AddIdentity must be called on the service collection. at Microsoft.AspNetCore.Builder.BuilderExtensions.UseIdentity(IApplicationBuilder app) at Altram.Web.Donate.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in D:\Development\C#\Visual Studio\Altram System\Altram.Web.Donate\Startup.cs:line 122 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app) at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication() at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build() at Altram.Web.Donate.Program.Main(String[] args) in D:\Development\C#\Visual Studio\Altram System\Altram.Web.Donate\Program.cs:line 10
When i start my project on Linux machine, i use Windows 10 as dev platform with VS2017 and Net Core 1.1.1 and i trying to publish the project on my linux machine from windows but i get this error, but when i use Windows, it works well, what can i do to be
able to fix this?