Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • j0w 31 posts 202 karma points
    Apr 19, 2019 @ 20:17

    build error using TC & uSync

    Hi guys,

    I'm trying to build from dev environment to stable environment. If I try to build without sendind the uSync folder that contains all my doctypes, build works just fine. But if I commit the uSync folder with all my 300 doctypes/datatypes etc, the build ends up with :

    [Step 4/4] Process exited with code 1
    [Step 4/4] Step Build and Web Deploy (MSBuild) failed

    There's is no other details to the error build so, I really don't know what to do.. If anyone ever had the same issue, i'd be glad to hear from it :)

  • Kevin Jump 1818 posts 11658 karma points MVP 4x c-trib
    Apr 20, 2019 @ 08:57
    Kevin Jump


    there isn't anything in the uSync folder other than the uSync XML files (with .config extension so they don't get served by the server) so they shouldn't on their own cause a build error.

    but depending on how you are deploying you might not have to include the uSync folder in the solution.

    The uSync NuGet package includes a .targets file (which is added to the solution) so that the uSync folder gets copied on deployment - irrespective of it being in the solution or not, this is how Umbraco also deploys the Umbraco and Umbraco_Client folders.

    If you have installed uSync via NuGet you don't have to do anything to configure this it is included in the project, and when your build server is creating the deployment package it should include the uSync folder as part of that.

    If you do have to include them in the project - check the build actions for the files - this may help in stopping the files being read by the compiler.

  • j0w 31 posts 202 karma points
    Apr 23, 2019 @ 13:28

    Well, that was it ! The folder was included in the solution and it caused the error... Thanks a lot for your time, @Kevin !

    But thing is, now when I build on staging server, the uSync folder is not copied ...

Please Sign in or register to post replies

Write your reply to: