When I build my Windows UWP app with Couchbase.Lite I get a build error. The Visual Studio build tools attempt to convert every PDB (incl. Couchbase.Lite.pdb) through mspdbcmf.exe. mspdbcmf.exe has no problem with any other PDB, but it crashes when processing Couchbase.Lite.pdb.
You can reproduce with VS 2019 or 2017 (I use 2019) with this commandline:
“C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\x86\mspdbcmf.exe” /check C:\Users\xxxxxx.nuget\packages\couchbase.lite.enterprise\2.5.0\lib\netstandard2.0\Couchbase.Lite.pdb
You’ll get this error:
C:\Users\xxxxxxxx.nuget\packages\couchbase.lite.enterprise\2.5.0\lib\netstandard2.0\Couchbase.Lite.pdb : fatal error CMF1106: failed to open input PDB file for reading (PDB error code = 13)3 input PDB file is not generated by /DEBUG:fastlinkW must read and agree to the Data Collection Policy at MSPDBCMF : fatal error CMF1000: internal error
Any ideas ?
It feels like it could be a bug in Microsoft’s mspdbcmf.exe tool. What do you think ?