Good day to all. In the program for laboratory work there is a set of already prepared labs with the necessary data entered there. Files lab themselves are in ProgramName.Properties.Resources. Extracted to a temporary folder, when the program is closed, deleted. But over time, it may well be necessary to change any data, or to add a new lab. In this regard, the question is - is it possible to somehow add a new one, or at least overwrite the old file in the program resources? The ability to create a file through BinaryWriter is already there, I am interested in the methods of picking exactly the program resources without subsequent recompilation. Thanks in advance for your reply.

  • You are doing something wrong. Resources are not intended to be edited manually, without recompiling. (Although this is possible if you suffer.) If you need to edit the data, put them simply in a separate file, and there edit for health (or just replace this file with another one). - VladD
  • I do not see the point in this, since there are much more efficient and elegant ways to solve this issue. And so maybe this article will help you: Creating auxiliary assemblies - Alex Krass

0