Expected Behavior
Any sample project should open and build without errors.
Actual Behavior
Project opens but produces multiple errors.
Steps to reproduce
- Open ListWidget sample project in Visual Studio 2015 (Enterprise).
- Open any .cshtml file.
- Multiple errors (listed below) are produced; Intellisense is non-funcitonal.
Alternatively:
Screenshot
Severity Code Description Project File Line Suppression State
Error CS0234 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) ListWidget C:\Users\<user>\Downloads\feather-samples-master\ListWidget\Mvc\Views\List\Index.cshtml 1 Active
Error CS0234 The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) ListWidget C:\Users\<user>\Downloads\feather-samples-master\ListWidget\Mvc\Views\List\Index.cshtml 1 Active
Error CS0234 The type or namespace name 'WebPages' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) ListWidget C:\Users\<user>\Downloads\feather-samples-master\ListWidget\Mvc\Views\List\Index.cshtml 1 Active
Error CS0234 The type or namespace name 'WebPages' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) ListWidget C:\Users\<user>\Downloads\feather-samples-master\ListWidget\Mvc\Views\List\Index.cshtml 1 Active
Error CS0234 The type or namespace name 'WebPages' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) ListWidget C:\Users\<user>\Downloads\feather-samples-master\ListWidget\Mvc\Views\List\Index.cshtml 1 Active
Error CS0115 '_Page_Mvc_Views_List_Index_cshtml.Execute()': no suitable method found to override ListWidget C:\Users\<user>\Downloads\feather-samples-master\ListWidget\Mvc\Views\List\Index.cshtml 1 Active
Error CS0103 The name 'Context' does not exist in the current context ListWidget C:\Users\<user>\Downloads\feather-samples-master\ListWidget\Mvc\Views\List\Index.cshtml 1 Active
Error CS0103 The name 'ViewBag' does not exist in the current context ListWidget C:\Users\<user>\Downloads\feather-samples-master\ListWidget\Mvc\Views\List\Index.cshtml 10 Active
Error CS0103 The name 'ViewBag' does not exist in the current context ListWidget C:\Users\<user>\Downloads\feather-samples-master\ListWidget\Mvc\Views\List\Index.cshtml 22 Active
Error CS0103 The name 'Html' does not exist in the current context ListWidget C:\Users\<user>\Downloads\feather-samples-master\ListWidget\Mvc\Views\List\Index.cshtml 25 Active
Error CS8023 Feature 'implicitly typed local variable' is not available in C# 2. Please use language version 3 or greater. ListWidget C:\Users\<user>\Downloads\feather-samples-master\ListWidget\Mvc\Views\List\Index.cshtml 27 Active
Expected Behavior
Any sample project should open and build without errors.
Actual Behavior
Project opens but produces multiple errors.
Steps to reproduce
Alternatively:
Screenshot