Wednesday, December 23, 2020

Getting "Native error= Cannot find the specified file" when running a console app in MonoDevelop

On Ubuntu 20.10 with MonoDevelop 7.8.4 build (2), running a console application generates the following error message: 

ApplicationName='/usr/lib/gnome-terminal/gnome-terminal-server', CommandLine='--app-id mono.develop.id5647740ca7f5455da9c27ab2c320a029', CurrentDirectory='', Native error= Cannot find the specified file

 

To fix this do:

$: sudo mkdir /usr/lib/gnome-terminal
$: cd /usr/lib/gnome-terminal
$: sudo ln -s /usr/libexec/gnome-terminal-server

 

Reference: https://stackoverflow.com/questions/59336129/error-when-trying-to-run-code-debugger-operation-failed-native-error-cannot-f

No comments:

DCOM callback not working with UAC enabled

  OPC Classic DCOM client not receiving callback when UAC is enabled The OPC Classic server is running on another node and is running usi...