Okay, I finally found why the sdk samples raised an unknown error after compilation on my setup. It somehow can't write to the debuglog when it's under (user)\AppData, copying the folder to a different location solved the problem.
Okay, I finally found why the sdk samples raised an unknown error after compilation on my setup. It somehow can't write to the debuglog when it's under (user)\AppData, copying the folder to a different location solved the problem.
The problem is in Onedrive or the fact I am using a beta of Windows 11 with OneDrive sync on, it seems OneDrive does lock the file for synchronisation without respecting other use. It works fine if it is in a folder that has no sync.