1.enter duilib source code folder, eg: D:\duilib\include\DuiLib
2.copy D:\duilib\include\DuiLib\DuiLib_Static.vcxproj to D:\duilib\include\DuiLib\DuiLib_Static.vcxproj.filters
3.double click DuiLib_Static.vcxproj using Visual Studio 2022
4.setting project
5.click Build menu
6.success generated duilib.lib file.