-
Ahin Guha
- PowerServer
- Monday, 3 August 2026 01:55 PM UTC
Hi All,
Kindly help with a clarification on using custom C# code in PowerServer 2022 R3 project which I am building using pbautobuild.
I need to have modifications in 3 files under UserExtensions folder - UserExtensions.csproj, UserStartup.cs and UserConfig.json
Deployment type configured in build json is External+Folder with "DeleteAllExistingFilesInTheZipBeforePackaging": false.
I create a UserExtensions folder beforehand at Web API solution location and manually pasted my 3 customized files under it.
Then I run pbautobuild. But soon I find my 3 custom files being overwritten by the build process and the web api that generates doesn't have my custom logic anymore.
Could anyone please help me understand if my understanding is incorrect, that files in UserExtension shall be preserved as explained in https://docs.appeon.com/ps2022r3/PowerServer_solution.html
I am running the autobuild on my local right now to understand these concepts, so that eventually same can be implemented in our Azure build pipeline.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.