Well after looking at some more videos I learned of the Global.asax file which I added. However, I am now having issues compiling that file.
Code:
Global.asax(11,50): error CS0234: The type or namespace name `HttpApplication' does not exist in the namespace `System.Web'. Are you missing an assembly reference?
Global.asax(2,14): error CS0234: The type or namespace name `Collection' does not exist in the namespace `System'. Are you missing an assembly reference?
Global.asax(5,18): error CS0234: The type or namespace name `Mvc' does not exist in the namespace `System.Web'. Are you missing an assembly reference?
Global.asax(6,18): error CS0234: The type or namespace name `Routing' does not exist in the namespace `System.Web'. Are you missing an assembly reference?
Global.asax(21,51): error CS0246: The type or namespace name `RouteCollection' could not be found. Are you missing a using directive or an assembly reference?
Compilation fail
I copied the code for the Global.asax file from a video on pluralsight yet it seems to be producing those errors. I can only assume this has something to do with the mono install omitting a necessary piece of the puzzle of paths being incorrect. any ideas?
Also, I noticed on the error page that the version in use is 2, rather then what I would like is 3. What would be the proper item to add to the Web.config(?) file to use version 3?
Also, you are correct I am trying to use MVC w/ razor.
thanks
Bookmarks