Is there an existing issue for this?
Describe the bug
Hope I've tagged this correctly, apologies if incorrect.
When updating an ap from .NET 8 to .NET10, after deployment to Azure App Services the following log started showing up in Application Insights.
Startup assembly Microsoft.AspNetCore.AzureAppServices.HostingStartup failed to execute. See the inner exception for more details. Could not load file or assembly 'Microsoft.AspNetCore.AzureAppServices.HostingStartup, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
Logging Integration Extension in AAS has been updated to 10.0.5. Application is running latest .NET 10 distro. This issue appears in both self-contained and framework dependent.
Expected Behavior
Exception is not thrown at application startup in hosting environment.
Steps To Reproduce
deploy an asp.net api to azure app services with App insights telemetry enabled.
Exceptions (if any)
System.InvalidOperationException: System.IO.FileNotFoundException: at System.Reflection.RuntimeAssembly.InternalLoad (System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Reflection.Assembly.Load (System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.ExecuteHostingStartups (Microsoft.AspNetCore.Hosting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
.NET Version
10.0.201
Anything else?
Thanks for all yall do.
Is there an existing issue for this?
Describe the bug
Hope I've tagged this correctly, apologies if incorrect.
When updating an ap from .NET 8 to .NET10, after deployment to Azure App Services the following log started showing up in Application Insights.
Startup assembly Microsoft.AspNetCore.AzureAppServices.HostingStartup failed to execute. See the inner exception for more details. Could not load file or assembly 'Microsoft.AspNetCore.AzureAppServices.HostingStartup, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
Logging Integration Extension in AAS has been updated to 10.0.5. Application is running latest .NET 10 distro. This issue appears in both self-contained and framework dependent.
Expected Behavior
Exception is not thrown at application startup in hosting environment.
Steps To Reproduce
deploy an asp.net api to azure app services with App insights telemetry enabled.
Exceptions (if any)
System.InvalidOperationException: System.IO.FileNotFoundException: at System.Reflection.RuntimeAssembly.InternalLoad (System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at System.Reflection.Assembly.Load (System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.ExecuteHostingStartups (Microsoft.AspNetCore.Hosting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60)
.NET Version
10.0.201
Anything else?
Thanks for all yall do.