我使用Git作为我的Unity 3D项目的回购。我编辑了.git / config以添加unityyamlmerge来合并场景。之后,Mono Develop搞砸了并显示了这个错误:
发生错误文本编辑器扩展链中的错误
详细信息:System.ArgumentException:存储库配置文件 D:\ BitBucket \ Queue.git \ config invalid无法读取文件 D:\ BitBucket \ Queue.git \ config at NGit.BaseRepositoryBuilder
2.LoadConfig() in c:\BuildAgent\work\d478831d940d36a4\monodevelop\main\external\ngit\NGit\NGit\BaseRepositoryBuilder.cs:line 904 at NGit.BaseRepositoryBuilder
2.GetConfig()in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主\外部\ ngit \ NGit \ NGit \ BaseRepositoryBuilder.cs:线 872在NGit.BaseRepositoryBuilder2.GuessWorkTreeOrFail() in c:\BuildAgent\work\d478831d940d36a4\monodevelop\main\external\ngit\NGit\NGit\BaseRepositoryBuilder.cs:line 918 at NGit.BaseRepositoryBuilder
2.SetupWorkTree()in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主\外部\ ngit \ NGit \ NGit \ BaseRepositoryBuilder.cs:线 833在NGit.BaseRepositoryBuilder`2.Setup()中 C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主\外部\ ngit \ NGit \ NGit \ BaseRepositoryBuilder.cs:线 745在NGit.Storage.File.FileRepository..ctor(FilePath gitDir)中 C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主\外部\ ngit \ NGit \ NGit.Storage.File \ FileRepository.cs:线 在NGit.Storage.File.FileRepository..ctor(String gitDir)中的114 C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主\外部\ ngit \ NGit \ NGit.Storage.File \ FileRepository.cs:线 130点 MonoDevelop.VersionControl.Git.LocalGitRepository..ctor(String path) 在 C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\版本控制\ MonoDevelop.VersionControl.Git \ MonoDevelop.VersionControl.Git \ GitRepository.cs:行 1578在MonoDevelop.VersionControl.Git.GitRepository..ctor(FilePath path,String url)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\版本控制\ MonoDevelop.VersionControl.Git \ MonoDevelop.VersionControl.Git \ GitRepository.cs:行 73点 MonoDevelop.VersionControl.Git.GitVersionControl.GetRepositoryReference(文件路径 path,String id)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\版本控制\ MonoDevelop.VersionControl.Git \ MonoDevelop.VersionControl.Git \ GitVersionControl.cs:行 61点 MonoDevelop.VersionControl.Git.GitVersionControl.GetRepositoryReference(文件路径 path,String id)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\版本控制\ MonoDevelop.VersionControl.Git \ MonoDevelop.VersionControl.Git \ GitVersionControl.cs:行 65点 MonoDevelop.VersionControl.Git.GitVersionControl.GetRepositoryReference(文件路径 path,String id)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\版本控制\ MonoDevelop.VersionControl.Git \ MonoDevelop.VersionControl.Git \ GitVersionControl.cs:行 65点 MonoDevelop.VersionControl.VersionControlService.GetRepositoryReference(字符串 path,String id)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\版本控制\ MonoDevelop.VersionControl \ MonoDevelop.VersionControl \ VersionControlService.cs:行 199点 MonoDevelop.VersionControl.VersionControlService.GetRepository(IWorkspaceObject 进入) C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\版本控制\ MonoDevelop.VersionControl \ MonoDevelop.VersionControl \ VersionControlService.cs:行 185点 MonoDevelop.VersionControl.VersionControlFileSystemExtension.GetRepository(文件路径 路径) C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\版本控制\ MonoDevelop.VersionControl \ MonoDevelop.VersionControl \ VersionControlFileSystemExtension.cs:行 29点 MonoDevelop.VersionControl.VersionControlFileSystemExtension.CanHandlePath(文件路径 path,Boolean isDirectory)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\版本控制\ MonoDevelop.VersionControl \ MonoDevelop.VersionControl \ VersionControlFileSystemExtension.cs:行 20在MonoDevelop.Core.FileService.GetFileSystemForPath(String path,Boolean isDirectory)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Core \ MonoDevelop.Core \ FileService.cs:行 283 at MonoDevelop.Core.FileService.RequestFileEdit(String fileName)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Core \ MonoDevelop.Core \ FileService.cs:行 246在 MonoDevelop.SourceEditor.SourceEditorView.CheckReadOnly(Int32 line)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\ MonoDevelop.SourceEditor2 \ MonoDevelop.SourceEditor \ SourceEditorView.cs:行 1021 at Mono.TextEditor.TextEditorData.CanEdit(Int32 line)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ Mono.Texteditor \ Mono.TextEditor \ TextEditorData.cs:行 501 at Mono.TextEditor.EditMode.InsertCharacter(UInt32 unicodeKey) 在 C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ Mono.Texteditor \ Mono.TextEditor \ EditMode.cs:行 115 at Mono.TextEditor.SimpleEditMode.HandleKeypress(Key key, UInt32 unicodeKey,ModifierType修饰符) C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ Mono.Texteditor \ Mono.TextEditor \ SimpleEditMode.cs:行 421 at Mono.TextEditor.TextArea.SimulateKeyPress(Key key,UInt32 unicodeChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ Mono.Texteditor \ Mono.TextEditor \桂\ TextArea.cs:行 913在 MonoDevelop.SourceEditor.SourceEditorWidget.MonoDevelop.Ide.Gui.Content.ITextEditorExtension.KeyPress(关键 key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\ MonoDevelop.SourceEditor2 \ MonoDevelop.SourceEditor \ SourceEditorWidget.cs:行 144在MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ TextEditorExtension.cs:行 109在MonoDevelop.DocFood.DocFoodTextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\ MonoDevelop.DocFood \ MonoDevelop.DocFood \ DocFoodTextEditorExtension.cs:行 63 at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ TextEditorExtension.cs:行 109在MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ TextEditorExtension.cs:行 109在MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ TextEditorExtension.cs:行 109点 MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.KeyPress(关键 key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ CompletionTextEditorExtension.cs:行 100点 MonoDevelop.CSharp.Completion.CSharpCompletionTextEditorExtension.KeyPress(关键 key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\ CSharpBinding \ MonoDevelop.CSharp.Completion \ CSharpCompletionTextEditorExtension.cs:行 204 at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ TextEditorExtension.cs:行 109点 MonoDevelop.CSharp.Formatting.CSharpTextEditorIndentation.KeyPress(关键 key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\ CSharpBinding \ MonoDevelop.CSharp.Formatting \ CSharpTextEditorIndentation.cs:行 357 at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ TextEditorExtension.cs:行 109在MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ TextEditorExtension.cs:行 109在MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ TextEditorExtension.cs:行 109在MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ TextEditorExtension.cs:行 109点 MonoDevelop.Debugger.ExceptionCaughtTextEditorExtension.KeyPress(关键 key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\ MonoDevelop.Debugger \ MonoDevelop.Debugger \ ExceptionCaughtDialog.cs:行 439 at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ TextEditorExtension.cs:行 109在MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key,Char keyChar,ModifierType修饰符)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \核心\ MonoDevelop.Ide \ MonoDevelop.Ide.Gui.Content \ TextEditorExtension.cs:行 109点 MonoDevelop.SourceEditor.ExtensibleTextEditor.ExtensionKeyPress(关键 key,UInt32 ch,ModifierType state)in C:\ BuildAgent \工作\ d478831d940d36a4 \ MonoDevelop的\主的\ src \加载项\ MonoDevelop.SourceEditor2 \ MonoDevelop.SourceEditor \ ExtensibleTextEditor.cs:行 249
那我在这里做错了什么?我该如何解决这个问题?提前谢谢。
答案 0 :(得分:1)
没关系。
我已设法通过禁用工具 - >加载项管理器 - >版本控制 - > Git支持来自行解决。
非常感谢。