我正在尝试遵循本指南:
http://www.castleproject.org/others/nvelocity/usingit.html
你能告诉我我必须包含哪些 dll 才能让他工作吗:
VelocityEngine velocity = new VelocityEngine();
ExtendedProperties props = new ExtendedProperties();
velocity.Init(props);
我包括了整个城堡项目,但仍然没有用。
最佳答案
您需要引用 NVelocity.dll。这似乎不是主要 CaSTLe 项目的一部分。
最后一个稳定版本是 1.0.3 RC3(根据 this 页面)。您可以从 here 获得整个版本,在“1.0 Release Candidate 3”部分下。如果您下载二进制文件,NVelocity.dll 会打包在一个名为 external-dependencies.zip 的 zip 文件中。
关于c# - CaSTLe Nvelocity - 入门,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/961762/