Brief description of the function of the file generated by VB.NET

  Creating a new project will generate many files. We have created a Form1 form. Here we use it as an example of the role of each file.

  • .vs folder:

  The .vs directory is used to store the current user’s work configuration in the solution, including the last window layout before VS is closed, the last opened tab/operation record/file document, some custom configuration/development environment, debugging break Click and wait for such setting information and status. In this way, whenever the user closes the solution and then reopens it, the previous working state can be continued. The .vs directory itself is temporary, even if it is deleted, it will not affect the startup and operation of the solution at all. Anyway, the vs will be automatically regenerated, but the previous work configuration and records are gone, which is equivalent to opening the project for the first time .

  There is currently only one vs16 folder under this folder. Note that 16 is the version number of Visual Studio 2019. There is also a .suo file in v16.

  .suo is mainly used by Visual Studio to save/record the following information or status files:

1. Debug breakpoints and trace points inserted by the user in the code, including their disabled/enabled state
2. Added bookmarks
3. Initial/default startup items set
4. List of open tabs, those unclosed documents And the tab position and arrangement order will be recorded.
5. Project uninstall status

  • bin folder: The files generated during debugging and production are saved in the Debug and Release subfolders of this folder.
  • My Project folder: My project folder, the function has not been found, kind friends can tell me in the comment area.
  • obj folder: The obj directory is used for intermediate object files and other transient data files generated by the compiler or compilation system during the compilation process.
  • ApplicationEvents.vb: can be opened with txt, which stores the content of application events.
  • Form1.Designer.vb: form design interface file, save form and control information.
  • Form1.resx: form resource file, a binary file that stores some properties on the form, such as the image property of the image control.
  • Form1.vb: form code file, save the code.
  • WinFormsApp1.sln: Solution definition file, it organizes all elements of one or more projects into a single solution.
  • WinFormsApp1.vbproj: Project file, which stores information about a project, such as forms, class references, etc. Each project has a separate .vcproj file.

Guess you like

Origin blog.csdn.net/CharmaineXia/article/details/113971885