

Now go to your project’s Web.config file and remove or comment out the following line in the :
#MONO FRAMEWORK ASP.NET INSTALL#
Now to fix those references that we just delete you will need to go to Nuget and install the Microsoft ASP.NET Web Pages package:

NET Framework 4.0 to 4.5 in your project’s options under General.Īnd now remove the following broken references in your project’s reference folder in red ( and ): Run MonoDevelop and create a new ASP.NET MVC 3 (Razor) project and then change the default. Sudo chmod g+rwx /etc/mono/registry/LocalMachine Sudo mkdir /etc/mono/registry/LocalMachine
#MONO FRAMEWORK ASP.NET CODE#
Download and Build MonoDevelopįirst remove MonoDevelop from Ubuntu: sudo apt-get remove monodevelopīefore you can build you will need to following components installed: sudo apt-get install git automake gtk-sharp2 gnome-sharp2 mono-xsp4Ĭlone the latest source code from GitHub, build and install it: git clone Ĭreate and set permission to the following directory for mono: sudo mkdir /etc/mono/registry So while searching on the Internet for hours I found the following solution and hope this will solve your problem too. Since the recent release of Ubuntu 14.04 I was surprised to see a new version of MonoDevelop, so I wanted to try creating an ASP.NET MVC 3 (Razor) project but it failed and threw the following exception: System.IO.FileNotFoundException:Could not find file "/usr/lib/monodevelop/AddIns//Templates/Common/Index.cshtml".File name:'/usr/lib/monodevelop/AddIns//Templates/Common/Index.cshtml'
