2012-05-01 56 views
2

今天我們的一位開發人員在我的subwcrev後期製作命令中出現了「錯誤9009」。它在命令行中運行良好。什麼修復它重新啓動Visual Studio。其他一些人發現更新SVN和/或確保它在路上是罪魁禍首; http://forum.battleclinic.com/index.php?topic=42617.0;Building-problems http://www.autismcollaborative.org/wiki/index.php?title=Troubleshooting哪裏可以找到TortoiseSvn Subwcrev錯誤代碼列表?

我很驚訝不希望看到的SubWcRev的錯誤代碼的及其含義的列表。有誰知道在哪裏可以找到?謝謝!

回答

7

你可以在source找到錯誤代碼。

// Internal error codes 
#define ERR_SYNTAX  1 // Syntax error 
#define ERR_FNF   2 // File/folder not found 
#define ERR_OPEN  3 // File open error 
#define ERR_ALLOC  4 // Memory allocation error 
#define ERR_READ  5 // File read/write/size error 
#define ERR_SVN_ERR  6 // SVN error 
// Documented error codes 
#define ERR_SVN_MODS 7 // Local mods found (-n) 
#define ERR_SVN_MIXED 8 // Mixed rev WC found (-m) 
#define ERR_OUT_EXISTS 9 // Output file already exists (-d) 
#define ERR_NOWC  10 // the path is not a working copy or part of one 
+0

謝謝斯特凡!對不起,我沒有點擊接受。我有一些登錄問題。 – AnneTheAgile

-2

從中刪除:項目 - >屬性 - >生成事件 - >預建事件命令行

subwcrev 「$(SolutionDir)。」 「$(PROJECTDIR)屬性\ AssemblyInfoTemplate.cs」 「$(PROJECTDIR)屬性\ AssemblyInfo.cs中」 -f

然後生成該項目

+0

該問題指出了構建後事件。此外,沒有跡象表明海報正在使用subwcrev將svn值替換爲程序集信息。最後,直截了當地刪除命令幾乎不是解決方案,最好是解決方法。 –

相關問題