Castle Windsor构建错误

时间:2011-02-17 00:06:23

标签: .net castle-windsor

我无法为SL40建造Castle Windsor源。我去了https://github.com/castleproject/Castle.Windsor,最新下载了。编辑了ClickToBuild.cmd以阅读

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]

我在这里做错了什么?感谢。

1 个答案:

答案 0 :(得分:2)

无需编辑任何内容。只是从项目根运行build.cmd SL40对我有用(当然,确保你已经安装了Silverlight 4 Tools