+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Sitefinity very slow to build

Sitefinity very slow to build

3 posts, 0 answered
  1. Cristian Apavaloaiei
    Cristian Apavaloaiei avatar
    20 posts
    Registered:
    29 Aug 2008
    21 Dec 2010
    Link to this post
    Hello,

    This has been bothering me for a while now, and i've tried a lot of solutions to solve this and haven't managed to solve this yet. Sitefinity takes about 5 minutes or more to build, most of the time being spent on the App_LocalResources folders. Note that i don't even need the App_LocalResources folders, as i'm not modifying their contents in any way. This means that if i do a modification on a dependent assembly, it takes more than 5 minutes to just enter debug mode.
    What can i do to cut down the compile time for my site? Note that i'm using Sitefinity 3.7 SP4 on .NET 4.0 with Visual Studio 2010.

    Thank you
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    21 Dec 2010
    Link to this post
    Hi Cristian,

    The compilation is controlled by Visual Studio and it depends on whether you have custom class libraries. If you do not use the local resources, you can remove them. You can build some custom class libraries( projects) as a part of the solution to speed the build process.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Cristian Apavaloaiei
    Cristian Apavaloaiei avatar
    20 posts
    Registered:
    29 Aug 2008
    21 Dec 2010
    Link to this post
    Thank you for the quick answers :)
    Can you explain how i can remove the local resources? I'm guessing i can't just delete the folders.

    LATER EDIT: I think this should suit my needs
    http://stackoverflow.com/questions/2109686/how-to-remove-app-localresources-from-build-process
    The only problem here would be how would i be able to keep the older compiled resource files.
Register for webinar
3 posts, 0 answered