开发者

project reference is not set in msbuild

I am using MSBUild to compile my solution. In my solution i have project "A". Project "A" internally call (projetc ref call) to project "B". But project "B" is not a part of my solution.

When i compile with MSBuild i 开发者_Python百科am getting error "The type or namespace name 'XYZ' does not exist in the namespace 'Utilities' (are you missing an assembly reference?)"

When i compile in VS IDE (2008), I am able to compile the solution.

Solution --> Project "A" (Part of solution) -------> Project "B" (not a part of solution)

Thanks in advance.


Don't use solution references, use project references, and your build will work from both the solution and the command line. See this blog entry for an explanation of why solution dependencies are bad.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜