开发者

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

开发者 https://www.devze.com 2023-02-22 18:05 出处:网络
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 fin

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

精彩评论

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

关注公众号