Environment
- Windows 11
- CMake 4.3.3
- Visual Studio 18.6.2 (tested also with 18.6.0)
Steps to reproduce
The following steps are based on the "Link with source" path for the "Setting up a project" documentation page
- Clone B3DFramework into C:\Development with "git clone https://github.com/GameFoundry/bsf.git"
- Create C:\Development\MyProject folder where the application project code will be placed
- Create C:\Development\MyProject\CMakeLists.txt and copy-paste the content from the documentation page
- Change line 8 of the CMakeLists.txt from "C:/bsf" to "C:/Development/bsf"
- Create C:\Development\MyProject\Main.cpp file and copy-paste the content from the documentation page
- Open CMake GUI
- Set "Where is the source code" to "C:/Development/MyProject"
- Set "Where to build the binaries" to "C:/Development/MyProject/Build"
- Click "Configure" and then "Generate"
- Open the Visual Studio solution
- Set "myApp" as default startup project
- Compile and run with debugger attached
Result
Inside RenderDocFrameCapture::LoadRenderDocAPI(), mRenderDocLibrary should be initialized with the loaded DLL. However, its internal mHandle is NULL:

As a result, the application crashes when it reaches B3D_ENSURE(fnGetAPI), because fnGetAPI is NULL.
If, instead, I manually copy the renderdoc.dll from "C:\Development\bsf\Dependencies\RenderDoc\bin" to "C:\Development\MyProject\Build\bin\x64\Debug", then the mHandle is correctly initialized:

Also, according to the documentation:
Unlike with Link with binaries approach you do not need to do any file copying, until you are ready to send the application to your users. After the build the application is ready to run.
So to my understanding, renderdoc.dll should be automatically placed inside "C:\Development\MyProject\Build\bin\x64\Debug" among with other DLLs, but it is not.
Environment
Steps to reproduce
The following steps are based on the "Link with source" path for the "Setting up a project" documentation page
Result
Inside RenderDocFrameCapture::LoadRenderDocAPI(), mRenderDocLibrary should be initialized with the loaded DLL. However, its internal mHandle is NULL:

As a result, the application crashes when it reaches
B3D_ENSURE(fnGetAPI), because fnGetAPI is NULL.If, instead, I manually copy the renderdoc.dll from "C:\Development\bsf\Dependencies\RenderDoc\bin" to "C:\Development\MyProject\Build\bin\x64\Debug", then the mHandle is correctly initialized:

Also, according to the documentation:
Unlike with Link with binaries approach you do not need to do any file copying, until you are ready to send the application to your users. After the build the application is ready to run.So to my understanding, renderdoc.dll should be automatically placed inside "C:\Development\MyProject\Build\bin\x64\Debug" among with other DLLs, but it is not.