"File cannot be found" on compiling (Arduino 1.8.0 and 1.8.5)

Hello,

i have a bug on IDE 1.8.0 and 1.8.5

I use the newest Windows 10 Version with all updates. (Build Number [10.0.16299.125])

I copy the Sketchbook folder (includes the library folder) into the onedrive folder and set the onedrive option: "all data are local available" (Onedrive_settings.png)

Then i change the sketchbookfolder under preferences.

Now i restart the arduino ide and open an example from a librarie. -> all looks good.

When i try to compile, the IDE cannot find the *.ino files.

When i open the path (with cannot be find from the IDE) on a cmd console the path and the file are existing.

Can someone reproduce the problem ?

Best regards,
Jomelo

Here's the bug report, with information on the upcoming fix:

Here's the workaround:
http://forum.arduino.cc/index.php?topic=509222.msg3485724#msg3485724

Thanks for the fast answer.