Reduce un-need post build file coping?

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.
8/2/2012 9:12:23 AM
Gravatar
Total Posts 76

Reduce un-need post build file coping?

 

I am finally getting a SSD in my workstation Cool, And I have been looking through the solutions to try and reduce the amount of un-needed file I/O.

i noticed that xcopy has a "/d" param that will only copy files that are newer than the source directory. xcopy params

I added this param to my UI solution that i copy into the mojoportal.web solution, and it really cuts down on the speed and the # of file actually copied around

Was wonder is what you guys think about adding the /d param?

I rarely/never make changes to this and other pages, but they copy on post build ever time

xcopy /s /y "$(ProjectDir)bin\mojoPortal.Features.Business.dll" "$(SolutionDir)Web\bin\"

to:

xcopy /s /y /d "$(ProjectDir)bin\mojoPortal.Features.Business.dll" "$(SolutionDir)Web\bin\"

 

 

 

8/2/2012 10:28:06 AM
Gravatar
Total Posts 18439

Re: Reduce un-need post build file coping?

Hi Warner,

This does seem like a very good suggestion to improve build speed. I will add that param in the post build events for our features.

Thanks,

Joe

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