Editing custom feature problem

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.
4/24/2011 12:18:15 PM
Gravatar
Total Posts 3

Editing custom feature problem

Hi every one...

I am adding my new feature in another project ant it works fine,but the problem is when I try to make a slight change in my source code it will take effect after several rebuildings and debugs ,it works based on the code before get  changed,please help me, it takes me so much time to compile my code for a little change.

4/24/2011 1:48:59 PM
Gravatar
Total Posts 18439

Re: Editing custom feature problem

Hi,

You will need to rebuild your custom project after every change (even changes in .aspx or .ascx files) because it is the post build event which must copy your files up to run in the context of mojoPortal.Web project.

However, you can work much faster by not using the debugger. The debugger really slows things down but you only need to use the debugger when you actually want to step through the code as it executes. Usually I only do that when there is something not working right and I'm trying to find out exactly what is happening.

Instead of launching the debugger, assuming that you have rebuilt the entire solution at least once, you can just right click the Default.aspx file in the root of mojoPortal.Web project in Solution Explorer and choose "View In Browser", it will launch the VS Web server without loading the debugger and it will work much faster. Then when you make a change in your project, you still have to rebuild your project (not the whole solution), and then just refresh the page in the browser.

Any time something doesn't work as expected you can then use the debugger and step through the code to see what is happening.

Hope that helps,

Joe

4/25/2011 3:03:44 PM
Gravatar
Total Posts 3

Re: Editing custom feature problem

Thanks for your prompt reply.

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