Visual Studio For Mac Command Line

Hello everybody, I just played something with Visual Studio for Mac and could create a first console application. But we could run it with command line (dotnet command) in windows. Please refer to the following step: 1). Open the command line for VS2015: 2). Type dotnet yourconsole.dll, please refer to the following screenshot.

  • Did you know you can report issues with Visual Studio 2017 or Visual Studio for Mac directly within the IDE? Just use Help > Report a Problem to file your issue. Bugzilla – Bug 34902 Unable to remote build iOS app from Visual Studio command line Last modified: 2015-11-26 10:39:52 UTC.
  • Managing Git from your IDE is much more easier than the command line. The Git panel allows you to stage, commit, stash, and undo changes. GitLens extension for VS Code offers you much more.
  • Visual Studio 2017 Mac: Command line arguments. Ask Question. Up vote 2 down vote favorite. 1st time using/playing with VS 2017 for Mac. Where do I enter command line arguments that will be saved for use with each run? Visual Studio on Mac - What to install?
  • To use the command-line test utility Open a Visual Studio command prompt. To do this, choose Start, point to All Programs, point to Microsoft Visual Studio 2012, point to Visual Studio Tools, and then choose Developer Command Prompt.
  • Compiling and building in Visual Studio for Mac.; 2 minutes to read Contributors. All; In this article. Visual Studio for Mac can be used to build applications and create assemblies during the development of your project.
  • To download the NuGet packages from the command line you can use NuGet.exe. You can restore the packages using a command similar to the following if you are running on the Mac.
Active10 months ago

I just downloaded a VSIX file from the Visual Studio Gallery.

How do I install it in Visual Studio?

slhck
171k49 gold badges476 silver badges492 bronze badges
KdgDevKdgDev
2,46316 gold badges44 silver badges66 bronze badges

8 Answers

VSIX is a Visual Studio extension installer. You must have Visual Studio 2010 or newer in order to install them, but you should be able to install it by double-clicking the .vsix file. Alternatively you should be able to install it from within the VS Extension Manager (Tools->Extension Manger)

Studio

See more about VSIX files at Quan To's Visual Studio Extensibility blog

heavydheavyd
52.6k13 gold badges126 silver badges158 bronze badges

The above answers didn't help me; I couldn't install it through the extension manager and there was not default application for .vsix. However, I needed to open it (right click >Open with...) with Microsoft Visual Studio Version Selector and it worked.

Small update:For VS 2013, you need the corresponding version of NuGet: http://visualstudiogallery.msdn.microsoft.com/4ec1526c-4a8c-4a84-b702-b21a8f5293ca.Otherwise, the version selecter will tell you it's already installed on all fitting versions.

Cedric ReichenbachCedric Reichenbach

To summarise, there are three options:

  1. Install via Extension Manager (Tools/Options)
  2. Install via Visual Studio Gallery.com (download and open directly or save then double-click)
  3. Install via 'xcopy' into %localappdata%MicrosoftVisualStudio10.0Extensions
jnm2Visual Studio For Mac Command Line
1791 gold badge4 silver badges19 bronze badges
Benjol

Visual Studio For Mac Os X

Benjol
1,2281 gold badge19 silver badges35 bronze badges

If all the above options fail, try installing it from the command-line.Here's how (on StackOverflow):

VSIXInstaller.exe /quiet some_extension.vsix

You can find VSIXInstaller here (on your local PC - depending on the Visual Studio version replace 14.0 by the version you're using):

C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDE

To display the installer dialog(s), remove the /quiet option.

Note:

  • To uninstall a VSIX extension, you need to know its vsixID (here is described how to get it), then you can use

    VSIXInstaller.exe /uninstall:vsixID

  • To install/uninstall VSIX files for a specific Visual Studio version, use the switches /skuName:name and /skuVersion:version; you can see all options of the command line tool if you type VSIXInstaller.exe /? in the developer command prompt.

MattMatt

Did you know that the VSIX is nothing more than a ZIP file. After double clicking on it, the VS selector prompts you for each installed version of Visual Studio to install it too. This is where vs picks an arbitrary folder name and unpacks the content to the %AppData%LocalMicrosoftVisualStudio##Extensions folder. So Benjol was partially correct save for unpacking the files from the VXIS(again which is a Zip).

Rashad RiveraRashad Rivera

VSIXInstallerinC:Program Files (x86)Microsoft Visual StudioInstallerresourcesappServiceHubServicesMicrosoft.VisualStudio.Setup.Service

tangtang

I think you just reload Visual Studio after downloading the VSIX. During the launch Visual Studio looks for the VSIX file and incorporatesall the required changes.

bla-bla

Here are the instructions for Visual Studio Code.1 step

second step

Balaban MarioBalaban Mario
Line

Visual Studio For Mac Command Line

Not the answer you're looking for? Browse other questions tagged windowsvisual-studio-2010visual-studio or ask your own question.