Exclude App_Data folder from publishing #12487
-
Hey all, I made a lot of try's to exclude the App_Data folder from the publishing process. I can't find any solution how to exclude them. OrchardCode used this folder for the tenant management. If I have a lot of tenants on my webserver eg. azure, with the next publishing all data and the tenants.json file will be overwriten and this destroys my page. It would be greate, if someone have a good idea how to and the solution would be published in the documentation. Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Look at the .csproj publishing exclude rules. It is documented by Microsoft. |
Beta Was this translation helpful? Give feedback.
-
Just for info for another possible solution in OrchardCore, look at #4402. So in your case try to add the following property in your app project file
|
Beta Was this translation helpful? Give feedback.
@DavidStania
Just for info for another possible solution in OrchardCore, look at #4402.
So in your case try to add the following property in your app project file