@Madhu Kiran, C The error message indicates that the application is unable to locate the required dependencies. The log message you provided shows that the application is looking for the 'aspnetcorev2_inprocess.dll' file, which is required to run the application. The error message also suggests that the required .NET framework version 6.0 is present.
Based on the error message, it seems that the issue is related to the .NET runtime version. It is possible that the upgraded version of the Azure.Identity NuGet package requires a newer version of the .NET runtime than what is currently installed on your server.
To resolve this issue, you can try the following steps:
Check if the .NET runtime version 6.0 is installed on your server. You can do this by running the following command in the command prompt: dotnet --list-runtimes
. If the .NET runtime version 6.0 is not installed, you can download and install it from the following link: https://dotnet.microsoft.com/download/dotnet/6.0.
- See if the application is targeting the correct version of the .NET runtime. You can do this by checking the
TargetFramework
property in the project file. Make sure that it is set tonet6.0<a href="#doc-pos=2" data-tag-index="1"></a></span>
. - Ensure the application is using the correct version of the Azure.Identity NuGet package. Make sure that the version of the package is compatible with the .NET runtime version that is installed on your server.
If the issue persists, you can try rolling back the Azure.Identity NuGet package to the previous version (1.9.0) and see if the application starts up successfully. If it does, then it is likely that the issue is related to the upgraded version of the package.