Hello,
I updated Visual Studio to version 16.9.4 and any generated project with Projucer(6.0.8), when I built in VS I got this error message:
I have tried deleting the Build folder, cleaning the project, deleting VS and reinstalling it, but I kept getting the same error message.
Finally, I downgraded the VS to the 16.9.3 and everything works fine again.
I leave this here to report it and to inform the JUCE team.
1 Like
ed95
April 14, 2021, 11:38am
2
It looks like this is a Visual Studio bug with copying the .pdb file for static library targets -
Visual Studio Feedback
That thread indicates that this has been fixed in the VS2019 Preview build and should be fixed in an upcoming update.
ed95
April 14, 2021, 1:05pm
3
I can confirm that the latest Visual Studio 2019 Preview (16.10.0 Preview 1.0) fixes the issue.
Is there a simple way to access this preview build or to revert to the .3 version?
I can also no longer build plugins after installing this .4 version.
ed95
April 14, 2021, 1:32pm
5
Visual Studio Preview is available from Visual Studio Preview and you should be able to get older versions from this page - Visual Studio 2019 build numbers and release dates | Microsoft Docs
Yup. Had to uninstall and get the older version. Lovely.
Note to self; Do not update any Microsoft products unless you absolutely have to lol
Unfortunately, I can confirm that Visual Studio 2019 Community 16.10.0 Preview 2.0 seems to prang it again. I had to uninstall and revert to 16.9.3.
you can comment out line 1480-1482 in Microsoft.CppCommon.targets file, as a temporary workaround.
C:\Program Files (x86)\Microsoft Visual Studio\2019\ \MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets
1 Like
I think it’s the other way around -this fix, which applies to 16.9.4 and 16.10 preview 2, may have caused this other issue.
ed95
April 19, 2021, 8:31am
12
We’ve pushed a workaround for this to develop
in case this isn’t fixed for a while in Visual Studio:
committed 04:52PM - 17 Apr 21 UTC
When building a static library, VS2019 replaces the generated link pdb file with the one created during compilation due to a...
4 Likes