aspnet / Security

[Archived] Middleware for security and authorization of web apps. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
1.27k stars 600 forks source link

sourceLink doesn't work for Microsoft.AspNetCore.Authorization.dll #1872

Closed yucelakpinar closed 5 years ago

yucelakpinar commented 5 years ago

Hello, I'm trying to debug the code of Microsoft.AspNetCore.Authentication.AuthenticationMiddleware class with using the sourceLink feature, visual studio successfully download the .pdb of the .dll from Microsoft Symbol Server but on debug session I'm getting following error:

Source information is missing from the debug information for this module

package that I used in my project Microsoft.AspNetCore.Authentication 2.1.1(via Microsoft.AspNetCore.App 2.1.1)

Enviroment: Visual Studio 2017 v15.7.1 Debugging: "Enable Just My Code" unchecked Debugging: "Enable Source Link support" checked Debugging>Symbols: "Microsoft Symbol Servers" is selected

Thanks

blowdart commented 5 years ago

@natemcmaster is sourcelink configured for any asp.net core build?

natemcmaster commented 5 years ago

Yes.

blowdart commented 5 years ago

Can you check it's working for the package mentioned?

yucelakpinar commented 5 years ago

Its now working, I don't why it wasn't work before.

natemcmaster commented 5 years ago

Symbols servers are one of the great unexplained mysteries of the universe. Glad it's working for you now.