Azure-Samples / azure-sql-library-app-blazor

Library app built with SQL Server and Data API builder as backend, and Blazor as frontend.
MIT License
1 stars 3 forks source link

Dotnet SDK path mismatch to VSCode suggested location #13

Closed seantleonard closed 6 days ago

seantleonard commented 6 days ago

https://github.com/Azure-Samples/azure-sql-library-app-blazor/blob/20dcf6858a7ccbba15dbed17769df754823052b1/.devcontainer/devcontainer.json#L27

VSCode suggests that the path be: /usr/share/dotnet and not include the sdk folder, since there doesn't seem to be a dotnet.exe in the sdk folder.

image

image

seantleonard commented 6 days ago

This affect building the Blazor project

croblesm commented 6 days ago

Thanks, this issue was fixed under commit: fb0b7530251e42da4a6455317bf8f1377fc1c31c

seantleonard commented 6 days ago

Hey @croblesm , this issue is opened up on the latest code you merged in this commit https://github.com/Azure-Samples/azure-sql-library-app-blazor/commit/20dcf6858a7ccbba15dbed17769df754823052b1.

The path doesn't align with suggestion by VSCode.

seantleonard commented 6 days ago

Can you reopen?

croblesm commented 6 days ago

Hi @seantleonard,

Could you please try building / publishing the Database project using this configuration? I'm using this path in multiple dev containers and the build/publish works just fine whether I do it from command line or the UI.

croblesm commented 6 days ago

Using command line Screenshot 2024-06-27 at 8 36 33 PM

croblesm commented 6 days ago

using UI Screenshot 2024-06-27 at 8 36 55 PM

Build Screenshot 2024-06-27 at 8 37 11 PM

Publish Screenshot 2024-06-27 at 8 37 56 PM