I am using Ubuntu 20.04 and trying to run .NETCore Web App. I am using command
sudo /usr/bin/dotnet /var/netcore/publish/App.dll
where App.dll is Application.
I get an error:
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Extensions.Hosting.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The located assembly's manifest definition does not match the assembly reference. (0x80131040) File name: 'Microsoft.Extensions.Hosting.Abstractions, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
Any ideas?
User contributions licensed under CC BY-SA 3.0