【发布时间】:2014-04-29 03:01:21
【问题描述】:
当我在 TFS 中构建时,我有这样的东西:
App_Start\BundleConfig.cs (2): The type or namespace name 'Optimization' does not exist
in the namespace 'System.Web' (are you missing an assembly reference?)
Global.asax.cs (3): The type or namespace name 'Optimization' does not exist in the
namespace 'System.Web' (are you missing an assembly reference?)
App_Start\BundleConfig.cs (9): The type or namespace name 'BundleCollection' could not be
found (are you missing a using directive or an assembly reference?)
我已经浏览了这个链接:
http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages
http://docs.nuget.org/docs/reference/package-restore-with-team-build
但似乎没有任何帮助:/ 在我的本地副本上,一切都构建并运行正常。我正在寻找任何解决方案,但似乎没有任何帮助。我还删除了 packages 文件夹,以便 TFS 可以下载它(至少是我在网上找到的),但这也无济于事。我的想法不多了。谢谢。
【问题讨论】:
标签: c# .net asp.net-mvc-4 visual-studio-2012 tfs