[MonoDevelop] Can't open C# files from installed location (building from git.)
Ben Joldersma
ben at joldersma.org
Wed Jul 11 17:27:25 UTC 2012
Hey folks!
Hope all is well. Not super pressing, but if I open MonoDevelop from my
desktop shortcut, I get the following error:
The file '/home/ben/workspaces/sfc/Classes/GameRunner.cs' could not be
opened. Could not load type
'MonoDevelop.CSharp.Resolver.TextEditorResolverProvider' from assembly
'MonoDevelop.CSharpBinding, Version=2.6.0.0, Culture=neutral,
PublicKeyToken=null'.
System.TypeLoadException: Could not load type
'MonoDevelop.CSharp.Resolver.TextEditorResolverProvider' from assembly
'MonoDevelop.CSharpBinding, Version=2.6.0.0, Culture=neutral,
PublicKeyToken=null'.
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters)
[0x00000] in <filename unknown>:0
at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
[0x00000] in <filename unknown>:0
at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName,
Boolean throwIfNotFound) [0x00000] in <filename unknown>:0
at
MonoDevelop.Ide.Gui.Content.TextEditorResolverProviderCodon.CreateResolver
() [0x00000] in
/media/fb219d27-a706-493c-88ef-32bc3816a658/workspaces/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/ITextEditorResolver.cs:117
at MonoDevelop.Ide.Gui.Content.TextEditorResolverService.GetProvider
(System.String mimeType) [0x0002c] in
/media/fb219d27-a706-493c-88ef-32bc3816a658/workspaces/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Content/ITextEditorResolver.cs:85
at MonoDevelop.SourceEditor.SourceEditorView.UpdateMimeType
(System.String fileName) [0x0005a] in
/media/fb219d27-a706-493c-88ef-32bc3816a658/workspaces/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:686
at MonoDevelop.SourceEditor.SourceEditorView.Load (System.String
fileName, System.Text.Encoding loadEncoding) [0x00040] in
/media/fb219d27-a706-493c-88ef-32bc3816a658/workspaces/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:552
at MonoDevelop.SourceEditor.SourceEditorView.Load (System.String
fileName) [0x00000] in
/media/fb219d27-a706-493c-88ef-32bc3816a658/workspaces/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:496
at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (System.String fileName)
[0x000f8] in
/media/fb219d27-a706-493c-88ef-32bc3816a658/workspaces/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:1126
I'm able to open C# files just fine if I invoke via 'make run', so I'm fine
with doing that for now, but any ideas what's causing this?
cheerio,
--ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120711/b94663de/attachment.html>
More information about the Monodevelop-list
mailing list