Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert MM Web Site to Web Application
Message
From
13/07/2011 14:26:09
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
13/07/2011 11:21:13
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01518088
Message ID:
01518108
Views:
48
>Hi Guys:
>
>We have trouble to convert MM 4.0 Web Site to a Web Application in Visual Studio 2010. The main problem is that any files in the Admin folder cannot be compiled and it doesn't recognize any MM controls.
>
>Any idea or experience with this kind of issues?
>
>Thanks,
>Adrian

Lots of experience with it actually. I typically just create a blank WAP and copy all my files over to the new WAP project. Now I have a template to create a new MM Web Application Project. I am not sure what your options are at this point as to how much stuff you would have to move if you followed my method. Typically I do that right off before developing any work in the project.

If you have lots of work in the project, then you can try to convert as you have done. The Web Site supports the App_Code folder but the WAP does not. I just name it CodeBase or something different and that part is fine. There is no real reason the Admin files would not build but is probably related to the other things that are a problem.

If you can, just create a new Web Application Project, add the mm references, then copy all the files into the project. This takes little time really if you don't have tons of files already developed.
Timothy
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform