Copied to clipboard

Flag this post as spam?

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


  • Ask 13 posts 83 karma points
    Nov 08, 2023 @ 08:57
    Ask
    0

    Clientdependency config version being changed in build pipeline?

    Hi, I have an umbraco 7.15.6 installation running

    I have created a very simple azure build pipeline that looks like this:

    trigger:
    - release/*
    
    pool:
       name: ApplicationsTest
    
    variables:
      solution: '**/*.sln'
      buildPlatform: 'Any CPU'
      buildConfiguration: 'Release'
    
    
    steps:
    - task: NuGetCommand@2
      inputs:
        restoreSolution: '$(solution)'
    - task: MSBuild@1
      inputs:
        solution: '$(solution)'
        msbuildArguments: '/p:DeployOnBuild=true /p:WebPublishMethod=FileSystem /p:SkipInvalidConfigurations=true /p:TransformWebConfigEnabled=true  /p:platform="Any CPU" /p:configuration="Staging" /p:outdir="$(build.artifactStagingDirectory)" /p:AutoParameterizationWebConfigConnectionStrings=false'
        platform: '$(buildPlatform)'
        configuration: '$(buildConfiguration)'
    
    
    - task: PublishBuildArtifacts@1
      inputs:
        PathtoPublish: '$(Build.ArtifactStagingDirectory)/_PublishedWebsites/WebSite'
        ArtifactName: 'drop'
        publishLocation: 'Container'   
    

    When I publish my solution locally, everything works nicely, but when I deploy it to my test-server using this build pipeline, all of the sudden, the "users" pane in backoffice won't load.

    I figured out that in the file "clientdependency.config", there was this line:

    <clientDependency version="581052036" 
    

    When I publish locally, the generated package has the same line.

    But when I build with my azure pipeline, this i changed to:

    <clientDependency version="710481262" 
    

    And this is what is breaking my backoffice.

    So I wanted to ask, why is this version changed? and can I stop it?

    EDIT:

    Also, this is not a case of a .config transform going on. No where in my repository do I have "710481262" listed

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies