More in this section

Forums / Developing with Sitefinity / How to set a custom build folder?

How to set a custom build folder?

2 posts, 0 answered
  1. Viktor
    Viktor avatar
    22 posts
    01 Nov 2011
    29 Nov 2011
    Link to this post

    Our infrastructure requires us to build project into \bin\output , rather than \bin.

    It appears that Sitefinity looks for assemblies in bin folder by default.

    Sitefinity support has suggested adding assemblyBinding configuration setting:
    <assemblyBinding  xmlns="urn:schemas-microsoft-com:asm.v1">
       <probing privatePath="bin;bin\output"/>

    Telerik assemblies still don't get picked up, but non-telerik assemblies are now being picked up, which is better!

    Did anybody manage to get Sitefinity to run from a custom build directory?

    Thank you,

  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    28 Aug 2017
    02 Dec 2011
    Link to this post
    Hello Viktor,

    Actually, a Sitefinity project will have its references set to point to the bin folder of the project. However, you can change these references to point to any folder(some client prefer to point their Sitefinity project references to the _EmptyProject folder of the corresponding version so when they rebuild the project, they do not lose the Telerik assemblies in the bin folder). In your specific scenario, you can configure the assemblies to be built in
    \bin\output and then adjust the project references to point to that folder, there should be no problem. If any issues persist, please do not hesitate to let us know, we'll be glad to help.

    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered