Best Practices
MacOS Troubleshooting
Adobe PDF Library .NET
When using Visual Studio for Mac, if you experience the System.ApplicationException: Failed to initialize locale_ error, try the following:
Open Visual Studio Preferences
Go to the Visual Studio menu and select Preferences.
Navigate to Terminal settings
Scroll to the bottom of the Preferences dialog. Under the Other section, select Terminal.
Disable integrated terminal
Uncheck Enable integrated terminal, press OK, and try running the application again.
If the problem persists, try adding locale environment variables to your project:
Open Project Properties
Go to the Project menu and select Properties.
Open Run Configurations
Under the Run section, select Configurations, then select your active configuration.
Add environment variables
Click the Add button and add the following variables:
LC_ALL=en_US.UTF-8LANG=en_US.UTF-8
Apply and run
Press OK and try running the application again.
If neither solution resolves the issue, contact evalsupport@datalogics.com for further assistance.