Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert MM Web Site to Web Application
Message
From
13/07/2011 16:44:09
 
 
To
13/07/2011 14:26:09
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
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:
01518112
Views:
49
>>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

Thanks Tim for your reply. I did exactly what you described and I have managed to get by App_code but I have two major issues:
1. The files in Admin page generate 177 errors. I tried to changes their properties from content to compile and the errors are still there.
2. The Mere Mortals controls are not recognized in the aspx.cs file.

Another thing is the Mere Mortals doesn't have a project template for Web Application. If it does the conversion may be easier.

Thanks,
Adrian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform