2010-07-05 92 views
0

我在CentOS上使用源碼編譯的Mono 2.6.4編譯C#中的VS2008項目。 一些的csproj編譯,但是這一次沒有,這裏的輸出xbuild /噸:詳細:VS2008的csproj無法用mono xbuild編譯

/opt/mono-2.6.4/lib/mono/2.0/Microsoft.CSharp.targets: error : Error executing task Csc: Input string was not in the correct format 
       Error executing task Csc: System.FormatException: Input string was not in the correct format 
    at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 
    at Microsoft.Build.Utilities.ToolTask.ParseOrigin (System.String origin, System.String& filename, System.Int32& lineNumber, System.Int32& columnNumber, System.Int32& endLineNumber, System.Int32& endColumnNumber) [0x00000] in <filename unknown>:0 
    at Microsoft.Build.Utilities.ToolTask.LogEventsFromTextOutput (System.String singleLine, MessageImportance importance) [0x00000] in <filename unknown>:0 
    at Microsoft.Build.Utilities.ToolTask.ProcessOutputFile (System.String filename, MessageImportance importance) [0x00000] in <filename unknown>:0 
    at Microsoft.Build.Utilities.ToolTask.ExecuteTool (System.String pathToTool, System.String responseFileCommands, System.String commandLineCommands) [0x00000] in <filename unknown>:0 
    at Microsoft.Build.Utilities.ToolTask.Execute() [0x00000] in <filename unknown>:0 
    at Microsoft.Build.BuildEngine.TaskEngine.Execute() [0x00000] in <filename unknown>:0 
    at Microsoft.Build.BuildEngine.BuildTask.Execute() [0x00000] in <filename unknown>:0 
     Task "Csc" execution -- FAILED 
     Done building target "CoreCompile" in project "/mnt/virtualbox/Project/(API)/Base/Base.csproj".-- FAILED 

OnError for target CoreBuild skipped due to false condition: '$(RunPostBuildEvent)' == 'Always' or '$(RunPostBuildEvent)' == 'OnOutputUpdated' 
     Target _GetCompileOutputsForClean: 
     Done building target "_GetCompileOutputsForClean" in project "/mnt/virtualbox/Project/(API)/Base/Base.csproj". 

     Target _RecordCleanFile: 
     Done building target "_RecordCleanFile" in project "/mnt/virtualbox/Project/(API)/Base/Base.csproj". 

Done building project "/mnt/virtualbox/Project/(API)/Base/Base.csproj".-- FAILED 

任何人有一個想法?謝謝 ?

回答

1

這可能已經固定在SVN。我改變了那段代碼,以便在某段時間後使用regex。你可以嘗試一個單一的每日構建[1]?或者只是用項目文件提交一個錯誤,我會檢查它。

  1. http://mono.ximian.com/daily/
+0

這看起來像同一個問題:https://bugzilla.novell.com/show_bug.cgi?id=594541,已經固定SVN。 – radical 2010-07-06 09:26:53

+0

是固定的,謝謝。 – hokkos 2010-07-07 15:53:57