This is probably a silly question, but I have looked and haven’t found a straight forward answer for it. I started learning ASP.net recently, and started following a tutorial. i start by creating a project, an MVC2 web application, but when it starts, i cant find the “using system;” , “using system.web;” etc…What am i doing wrong?
Edit: I’m using Visual Studio 2010 Ultimate
Based on your comment you are using VB.Net not C#. You should use
Import SystemnotUsing System;.In addition VB.Net allows for importing namespaces at the project level as opposed to needing to do it in every file. This is done through the project properties (References tab if I recall correctly). This means that the
Import System,Import System.Web, etc. aren’t needed in every file.