Features missing in source code build virtual server seperate projects

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.
1/28/2011 1:43:35 AM
Gravatar
Total Posts 3

Features missing in source code build virtual server seperate projects

I have done a source code build of mojoportal and I can only access these 5 features and the rest are missing:     

Html Content, Newsletter Sign Up Form, Site Statistics,  Web Part, Sign In Module

This is what I did:

- download source code
- run the mojoportal.mssqlonly.sln as 'add existing project' in visual web developer express
- it created 14 projects, I build solution and set "web" as startup project and opened setup/default.aspx as view in browser

It complied with one error, commented out this piece of code: "<add verb="*" path="*metaweblogapi.ashx" type="mojoPortal.Web.Services.Metaweblog.MetaWeblogger, mojoPortal.Features.UI"/>", site runs fine still with an error on xcopy(too long to paste here). Site is working and I was able to add pages with html content.

I can see the features folders (blog, forums, bingmap etc) in the "web.features.ui" but they do not show up when I compile the project for my site. What am I missing? How do I add these features?

Note: the separate projects when compiled and launched in browser launch on different ports.

Thanks!

 

 




 

1/29/2011 1:20:37 AM
Gravatar
Total Posts 3

Re: Features missing in source code build virtual server seperate projects

anything?

1/29/2011 3:28:33 AM
Gravatar
Total Posts 3

Re: Features missing in source code build virtual server seperate projects

I had to reinstall the whole thing and it worked this time, strange.

1/29/2011 6:56:19 AM
Gravatar
Total Posts 18439

Re: Features missing in source code build virtual server seperate projects

The problem was you did not rebuild the whole solution or else you had build errors, you only built mojoPortal.Web and its dependencies the first time. The needed files for other features are copied by post build events in the other projects so if they were not built then the files would not be copied and the features would not be available.

The only project that you should run in the browser is mojoPortal.Web, it should be the startup project. You can disable other Web  projects from launching instances if the VS web server from VS Solution Explorer, click the mojoPortal.Features.UI project node then click the Properties tab on the right side of Solution Explorer (not the same as right clicking the project and choosing properties), there you will see a setting for "Always Start When Debugging", you can set it to false and it won't launch a web server for that project. Unfortunately these settings are saved per user not in the global project settings or I would disable them by default.

Hope it helps,

Joe

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