Visual Studio 2013 C# Web Project builds but IDE reports The type or namespace name xxx could not be found error

后端 未结 10 2171
攒了一身酷
攒了一身酷 2020-12-04 16:56

When opening an MVC4 C# web project in Visual Studio 2013, the IDE reports the error \"The type or namespace name \'_\' could not be found (are you missing a using

10条回答
  •  一整个雨季
    2020-12-04 17:40

    There's a known issue with Web Application projects when bound to a TFS server that sounds like this issue. This occurs when the following TFS setting option is checked:

    Options -> Source Control -> Environment -> Get everything when a solution or project is opened.

    Disabling this option resolves the problem.

    thanks, Miguel Lacouture [MSFT]

提交回复
热议问题