Use VS2019 to manage and read open source code practices
- Visual Studio creates an empty Win32 console program
- Download the redis source code and unzip it
- Copy the decompressed file to the solution path established earlier
- Enter the created project file, copy the file to the upper level directory, and then delete this file
- Delete the initially created project file, and then use Visual studio to open the sln file copied to the solution
- Click to show all files and delete the files that were automatically created when the project was first created
- Select the file you want to add, right-click and select the menu "include in project"
- Then select the "File" menu "Save All" menu item to save (shortcut Ctrl + Shift + S ).
- final effect