3
The type or namespace name 'Services' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)

这是我尝试在 TeamCity 中构建 ASP.Net 项目时遇到的错误。错误指向文件,Reference.cs.

但是,如果我只是从 Visual Studio 2012 构建项目,那么它就没有问题。我不太明白为什么 MSBuild 会在 TeamCity 中抱怨。也许我没有使用正确的构建配置?有什么建议么?

4

0 回答 0