VB2019 sudden error: Copy task does not support copying directories

Hello, in VB2019, I suddenly get a compile error on projects that until earlier today built without issues. VB complains about a copy command. Has anybody seen this and is there a solution? I am on 6.0.5 BTW.

Severity Code Description Project File Line Suppression State
Error MSB3025 The source file x64\Debug\Shared Code\ is actually a directory. The Copy task does not support copying directories. Topiary Beatz_SharedCode C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 1480

Tx for any reactions!


This has been reported/discussed several times on the forum:

1 Like

Thx. No idea why it hit me now, I didn’t update anything.