Bug 1452 - MonoDevelop 2.8: unable to load a .cs file
Summary: MonoDevelop 2.8: unable to load a .cs file
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8 beta 3
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2011-10-12 11:54 UTC by Philippe Monteil
Modified: 2011-10-12 15:02 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Philippe Monteil 2011-10-12 11:54:16 UTC
Using MonoDevelop 2.8, under W7/64 I hae the following problem:

When trying to open some of the .CS files listed in a project I obtain
the following execption:

System.DllNotFoundException: Impossible de charger la DLL 'libc': Le module spécifié est introuvable. (Exception de HRESULT : 0x8007007E)

   à MonoDevelop.Projects.Text.TextFile.strlen(IntPtr str)

   à MonoDevelop.Projects.Text.TextFile.Utf8PtrToString(IntPtr ptr)

   à MonoDevelop.Projects.Text.TextFile.ConvertToBytes(Byte[] content, String toEncoding, String fromEncoding)

   à MonoDevelop.Projects.Text.TextFile.ConvertFromEncoding(Byte[] content, String fromEncoding)

   à MonoDevelop.Projects.Text.TextFile.Read(FilePath fileName, String encoding)

   à MonoDevelop.Projects.Text.TextFile.ReadFile(FilePath fileName, String encoding)

   à MonoDevelop.SourceEditor.SourceEditorView.Load(String fileName, String encoding)

   à MonoDevelop.SourceEditor.SourceEditorView.Load(String fileName)

   à MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke(String fileName)
Comment 1 Mikayla Hutchinson [MSFT] 2011-10-12 12:01:06 UTC
This was introduced by

https://github.com/mono/monodevelop/commit/bcec601f6331dd6ab8e857aa29884d550ed9a938
Comment 2 Jeffrey Stedfast 2011-10-12 15:02:22 UTC
fixed in master