Search results
Suggest a FeaturePDF

Can the Bold Reports be used with ASP.NET Core on Linux and macOS

Yes, you can make use of our Bold Reports Embedded Reporting tools with Linux and macOS. You have to ensure the following while using our component.

You are using the System.Drawing to measure text size for CanGrow feature supports available Textbox ReportItem and it requires native libgdiplus library. So, you should install the libgdiplus dependent library, which is not available with non-Windows operating systems.

Linux

Install the libgdiplus by executing the following commands at a terminal (command) prompt:

sudo apt install libc6-dev
sudo apt install libgdiplus

For .NET 6.0 or above version on Linux

Image not rendered issue occurred in .Net 6.0 and above versions on Linux environment due to lack of System.Drawing.Common package support in these versions of .NET 6.0 and above on Linux.

Create JSON file with the file name as runtimeconfig.template.json and then add the below code

{
  "configProperties": {
    "System.Drawing.EnableUnixSupport": true
  }
}

macOS

Use the Homebrew (“brew”) package manager for installing libgdiplus. After installing brew, install the libgdiplus by executing the following commands at a terminal (command) prompt:

brew update
brew install mono-libgdiplus

See Also

.NET Core dependencies requirements on Linux for System.Drawing.Common assembly

.NET Core dependencies requirements on macOS for System.Drawing.Common assembly

System.Drawing for .NET Core from NuGet packages