This might be a silly question but i'm not too sure on how to do this so apologies. I have a asp.net core application that works and runs when I type in dotnet run in the terminal. I then browse to the url and it displays as expected. But how do I debug on mac visual studio? I have the environment variable added for development. But just expected the web server to open when I press the play button? Is there some a tutorial out there that could explain?
Active2 years, 1 month ago
All tutorials are for console apps but not for web projects? Fl studio for mac.
Im using visual studio for mac ? I've add the following code:
Remote Debugging.NET Core Linux Docker container with VSCode from Mac/Win. Ask Question. Debugging already running Docker Linux.net core container with visual studio 2017. Attach Docker container to process in.NET Core / Visual Studio on Mac. Getting started with.NET Core on macOS using Visual Studio for Mac. Visual Studio for Mac provides a full-featured Integrated Development Environment (IDE) for developing.NET Core applications. This topic walks you through building a simple console application using Visual Studio for Mac and.NET Core.
But this doesn't fire a browser off?
Is this not how its supposed to work?
Thanks
user2956121user2956121
1 Answer
user2956121user2956121
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Not the answer you're looking for? Browse other questions tagged asp.net-corevisual-studio-mac or ask your own question.
Microsoft and the .NET community have created a new version of .NET, .NET Core, which is designed to be cross-platform, modular, and optimized for the cloud.
If you want to debug on the target device itself, you can use Visual Studio Code by following these instructions. But it is also possible to stay in Visual Studio and still debug to Linux or OSX. For day-to-day development, especially if you intend to deploy to a Linux Docker container, Visual Studio 2017+ included tools for publishing and debugging to a Docker container. You can also remotely attach to a process over SSH.
In the future, more scenarios are likely to get a more 'on-road' experience from Visual Studio. But for now, for folks who want to play around with non-Docker scenarios launch, or non-SSH attach or just want to get under the hood and see how things work, this wiki page should walk you through how to get things to work in an offroad manner. Pay attention as this will be a bit bumpy.
The debugger platform has been expanded between Visual Studio 2017 15.3 and previous versions of Visual Studio. Visual Studio can now communicate using the debug adapter protocol which is used by Visual Studio, Visual Studio Code and Visual Studio for Mac. https://greatee763.weebly.com/cooking-dash-free-download-full-version-for-mac.html. This protocol is now used for debugging cross-platform .NET Core applications. The following instructions apply to Visual Studio 15.3 (and newer). If you are constrained to an older version of Visual Studio refer to the legacy instructions.
Your feedback
File bugs and feature requests here. Many issues are likely to be in common with Visual Studio Code, so please also look in the VS Code OmniSharp C# extension GitHub to see if the issue is already filed.
Machine setupVisual Studio Computer![]()
Install Visual Studio 2017 or newer and select the .NET Core workload. If you already have Visual Studio, you can do this from within the installer.
Linux Computer
The Linux system needs to have the .NET CLI tools,
dotnet , and a vsdbg debugger installed.
Copying
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |