Start debugging, as soon as you’ve arrived at a breakpoint or used Debug > Break All
, use Debug > Windows > Modules
. You’ll see a list of all the assemblies that are loaded into the process. Locate the one you want to get debug info for. Right-click it and select Symbol Load Information. You’ll get a dialog that lists all the directories where it looked for the .pdb file for the assembly. Verify that list against the actual .pdb location. Make sure it doesn’t find an old one.
In normal projects, the assembly and its .pdb file should always have been copied by the IDE into the same folder as your .exe, i.e. the bin\Debug folder of your project. Make sure you remove one from the GAC if you’ve been playing with it.
Related Posts:
- Error : Could not load file or assembly or one of it’s dependencies
- “Error while trying to run project: Unable to start program”. Can run program only once. Then VS needs restart
- How do I create a Shared Code project (.shproj)
- What is the purpose of the vshost.exe file?
- Visual Studio keeps crashing
- .Net 4.8 Support for Windows 10 ends in 26 days?
- What is a NullReferenceException, and how do I fix it?
- How do I get a random YouTube video with the YouTube API?
- An existing connection was forcibly closed by the remote host
- How can I convert String to Int?
- What is a NullReferenceException, and how do I fix it?
- I am getting Failed to load resource: net::ERR_BLOCKED_BY_CLIENT with Google chrome
- IOException: The process cannot access the file ‘file path’ because it is being used by another process
- No connection could be made because the target machine actively refused it?
- Could not load file or assembly or one of its dependencies
- What does a lock statement do under the hood?
- Could not load file or assembly or one of its dependencies
- Unity OnTriggerEnter2D not registering
- Priority queue in .Net
- What is the difference between int, Int16, Int32 and Int64?
- What is the purpose of nameof?
- How to open .dll files to see what is written inside?
- How to add a default Default.aspx to a ASP.NET Web Application Project?
- Windows .NET API / Windows 7 / Bluetooth communication with Intel Curie Arduino / Genuino 101
- Error 1053 the service did not respond to the start or control request in a timely fashion
- Visual Studio /**/ comment shortcut?
- System.web.mvc missing
- Nullable object must have a value?
- Access to the path is denied
- Extension methods must be defined in a non-generic static class
- Metadata file ‘.dll’ could not be found
- How to resolve this System.IO.FileNotFoundException
- What is clr.dll on .Net framework and what does it do?
- what is this oleaut32.dll?
- Associating enums with strings in C#
- How do I declare a DefaultValue attribute whose value is an array of strings?
- How to resolve this System.IO.FileNotFoundException
- Extension methods must be defined in a non-generic static class
- How can I get the application’s path in a .NET console application?
- Multiple file-extensions searchPattern for System.IO.Directory.GetFiles
- Could not establish trust relationship for SSL/TLS secure channel — SOAP
- Visual studio 2019 freezes when debugging
- Unable to read data from the transport connection : An existing connection was forcibly closed by the remote host
- Visual Studio: The Operation could not be completed. The parameter is incorrect
- The remote server returned an error: (407) Proxy Authentication Required
- Merge two (or more) lists into one, in C# .NET
- How to open a new form from another form
- C# – How to convert string to char?
- HTML.ActionLink method
- Deep cloning objects
- Regular expression “^[a-zA-Z]” or “[^a-zA-Z]”
- How to solve ‘…is a ‘type’, which is not valid in the given context’? (C#)
- .NET graph library around?
- “A project with an Output type of Class Library cannot be started directly”
- “A project with an Output type of Class Library cannot be started directly”
- An object reference is required to access a non-static member
- Task vs Thread differences
- Merging two arrays in .NET
- How to get relative path of a file in visual studio?
- String was not recognized as a valid DateTime ” format dd/MM/yyyy”
- XmlSerializer – There was an error reflecting type
- Substring index and length must refer to a location within the string
- Run Command Prompt Commands
- How to make a simple popup box in Visual C#?
- windows could not start service on local computer error 5 access is denied
- Receiving access denied error from Visual Studio when trying to change target framework
- How can I implement static methods on an interface?
- Catch multiple exceptions at once?
- How to delete a file after checking whether it exists
- c# Show Windows Form
- How do I exit a WPF application programmatically?
- How can we generate getters and setters in Visual Studio?
- .NET String.Format() to add commas in thousands place for a number
- C# Debug – cannot start debugging because the debug target is missing
- The name ‘ViewBag’ does not exist in the current context – Visual Studio 2015
- How can I delete a file that is in use by another process?
- What is a quick way to force CRLF in C# / .NET?
- How to enable assembly bind failure logging (Fusion) in .NET
- How to make inline functions in C#
- Create html documentation for C# code
- How to properly make a http web GET request
- Strip double quotes from a string in .NET
- How to create a new object instance from a Type
- The provider did not return a ProviderManifestToken string Entity Framework
- Unity 5.2.2 changing Visual Studio back to MonoDevelop
- Where can I read the Console output in Visual Studio 2015
- Using FolderBrowserDialog in WPF application
- Is there an equivalent to the C# “var” keyword in C++/CLI?
- When should I use a List vs a LinkedList
- What is a “first chance exception”?
- Go To Definition: “Cannot navigate to the symbol under the caret.”
- Unity Scripts edited in Visual studio don’t provide autocomplete
- Playing a MP3 file in a WinForm application
- .NET Core vs Mono
- Iif equivalent in C#
- LINQ query on a DataTable
- Best way to randomize an array with .NET
- Encrypt and decrypt a string in C#?
- Unrecognized escape sequence for path string containing backslashes
- How to enumerate an enum