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

Publishing a Blazor Web Assmbly App results in 404s for pdb files #25614

Closed
georgekosmidis opened this issue Sep 4, 2020 · 5 comments
Closed
Labels
area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue.

Comments

@georgekosmidis
Copy link

While publishing a Blazor WebAssembly app to Azure:
bwasm

Source code: https://github.com/georgekosmidis/ImageToText
Azure DevOps: https://dev.azure.com/georgekosmidis/Blazor.ImageToText
Published to: https://i2t.azurewebsites.net/
(.NET Standard 2.1)

Possible relation with (or duplicate to) #18545

@javiercn javiercn added area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly labels Sep 4, 2020
@javiercn
Copy link
Member

javiercn commented Sep 7, 2020

@georgekosmidis thanks for contacting us.

Thanks for contacting us. Can you try this out with one of our 5.0 preview releases? (Preview8 or later)

@javiercn
Copy link
Member

javiercn commented Sep 7, 2020

We think this might be related to #21178

@javiercn javiercn added the Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. label Sep 7, 2020
@ghost
Copy link

ghost commented Sep 11, 2020

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

See our Issue Management Policies for more information.

@ghost ghost closed this as completed Sep 14, 2020
@georgekosmidis
Copy link
Author

Sorry for the delay, build and published with .NET 5-latest, same results...

@georgekosmidis
Copy link
Author

For anyone ending up in this issue, the solution was to configure the publishment for release:

  displayName: 'dotnet publish'
  inputs:
    command: 'publish'
    publishWebProjects: true
    arguments: '-c Release'

For more details, check the release-azure-pipelines.yml here: https://github.com/georgekosmidis/ImageToText

@ghost ghost locked as resolved and limited conversation to collaborators Oct 31, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue.
Projects
None yet
Development

No branches or pull requests

2 participants