maythamfahmi / CryptoNet

CryptoNet is simple, fast and a lightweight asymmetric and symmetric encryption library.
https://github.com/maythamfahmi/CryptoNet
MIT License
101 stars 19 forks source link

[Bug]: Issue with Ubuntu pipeline #109

Closed maythamfahmi closed 1 month ago

maythamfahmi commented 1 month ago

Contact Details

No response

What happened?

When running ubuntu pipeline, it breaks

Reference: https://github.com/maythamfahmi/CryptoNet/actions/runs/11418047460/job/31771023400

Version

3.0.x >= (Coming soon)

What Operating System are you seeing the problem on?

Linux

Relevant log output

Error: /home/runner/work/CryptoNet/CryptoNet/CryptoNet.Models/CryptoNetInfo.cs(53,2): error CS0246: The type or namespace name 'SerializableAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/CryptoNet/CryptoNet/CryptoNet.Models/CryptoNet.Models.csproj]
Error: /home/runner/work/CryptoNet/CryptoNet/CryptoNet.Models/CryptoNetInfo.cs(53,2): error CS0246: The type or namespace name 'Serializable' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/CryptoNet/CryptoNet/CryptoNet.Models/CryptoNet.Models.csproj]
  CryptoNet.Share -> /home/runner/work/CryptoNet/CryptoNet/CryptoNet.Share/bin/Release/net8.0/CryptoNet.Share.dll

Build FAILED.

Error: /home/runner/work/CryptoNet/CryptoNet/CryptoNet.Models/CryptoNetInfo.cs(53,2): error CS0246: The type or namespace name 'SerializableAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/CryptoNet/CryptoNet/CryptoNet.Models/CryptoNet.Models.csproj]
Error: /home/runner/work/CryptoNet/CryptoNet/CryptoNet.Models/CryptoNetInfo.cs(53,2): error CS0246: The type or namespace name 'Serializable' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/CryptoNet/CryptoNet/CryptoNet.Models/CryptoNet.Models.csproj]
    0 Warning(s)
    2 Error(s)

Time Elapsed 00:00:07.87
Error: Process completed with exit code 1.

Code of Conduct

maythamfahmi commented 1 month ago

The above error is fixed as part of #111