1

When my ASP.Net MVC application encounters an error, the full file path of the c# class is displayed in the exception even though I've only deployed binaries. E.g.

at: C:\DevelopmentServer\MVC_Project\AccountManagement.cs line 45

Where is this path information being stored? Is it in the compiled dll and is there a way to remove it?

user1513030
  • 67
  • 1
  • 6

1 Answers1

0

I believe this is stored in the PDB files generated during the compile, and it reflects the paths to the code on the build machine.

neontapir
  • 4,698
  • 3
  • 37
  • 52