2
我有這樣的問題:問題裝載組件文件
Error 23 The "AssemblyInfo" task could not be loaded from the assembly AssemblyInfoTask, Version=1.0.51130.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not load file or assembly 'AssemblyInfoTask, Version=1.0.51130.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available. CustomActions
任何建議嗎?
更新#1在我的電腦中從SVN複製項目後出現問題。項目是在VS 2005編寫的。我已經安裝VS 2005.
更新#2安裝SP1 for VS2005,它仍然不工作。
更新#3我已經改變了線在項目文件中像這樣**
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- <Import Project="$(SolutionDir)eService.VersionNumber.targets" />
-->
,並開始工作。所以,正如我所看到的,問題在於eService.VersionNumber.targets文件。所有工作都在另一臺電腦上,並存在文件。
你試過乾淨和重建? – w69rdy 2010-08-18 14:25:56
您是否部署了AssemblyInfoTask程序集?這是在調試或發佈代碼,從Visual Studio或客戶機上運行? – 2010-08-18 14:26:06
現在我正在爲VS 2005安裝SP1。之後,我會嘗試你的建議。 – Sergii 2010-08-18 14:28:08