I am working on updating to 4.0.0 and I am getting an error below. Has anyone gotten that when upgrading to 4.0?
Severity Code Description Project File Line Suppression State Error CS0121 The call is ambiguous between the following methods or properties: 'PHS.Configuration.HostingEnvironmentExtensions.GetAppConfiguration(Microsoft.AspNetCore.Hosting.IHostingEnvironment)' and 'PHS.Web.Configuration.HostingEnvironmentExtensions.GetAppConfiguration(Microsoft.AspNetCore.Hosting.IHostingEnvironment)' PHS.Web.Core C:\Code\PHS\PHS\aspnet-core\src\PHS.Web.Core\PHSWebCoreModule.cs 46 Active
1 Answer(s)
-
0
Hi,
Probably you need to delete one of those methods. In the latest version this method only exists here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/master/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Configuration/HostingEnvironmentExtensions.cs#L8">https://github.com/aspnetzero/aspnet-ze ... ions.cs#L8</a>.