Microsoft Visual Studio Code For Mac Won't Start

Nov 01, 2017  As in Visual Studio 2015 and 2017 on Windows, Roslyn powers the code editor in Visual Studio for Mac, providing an enhanced coding experience with syntax colorization, IntelliSense, live code issue detection, fixes and refactorings. What i do to make it work again was right click over the solution, into the visual studio 'Solution Explorer' tree tab in the right, where all the files of your project appear, and select properties. Then, select there a project, and put it as start project. How to sign in to Visual Studio When you start Visual studio for the first time, you're asked to sign in and provide some basic registration information. You should choose a Microsoft account or a work or school account that best represents you.

Develop apps and games for iOS, Android,
and web using .NET

Code in C#, F#, Razor, HTML5, CSS, JavaScript, TypeScript, XAML, and XML

With the power of Roslyn, Visual Studio for Mac brings IntelliSense to your fingertips. IntelliSense describes APIs as you type and uses auto-completion to increase the speed and accuracy of how you write code.

Quick Info tool tips let you inspect API definitions, squiggly lines in the editor highlight issues, in real time as you type.

Use the Visual Studio debugger to quickly find and fix bugs across languages.

The Visual Studio for Mac debugger lets you step inside your code by setting Breakpoints, Step Over statements, Step Into and Out of functions, and inspect the current state of the code stack through powerful visualizations.

As your project grows, chances are, you’ll find yourself restructuring and refactoring code that you or someone else wrote earlier. That’s a whole lot easier when Visual Studio for Mac takes care of the heavy lifting for you.

The Visual Studio for Mac editor supports powerful built-in refactoring options such as Extract Method and Rename, accessible via the Quick Actions menu.

Manage your code in Git or SVN repos hosted by any provider, including GitHub and Azure DevOps. Review diffs, stage files, and make commits from inside Visual Studio for Mac.

Enhance your code quality and create a solid code base with comprehensive testing tools. The integrated test runner supports major testing frameworks such as xUnit, NUnit, and MSTest, allowing you to efficiently run and debug unit tests and automated UI tests.

Choose the development environment that is right for you. With Visual Studio on both macOS and Windows, you can share your C# and F# projects seamlessly with your team using either OS.

Compare Visual Studio for Mac and PC
FEATURESVisual Studio 2019 for MacVisual Studio 2019
Web and cloud development using C#
ASP.NET Core and .NET Core
Publish to Azure
Azure Functions
Azure Connected Services
Docker container tools
Desktop development
WPF and Windows Forms
UWP
Mac Apps using Xamarin and C#
Console apps with C#
Desktop apps using C++
Mobile and gaming
Mobile development with .NET using Xamarin and C#
Game development using Unity and C#
Mobile and game development using C++
Other workloads and tools
Java
Python
SQL Server data tools
Node.js
Unit testing
Version control with Git

Create cross-platform apps targeting Android and iOS using Xamarin

Build, manage, and deploy cloud apps that scale to Azure

Create and debug cross platform games and 3D real time applications with Unity

Customers using Xamarin with Visual Studio for Mac

Launch a professional environment tailored to the Mac, free for most non-enterprise users

Active1 month ago

I used to be able to build and run my console applications by hitting Ctrl + F5 in visual studio. This no longer works. I looked everywhere. Does anyone know how to re-enable this command?

Jasper
2,0093 gold badges28 silver badges44 bronze badges
Eric

10 Answers

Might be a ridiculous suggestion but does your keyboard have some kind of 'F Lock' key? Happened to me after I got a new keyboard and accidentally hit it. Didn't even know it was there :)

ralphtheninjaralphtheninja
86.2k19 gold badges92 silver badges112 bronze badges

Before you trash all your settings, consider just resetting the Keyboard preferences:

In Tools / Options / Environment / Keyboard there's a drop-down for your Keyboard scheme and next to it a Reset button. Make sure the mapping scheme is set to whatever you want then hit the Reset button.

stuartdstuartd
54.1k12 gold badges106 silver badges133 bronze badges

I have had a similar problem where some of my shortcuts (such as the Alt+Shift+F10 intellisense shortcut) stopped working...

I fixed it by going to Tools -> Import and Export Settings -> Reset all settings.

I was able to reimport my saved settings after I had reset them also but only with out the broken short cuts!

Hope this helps!

user110714

I had a similar question, and reading this thread led me to an answer which is similar to the f-Lock key answer. I'm using a new laptop, and re-introducing myself to programming. When the book said press Ctrl-F5 I did so and the only thing that happened was that my monitor got slightly dimmer, though it returned to normal brightness as soon as I clicked on a few other things. What I noticed after reading this thread is that this new-fangled keyboard has a blue Fn key, and all the function key names are printed in blue. In other words, to get the function key functionality you have to be holding down the blue Fn key when you tap the actual function key. So F5 becomes Fn-F5 and Ctrl-F5 becomes Ctrl-Fn-F5. This is on a Dell Inspiron 1564. This is not quite as egregious as a F-Lock key, so I hope I'll get used to it soon.

LarryLarry

I fixed this by pressing Fn + F5, this is right next to the Windows Button.

hyeomansMicrosoft

Download Visual Studio Code For Windows

hyeomans
3,7925 gold badges19 silver badges26 bronze badges

One day it happened to me when I made some changes to the project and solution files in my ASP .NET project. When I opened it in Visual Studio, it allowed me to rebuild but not to run nor debug (the menu option didn't appear and the Ctrl + F5 didn't work).

What I did to make it work again was right-click over the solution, into the Visual Studio 'Solution Explorer' tree tab in the right, where all the files of your project appear, and select properties.

Then, select there a project, and put it as start project.

Perhaps this is your problem here. If not, I hope it can help someone in the future.

JYelton
26.6k20 gold badges108 silver badges178 bronze badges
tomasofen

Chances are you changed your default settings. Go to Tools->Import and Export Settings... Select 'Reset all', Click 'Next' and choose the 'Visual C# Development Settings' option.

Matthew VinesMatthew Vines
22.2k7 gold badges69 silver badges92 bronze badges

It happend to me something similar, but only with one project, and the others running right with CTRL + F5, so i will post here my problem and solution because it could help people searching for the same problem, as i was :)

I was opening in Visual Studio 2012 a solution created with Visual Studio 2013, and it didn't run with CTRL + F5. I open the solution file with notepad, and i change the following section:

with this other:

That solves the problem for me.

tomasofentomasofen

Microsoft Visual Studio Code For Mac Won Start From Command Line

Won
8401 gold badge9 silver badges15 bronze badges

This keyboard shortcut is set by default in os x, you need to disable it to use ctrl+F5. Have a look at http://www.daniellewis.me.uk/2015/07/01/ctrl-f5-not-working-in-a-windows-vm-running-on-parallels/ to fix. I can run without debugging now in my VM.

Bruce AtkinsonBruce Atkinson

I had a similar problem with Alt+F7 (Find Usages in Resharper). Turns out the GeForce Experience was taking the shortcut for it's Sharing functionality. Uninstalled GE and all is good.

Phil HaseldenPhil Haselden
2,1313 gold badges23 silver badges23 bronze badges

Microsoft Visual Studio Code For Mac Won Starting

protected by Tim PostFeb 23 '11 at 16:19

Visual Studio Code For Typescript

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?