开发者

Nant build error: error CS0234: The type or namespace name 'Localization' does not exist

I have a decent size Nant build file (8 projects) where projects depend on eachother and so on, and everything works fine. But I went to add in a new project (first in the build order), it compiles fine and the dll shows up, but when I go to reference it in another, I get the error:

error CS0234: The type or namespace name 'Localization' does not exist in the namespace 'XXX' (are you missing an assembly reference?)

Now in that csc command, I clearly have

<include name="./bin/XXX.Localization.dll"/>

I have checked the directory and it is there, I am very confused as to what is happening. In this project, I also have a bunch of references to other dlls in the same directory that work fine. Thanks 开发者_如何学JAVAfor your time.


Since the project had no .cs files in it, it didn't work right (only resx files). I simply added in a dummy class and it worked fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜