Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Help, how to stop RADTool from overwriting certain files #8781


User avatar
0
rfrcarvalho created

I'm creating new templates as per https://docs.aspnetzero.com/en/common/latest/Development-Guide-Rad-Tool#how-to-edit-pre-defined-templates-or-create-a-new-template but I would like to add a condition to check if the file already exists and in that case don't overwrite it. Basically the idea is that my classes are now Partial and I want to create the Extender classes automatically as Empty. If they already exist I don't want to create them again as they might have code that I need to keep

Is this possible? I see that in the TemplateInfo.txt i have a condition field which is empty.

Can I add something there to check this?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @rfrcarvalho,

    Unfortunately it is not possible.