1

I have two projects (C# .NET Framework):

  • A library
  • A console client that references the library

I have the dll + pdb for both projects, so without strong names, I can debug both projects. However, when I use StrongNamer to add strong names, I cannot debug the library. When I check the Debug Modules, it says "Binary was not built with debug information."

How can I debug this assembly while using StrongNamer?

srk
  • 1,625
  • 1
  • 10
  • 26
  • could you provide some code about strongNamer? – Jack J Jun Apr 06 '21 at 07:17
  • @JackJJun-MSFT, what code do you want to see? I don't think it has anything to do with the code I've written. "Strong Namer will automatically add strong names to referenced assemblies which do not already have a strong name." ([source](https://www.nuget.org/packages/StrongNamer/)) – srk Apr 06 '21 at 12:43
  • based on my research, you can refer to the second answer in the link [Binary was not built with debug information](https://stackoverflow.com/a/30364807/11507778). – Jack J Jun Apr 07 '21 at 06:25
  • @JackJJun-MSFT thanks, but that doesn't help. The binary is built with debug information. As I said, I can debug the library fine - just not once I add a reference to StrongNamer. – srk Apr 08 '21 at 13:10

0 Answers0