2015-12-30 24 views
0

我想編譯this workspace Mono,特別是Sm4shCommand/AnimCmd項目。當我和MonoDevelop的編譯它,我得到單聲道忽略現有的文件,拋出錯誤

/home/----------/Downloads/Sm4sh-Tools-master/AnimCmd/CSC: Error CS2001: Source file `System/Windows/Forms/HexBox/Forms/GotoDialog.designer.cs' could not be found (CS2001) (Sm4shCommand) 

我得到同樣的錯誤,當我嘗試用xbuild編譯它。

它說的文件不存在在項目中。有沒有理由不承認它?

回答

0

假設你是在Linux上...

這是一個文件的情況下的問題,在Windows或OS-X,你不會看到,編輯Sm4shCommand.csproj文件,並更改 GotoDialog.designer.csGotoDialog.Designer.cs

./AnimCmd/System/Windows/Forms/HexBox/Forms/GotoDialog.Designer.cs 

AnimCmd/Sm4shCommand.csproj: <Compile Include="System\Windows\Forms\HexBox\Forms\GotoDialog.designer.cs"> 
+0

我通過刪除函數和對DLL的引用來解決問題,因爲它只是將該文件的擴展名設置爲該程序,而在Linux上則不需要。 – TechNick6425