You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team,
I would like to say thanks, that this solution is really good and works perfectly till now.
However , I found one issue in code under DocXTemplateEngine.cs > Process > Process(string source, string destination, object data):
This function checks if destination file exists, if exists then delete it and then copy source file to destination...
so my question is why do we have to do that since, we need to update same file , no one will have another copy of same file and that is not practically good approach.
I just commented lines below, and I am able to update same file which is a source file:
Hi Team,
I would like to say thanks, that this solution is really good and works perfectly till now.
However , I found one issue in code under DocXTemplateEngine.cs > Process > Process(string source, string destination, object data):
This function checks if destination file exists, if exists then delete it and then copy source file to destination...
so my question is why do we have to do that since, we need to update same file , no one will have another copy of same file and that is not practically good approach.
I just commented lines below, and I am able to update same file which is a source file:
//if (File.Exists(destination))
File.Delete(destination);
//File.Copy(source, destination);
The text was updated successfully, but these errors were encountered: