Customized Cloned feature won't build

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/24/2011 9:45:16 AM
Gravatar
Total Posts 37

Customized Cloned feature won't build

I cloned a feature and made all of the modifications so I could save time and a lot less coding.  Unfortunately, it will not build because many of the asp control tags are unrecognized (litMessage, pnlWest, SiteMenuq, divRight, etc........). I tried to copy the three master pages in App_MasterPages from mojoPortal.Web. But this didn't fix it. I have all of the <pages> sections in my web.config I think. I am stuck and don't know where to go from here.

I downloaded the GuestBook and I had the same problem with that custom feature.

 

Any suggestions or facts that might help me get this done. I have worked on it for two weeks now so any help would be appreciated.

2/25/2011 7:17:33 AM
Gravatar
Total Posts 18439

Re: Customized Cloned feature won't build

In addition to the web.config settings that you added and which are needed, you also need to add a reference to the mojoPortal.Web project and mojoPortal.Web.Controls and any others that you may need such as mojoPortal.Web.Framework, mojoPortal.Business, mojoPortal.Business.WebHelpers.

Hope it helps,

Joe

2/26/2011 1:43:29 AM
Gravatar
Total Posts 37

Re: Customized Cloned feature won't build

Those are already added. I copied the same ones that I cloned in both the using references as well as adding them as a reference to the project. I will go back over them to see if I missed any but I am pretty sure I got all of them. Is there something else you can think of? I cloned the Comment feature but I got the same result when I cloned your guestbook feature. I even went through the whole tutorial series and made my own feature from that. No matter how I do it, I get the same results. Do I use the layout.master from the web project or copy the layout into my project? I even made references to projects that I probably don't need to. Any thoughts?

2/26/2011 8:07:42 AM
Gravatar
Total Posts 18439

Re: Customized Cloned feature won't build

These kinds of errors happens if the VS designer cannot resolve the controls, by adding the <pages section to the Web.config of your project and by adding the references it should be able to resolve those, but VS can be finicky, you might need to open the .ascx and .aspx pages in your project and try to go to design view, you may get errors in design view but it may also make the designer see those references and then it may compile after that. 

Hope it helps,

Joe

2/28/2011 4:48:38 AM
Gravatar
Total Posts 37

Re: Customized Cloned feature won't build

I guess it was VS 2010. After going back the next day, all of it seemed resolved. Strange!

You must sign in to post in the forums. This thread is closed to new posts.