[MonoDevelop] How to Open VS2005 C# ASP.net 2.0 project in monodevelop

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Aug 25 13:38:22 EDT 2009


On Tue, Aug 25, 2009 at 11:56 AM, Chris Howie<cdhowie at gmail.com> wrote:
> On Fri, Jul 31, 2009 at 4:12 PM, manshack_one<manshack_one at yahoo.com> wrote:
>> So how do I open an existing app/website in monodevelop?  I don't see an
>> "Open with existing sources" option and creating a blank web app in
>> monodevelop and copying the files into it doesn't work either?    What do I
>> need to do?
>
> Can you not just open the solution file in MD?

As a VS2005 project, it's likely a "Web site" rather than an actual
project. In this case the sln just contains a path to the directory.
MD doesn't handle this "web site" model.

MS added Web Application projects back to VS in 2005SP1 AFAIK. It's
included by default in VS 2008 and VWD 2008 SP1.

So you're going to have to convert the web site to a web application
by creating a new web project and adding all the files -- with some
caveats, such as renaming any App_Code files, creating
*.as[pc]x.designer.cs files for all your as[pc]x files, and removing
the Codefile attributes form the page/control directives.

VS has some features for automating the conversion. A quick google
turns up more info at at
http://weblogs.asp.net/meligy/archive/2008/08/03/converting-vs-2008-website-to-web-application.aspx

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list