The type or namespace name 'mojoCutePager' does not exist in the namespace 'mojoPortal.Web.Editor'

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.
10/12/2010 4:28:26 AM
Gravatar
Total Posts 57

The type or namespace name 'mojoCutePager' does not exist in the namespace 'mojoPortal.Web.Editor'

Hi
Recently after upgrading to 2.3.5.3 and while playing with source code I have faced a weird problem. I checked to make sure this is not something related to my changes in the source code.
Using latest source code package form codeplex, if I modify anything inside markups for example "AdminCountry.aspx", the next time I compile the designer file get crazy by complaining about controls like mojoButton, mojoPanel and… as follow:

Error: The type or namespace name 'mojoCutePager' does not exist in the namespace 'mojoPortal.Web.Editor' (are you missing an assembly reference?)

C:\Documents and Settings\User\Desktop\mojoportal_65c2f63a4749\Web\Admin\AdminCountry.aspx.designer.cs
112 49 mojoPortal.Web
Visual Studio 2010 - .Net 4

Probably something is wrong with references which cause VS to add wrong entry to Designer.cs file.
Any idea how to fix this?

Thanks

10/12/2010 6:51:51 AM
Gravatar
Total Posts 18439

Re: The type or namespace name 'mojoCutePager' does not exist in the namespace 'mojoPortal.Web.Editor'

You should not be modifying mojoPortal source code at all.

If you fork the code then you will not be able to upgrade without losing your changes.

10/12/2010 7:56:34 AM
Gravatar
Total Posts 57

Re: The type or namespace name 'mojoCutePager' does not exist in the namespace 'mojoPortal.Web.Editor'

Hello Joe and thanks for reply,
I do not plan to upgrade. I am just creating a striped down version of mojo for my personal website. I also check Codeplex regularly and apply all updates to the code manually (critical ones).
But unfortunately I have faced such problem. I have tried different approaches to solve it but with no luck.VS keeps creating wrong reference!

10/13/2010 2:24:50 AM
Gravatar
Total Posts 57

Re: The type or namespace name 'mojoCutePager' does not exist in the namespace 'mojoPortal.Web.Editor'

Thanks for the fixwink

It looks like that this is a confirmed bug in visual studio 2010 which has been reported since RC release and despite a patch it still exist in RTM!

https://connect.microsoft.com/VisualStudio/feedback/details/533302/issue-with-auto-generated-designer-files-not-addding-components

http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=27117

10/13/2010 6:32:41 AM
Gravatar
Total Posts 18439

Re: The type or namespace name 'mojoCutePager' does not exist in the namespace 'mojoPortal.Web.Editor'

Hi Malkom,

Glad you got my fix from the repository. As it turned out I experienced this same error yesterday which caused me to look into it. Possibly the recent windows update that affects ASP.NET was a factor in this issue since it worked fine until recently.

Best,

Joe

10/24/2010 11:05:17 AM
Gravatar
Total Posts 57

Re: The type or namespace name 'mojoCutePager' does not exist in the namespace 'mojoPortal.Web.Editor'

Thanks Joe,You saved me a full day wink

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