Sami_Lehtinen:
Could not load file or assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies.
This is likely the problem. Supporting the Tardigrade and TencentCOS backends (which are built on .NET Standard) required us to move to .NET 4.7.1 (and hence Mono 5.10.0 or greater). However, it seems that there is an issue with mono packaging in Debian-based distributions:
opened 11:15AM - 02 Oct 19 UTC
area-Packaging
The netstandard.dll is located in Debian/Ubuntu’s "mono-devel" package, which re… quires Mono users to install the complete Mono development platform in order to run a .NET app. Having to force end-users to install the whole development platform in order to run a .NET app is currently preventing many developers from including .NET Standard 2.0 projects in multi-platform software that targets “normal” (non-developer) users.
It would make much more sense to move the netstandard.dll into the "libmono-corlib*" or "mono-runtime" packages instead.
Mono users in Debian/Ubuntu who haven’t installed the "mono-devel" or "mono-complete" packages currently get an Unhandled Exception saying something like:
`System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. `
## On which platforms did you notice this
[ ] macOS
[ x ] Linux
[ ] Windows
**Version Used**: 5.18.0.240 and 6.4.0.198
<!--
You can use `mono --version` or About dialog to obtain this information.
-->
This also causes a problem with our official Docker image:
opened 05:37AM - 19 Aug 20 UTC
closed 09:07AM - 23 Sep 20 UTC
bug
mono
docker
- [x ] I have searched open and closed issues for duplicates.
---------------… -------------------------
## Environment info
- **Duplicati version**: 2.0.5.110_canary_2020-08-10
- **Operating system**: Docker imaage
- **Backend**: Mega.nz
## Description
Following error occurs:
`Could not find method '.ctor' due to a type load error: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. assembly:/opt/duplicati/SharpAESCrypt.exe type:SharpAESCrypt member:(null)
`
## Steps to reproduce
1. Get the docker image
2. Create a mega.nz backup job
3. Start it
4. Error is shown
## Screenshots
![image](https://user-images.githubusercontent.com/1206407/90596269-e180c480-e1ee-11ea-8c93-6b5f53a5dd4b.png)
So far, it seems the solution is to install mono-complete
, or the equivalent.