TFS Build Workflow Change Folder/File Attributes From Read-Only to Read/Write?

后端 未结 2 1276
清酒与你
清酒与你 2021-01-24 22:39

In one of our web applications, it is required that some HTML pages be editable in a GUI interface we created for the user. Unfortunately, the interface directly reads/writes f

2条回答
  •  礼貌的吻别
    2021-01-24 23:15

    How about adding a custom code activity that runs post-deploy to update the attributes of the files to not FileAttributes.Normal? This activity should probably run on the controller at the end of the build.

    You might want to check out Ewald Hofman's series of build customization. Your build service account will likely have the correct permissions to update the deployed file attributes.

    Hope this helps.

提交回复
热议问题