在windows上可以正常运行。 在Linux 不行。
现在没有在docker中运行,而是直接在linux 中运行的
在windows上可以正常运行。 在Linux 不行。
现在没有在docker中运行,而是直接在linux 中运行的
没有docker file .。 因为现在没有在docker中运行 ,而是直接运行在Linux上。
Linux 4.15.0-133-generic #137~16.04.1-Ubuntu SMP Fri Jan 15 02:55:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
I have installed a new Ubuntu 16.04.7 in VMware, install Rider 21.1 and .NET Core 3.1. After I tried to run your project I got “System.TypeInitializationException: The type initializer for ‘Gdip’ threw an exception.”. Then I run:
sudo apt-get update && sudo apt-get install -y --allow-unauthenticated libc6-dev libgdiplus libx11-dev && sudo rm -rf /var/lib/apt/lists/*
After packages were installed, I rerun the project and it works as expected: https://yadi.sk/i/fcS9HuAeJ452Tg
Did you run
sudo apt-get update && sudo apt-get install -y --allow-unauthenticated libc6-dev libgdiplus libx11-dev && sudo rm -rf /var/lib/apt/lists/*
on your Linux machine?
运行了。只是没有安装Rider 21.1
The Rider is not obligatory, it is only to run the example in a convenient way.
We reproduced the issue. Thank you for you help! It seems that Aspose.Tasks library is trying to save data in a directory and has no permission on it. We are to fix it in the nearest release.
好的,谢谢。希望能够尽快修复。