Question SharpDevelop on Linux? Has anyone done this?


New member
Feb 8, 2018
Programming Experience
Hi, I'm not sure where this post belongs, but since my goal is to program in C# I thought I'd post it here.

I've been running SharpDevelop on Windows computers. Recently I've converted over to Linux Lite OS which runs much faster on my notebook computers.

I've been able to install several Windows programs on the Linux system using WINE. What I have install thus far were Electronic Schematic and PCB board layout programs. Those Windows programs installed on Linux and run just like they did in Windows. So WINE is impressive. Now I can use all my old drawings and parts libraries on my Linux Notebooks.

I was hoping to do the same thing with SharpDevelop studio. I have programs I wrote in C# and I would like to be able to continue developing them on Linux.

I'm having problems getting it to run after installation.

What I've done:
1. Installed .NET 4.0 (using WINE)
2. Installed Visual C++ 2008 SPI (using WINE)
3. Installed SharpDevelop from a Sourceforge download.

As an additional note. I actually tried to Install SharpDevelop first but WINE required that I install the other two packages first. After installing the .NET 4.0 and the Visual C++ 2008 SPI, WINE then completed the installation of SharpDevelop and left a desktop icon to launch it.

However, when I try to launch it I get the following error msg from Linux:

SHAR~5MM.EXE - Configuration Parser Error
Error Parsing C:\windows\Microsoft.NET\framework\v4.0.30319\config\machine.config
Parser returned error 0x80004001

After clicking OK to that error msg box SharpDevelop also gives me the following more detailed error message:

SharpDevelop Version :
.NET Version : 4.0.30319.1
OS Version : Microsoft Windows NT 5.2.3790 Service Pack 2
Current culture : English (United States) (en-US)
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 0kb
GC Heap Memory : 1494kb

Unhandled exception terminated SharpDevelop
Exception thrown:
System.Runtime.InteropServices.COMException (0x800706D3): Unknown authentication service. (Exception from HRESULT: 0x800706D3)
at System.Windows.Media.MediaSystem.ConnectTransport()
at System.Windows.Media.MediaSystem.Startup(MediaContext mc)
at System.Windows.Media.MediaContext..ctor(Dispatcher dispatcher)
at System.Windows.Media.MediaContext.From(Dispatcher dispatcher)
at System.Windows.Media.Visual.VerifyAPIReadWrite()
at System.Windows.Media.Visual.set_VisualOpacity(Double value)
at System.Windows.UIElement.ensureInvisible(Boolean collapsed)
at System.Windows.UIElement.switchVisibilityIfNeeded(Visibility visibility)
at System.Windows.UIElement.OnVisibilityChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at ICSharpCode.SharpDevelop.Gui.SdStatusBar..ctor()
at ICSharpCode.SharpDevelop.Gui.WpfWorkbench..ctor()
at ICSharpCode.SharpDevelop.Commands.WorkbenchStartup.InitializeWorkbench()
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings)
at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings)
at ICSharpCode.SharpDevelop.SharpDevelopMain.RunApplication()
at ICSharpCode.SharpDevelop.SharpDevelopMain.Run()
at ICSharpCode.SharpDevelop.SharpDevelopMain.Main(String[] args)

---- Recent log messages:
Failed to append recent log messages.
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at ICSharpCode.SharpDevelop.Sda.LogMessageRecorder.AppendRecentLogMessages(StringBuilder sb, ILog log)
at ICSharpCode.SharpDevelop.Sda.ExceptionBox.getClipboardString()

---- Post-error application state information:
Installed 3rd party AddIns:

Just curious if anyone has any ideas or experience trying to run SharpDevelop on Linux using WINE?

I'm open to starting the whole procedure from scratch if need be. I'd really love to get SharpDevelop to run on Linux.

Top Bottom