Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdb2pdb failing for cshtml files when targetting 6.0 #7388

Closed
2 tasks
MihaZupan opened this issue May 13, 2021 · 5 comments
Closed
2 tasks

pdb2pdb failing for cshtml files when targetting 6.0 #7388

MihaZupan opened this issue May 13, 2021 · 5 comments
Assignees

Comments

@MihaZupan
Copy link
Member

  • This issue is blocking
  • This issue is causing unreasonable pain

Hit in microsoft/reverse-proxy#972:
https://dev.azure.com/dnceng/public/_build/results?buildId=1136893&view=logs&j=0bc77094-9fcd-5c38-f6e4-27d2ae131589&t=e5c9247b-367b-556a-ffed-53eb5f68dbb5&l=343

When adding a 6.0 target to a project containing cshtml files, pdb2pdb is failing with the following error:

  PDB0021: Document name doesn't match any pattern in Source Link: 'd:\workspace\_work\1\s\samples\ReverseProxy.Auth.Sample\Views\Account\AccessDenied.cshtml'
  PDB0021: Document name doesn't match any pattern in Source Link: 'd:\workspace\_work\1\s\samples\ReverseProxy.Auth.Sample\Views\Account\LoggedOut.cshtml'
  PDB0021: Document name doesn't match any pattern in Source Link: 'd:\workspace\_work\1\s\samples\ReverseProxy.Auth.Sample\Views\Account\Login.cshtml'
D:\workspace\_work\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.21263.1\tools\SymStore.targets(70,5): error MSB3073: The command ""D:\workspace\_work\1\s\.packages\microsoft.diasymreader.pdb2pdb\1.1.0-beta2-19575-01\tools\Pdb2Pdb.exe" "D:\workspace\_work\1\s\artifacts\bin\ReverseProxy.Auth.Sample\Release\net6.0\ReverseProxy.Auth.Sample.dll" /out "D:\workspace\_work\1\s\artifacts\SymStore\Release\ReverseProxy.Auth.Sample\net6.0\ReverseProxy.Auth.Sample.pdb" /srcsvrvar SRC_INDEX=public" exited with code -1. [D:\workspace\_work\1\s\samples\ReverseProxy.Auth.Sample\ReverseProxy.Auth.Sample.csproj]

Using Arcade SDK 6.0.0-beta.21263.1 and .NET SDK 6.0.100-preview.5.21263.3 (latest build from installer repo)

Is there something else we should be configuring to avoid this/is this an issue with pdb2pdb?

@ilyas1974
Copy link
Contributor

[Async Triage]: Moving this to FR to answer the question posed.

@riarenas
Copy link
Member

@tmat is probably the right person to answer this. pdb2pdb is produced in the https://github.com/dotnet/symreader-converter repo.

@chcosta chcosta self-assigned this May 17, 2021
@chcosta
Copy link
Member

chcosta commented May 17, 2021

@MihaZupan , it looks like your PR turned green. Did you find a solution to this error?

In general, @tmat is best suited to answer this. You may consider filing an issue in https://github.com/dotnet/symreader-converter.

@MihaZupan
Copy link
Member Author

it looks like your PR turned green. Did you find a solution to this error?

I removed the 6.0 target on that specific project to get the build working.

I can file an issue on the symreader repo as well.

@chcosta
Copy link
Member

chcosta commented May 19, 2021

@MihaZupan , I'm going to close this issue. Please work with @tmat to resolve the problem you were seeing. If this becomes blocking or you don't get a resolution, please feel free to reopen this issue and we'll try to help drive resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants