Source will not recompile properly

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/20/2005 11:29:34 AM
Gravatar
Total Posts 73

Source will not recompile properly

Hi,

When I download the source code, add my own seperate stuff and recompile it (VS2003) I get the following:

 

D:\mojoportal\Web\BlogCategoryEdit.aspx.cs(101): 'mojoPortal.Business.Blog' does not contain a definition for 'GetCategoriesList'
D:\mojoportal\Web\BlogCategoryEdit.aspx.cs(156): 'mojoPortal.Business.Blog' does not contain a definition for 'UpdateBlogCategory'
D:\mojoportal\Web\BlogEdit.aspx.cs(159): 'mojoPortal.Business.Blog' does not contain a definition for 'GetCategoriesList'
D:\mojoportal\Web\Components\SiteModuleControl.cs(28): 'mojoPortal.Web.SiteModuleControl.OnInit(System.EventArgs)' hides inherited member 'System.Web.UI.UserControl.OnInit(System.EventArgs)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
D:\mojoportal\Web\Components\SiteUtils.cs(1104): The variable 'ex' is declared but never used
D:\mojoportal\Web\ForumThreadEdit.aspx.cs(117): Property or indexer 'mojoPortal.Business.ForumThread.Subject' cannot be assigned to -- it is read only
D:\mojoportal\Web\ForumThreadEdit.aspx.cs(119): 'mojoPortal.Business.ForumThread.UpdateThread()' is inaccessible due to its protection level

I did not have this problem when I moved to the previous release. Is there something missing?

Jan

9/20/2005 12:47:17 PM
Gravatar
Total Posts 148

Re: Source will not recompile properly

You need to recompile mojoPortal.Business before mojoPortal.Web.  Did you do that?  If so, are you using the latest code from SVN or the src zip file?

--Dean
9/21/2005 8:31:28 PM
Gravatar
Total Posts 73

Re: Source will not recompile properly

If Joe is using VS 2003 properly, the order of compilation is defined in the solution.

I think I used the src zip file. I'll try  it with the code from SVN.

9/22/2005 2:02:14 PM
Gravatar
Total Posts 18439

Re: Source will not recompile properly

I just downloaded the zip and it builds just fine, the error sounds like some files got mixed up when you integrated your stuff, maybe you didn't get all the files or overwrote some of the mojoportal files or something when you copied your files in.

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