Compiler slicer error MSB354

I have a compilation issue: Error MSB3541: The value for Files “D:\B2\Slicer-build\bin\Release\libcrypto-*-x64.dll” is invalid. Illegal characters in path. [D:\B2\Slicer-build\Base\QTCLI\qSlicerBaseQTCLI.vcxproj] Slicer C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 5612
There is no problem in debug compilation, but an error will be reported in release compilation