microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
192 stars 6 forks source link

[BUG] Cannot Run Debug on Ubuntu 22.04 #1073

Closed aprilesalvatore closed 2 weeks ago

aprilesalvatore commented 3 weeks ago

Describe the Issue

I installed dotnet 8 sdk and vscode with c# Dev Kit on Ubuntu 22.04. The project compile and run correctly but the debug cannot attach because it not found a .net Runtime.

attached img:

image

Steps To Reproduce

No response

Expected Behavior

No response

Environment Information

No response

aprilesalvatore commented 3 weeks ago

this is my dotnet config

image

and the output console:

image

WardenGnaw commented 3 weeks ago

Could you share how you are starting the debug session? Are you right clicking the solution explorer and using Debug -> Start Debugging? Are you using F5 and using the C# Debugger?

aprilesalvatore commented 3 weeks ago

In both way. At the end i formatted my pc and reinstall ubunto. The debug run successfully. Probably there are some softwares that s conflicted with it

Aprile Salvatore Cloud Azure Solution Architect Microsoft Certified: Azure Solutions Architect Expert Microsoft Certified: Azure Security Engineer Associate

Microsoft Certified: Azure Iot Developer Specialty Microsoft Certified: Azure AI Engineer Associate Microsoft Certified: Azure AI Fundamentals Microsoft Certified: Azure Data Fundamentals MCPD .Net Framework 4.0 Azure MCPD .Net Framework 4.0 Web Application MCTS .Net Framework 4.0 Web Application MCTS .Net Framework 4.0 Data Access MCTS .Net Framework 4.0 WCF Linkedin: http://it.linkedin.com/pub/salvatore-aprile/b/98/b Twitter: @SalvoAprile Cell: +39 3335852949

Il giorno ven 19 apr 2024 alle 23:52 Andrew Wang @.***> ha scritto:

Could you share how you are starting the debug session? Are you right clicking the solution explorer and using Debug -> Start Debugging? Are you using F5 and using the C# Debugger?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-dotnettools/issues/1073#issuecomment-2067325671, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHVCM7IICTGDNC2QBLKU63Y6GG3BAVCNFSM6AAAAABGPN3Y2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGMZDKNRXGE . You are receiving this because you authored the thread.Message ID: @.***>

WardenGnaw commented 2 weeks ago

Closing the issue as it seems you have resolved the issue. Feel free to re-open if you encounter this again.