Answer the question
In order to leave comments, you need to log in
How to update text in a file?
The application executes the task by logging the state of the task to a file at regular intervals.
The file is written via File.WriteAllText
The problem is that when the application stops, the file is deleted, and a new one is not created in its place. Is there any easy alternative to do the same without this bug?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question