2011-02-17 173 views
0

我無法爲SL40建造Castle Windsor源代碼。我去了https://github.com/castleproject/Castle.Windsor,最新下載。編輯ClickToBuild.cmd閱讀Castle Windsor Build Error

CALL buildscripts\build.cmd SL40 ClickToBuild 

,但我得到下面的生成錯誤:

c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(4 
83,9): error : The OutputPath property is not set for project 'Castle.Wi 
ndsor.Tests-SL.csproj'. Please check to make sure that you have specifi 
ed a valid combination of Configuration and Platform for this project. 
Configuration='SL4-Release' Platform='AnyCPU'. You may be seeing this 
message because you are trying to build a project without a solution fil 
e, and have specified a non-default Configuration or Platform that doesn 
't exist for this project. [C:\Users\Administrator\Downloads\castleproject-Castle 
.Windsor-2.5.2-289-g6d036c9\castleproject-Castle.Windsor-6d036c9\src\Cas 
tle.Windsor.Tests-SL\Castle.Windsor.Tests-SL.csproj] 

什麼我錯在這裏做什麼?謝謝。

回答

2

無需編輯任何東西。從項目根目錄運行build.cmd SL40爲我工作(當然,請確保你已安裝Silverlight 4 Tools

+0

這工作,謝謝。問題是我正在使用ClickToBuild文件,該文件添加了命令行參數ClickToBuild。 – Jeff 2011-02-17 16:20:04