question

JorgeMerinoSantander-3172 avatar image
0 Votes"
JorgeMerinoSantander-3172 asked ·

Can't use Debugger invalid 'cwd' value {path to current project} The system cannot find the path specified.

I just installed Visual Studio because i wan to learn c# and .NET 5.0 so i created a full new project with the template of ASP .NET Core MVC but debugger won't start up and it sends a message.

invalid 'cwd' value {path to current project} The system cannot find the path specified.

It is a fresh install and a whole new project without touching any code.

i'm working on a MacBook Pro (15-inch, 2019) with macOS Big Sur v 11.2.2.

What have you tried to troubleshoot this?
I have tried to change the path location, reinstall Visual Studio, update any Framework, start the app in the terminal, create new projects but i always get the same errror.
When i run 'Start without debuging' it works.

Hope you can help me out of this. Thank you.
74605-screen-shot-2021-03-05-at-012644.png


74606-screen-shot-2021-03-05-at-012703.png


not-supported
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TianyuSun-MSFT avatar image
0 Votes"
TianyuSun-MSFT answered ·

Hi @JorgeMerinoSantander-3172 ,

Thank you for taking time to post this issue in Microsoft Q&A forum.

Since our forum(vs-general, vs-debugging) is about Visual Studio, and as you know, Visual Studio for Mac is different from Visual Studio, I suggest you post this issue in our Developer Community(Visual Studio for Mac).

BTW, from the error message, it seems the error is related to the Path, perhaps you can check these aspects: Did you change some paths while installing VS for Mac? If you try to use default path will this issue disappear? Did the path mentioned from the error message exist?

Best Regards,
Tianyu


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.