I upgrade Visual Studio Solution (90+ C# Projects) from .NET Framework 4.72 to .NET 6.
What is the difference between *.tlb and *.pdb files. When upgrading to .NET 6, I of course have to provide debugging information in .NET 6. I do not know, whether to register *.tlb or *.pdb files.
Could anybody clarify the following please:
- Are *.tlb and *.pdb similar, except that .tlb are for COM Interop and *.pdb for regular .NET 6 applications? If they are different, what is the key difference?
- When generating *.comhost.dll for COM Interop, should I generate and register *.pdb or *.tlb to provide debugging information?
As far as I understand, *.pdb files contain symbol information and *.tld files contain type libraries. My understanding is that both are practically the same thing and both provide debugging information?
Main information sources: