Visual Studio For Mac Does Not Compile Exe

-->

Click the button to download the latest version of Visual Studio 2017 for Mac. For instructions on setup and install, see the Setup and Install Visual Studio for Mac documentation. To learn more about Visual Studio 2017 for Mac, see Mac System Requirements and Mac Platform Targeting.

| Developer Community |System Requirements |Compatibility |Distributable Code |Xamarin |Blogs |Servicing |

Visual Studio 2017 for Mac contains many new and exciting features and IDE productivity enhancements tosupport cross-platform desktop app development, cross-platform mobile development, Azure development, web and cloud development,and more. To try out Visual Studio 2017 for Mac, see the Downloads page.For more information about everything that's new in this release, see theVisual Studio 2017 for Mac release notes.

System Requirements

For information on the system requirements for installing and running the Visual Studio 2017 for Mac family of products, see the Visual Studio 2017 for Mac System Requirement page.

Platform Targeting

Visual Studio for Mac provides cutting-edge tools and technologies to create apps that take advantage of thelatest platform capabilities, for macOS, Android, iOS, tvOS, and watchOS, as well as web sites, services, and games.

Not

Feature Summary

  • Mobile app development
    • Share code between Android and iOS with Xamarin
    • Native iOS and Android UI designers
    • Shared UI with Xamarin.Forms
    • Protect Android code with Embedded Assemblies
    • Visualize and debug apps with Xamarin Inspector *
    • Profile your apps with Xamarin Profiler *
  • Cross-platform 'desktop' development
    • macOS app development
    • .NET Core development
  • Web application development
    • ASP.NET Core development
    • HTML, CSS, JSON web editor tooling
  • Cloud development
    • ASP.NET Core WebAPI development
    • Publish ASP.NET Core projects to Azure directly from the IDE
  • Game development
    • Unity game development

* Requires Visual Studio for Mac Enterprise

Visual Studio for Mac does not support Windows client projects like Windows Forms, WPF, or UWP.

Visual Studio 2017 for Mac Support for Android Development

Visual Studio 2017 for Mac enables you to build native Android apps using Xamarin and C#. You can use Unity to build Android games.

You can use the Android SDK Manager to easily obtain the Android SDK and Android API levels.You can download additional API levels separately using the Android SDK Manager.

For more information, see Android development with Visual Studio for Mac.

Visual Studio 2017 for Mac Support for iOS Development

Visual Studio 2017 for Mac enables you to build native iOS apps using Xamarin and C#. You can use Unity to build iOS games.

For more information, see iOS development with Visual Studio for Mac.

Visual Studio 2017 for Mac Support for macOS/OS X Development

Visual Studio 2017 for Mac enables you to build console applications and Cocoa (desktop) applications for macOS.

For more information, see macOS development with Visual Studio for Mac.

Visual Studio 2017 for Mac Support for ASP.NET Core Development

ASP.NET Core is an open-source and cross-platform framework for building modern cloud based internet connected applications, such as web apps and services, IoT apps, and mobile backends.

ASP.NET Core apps can be developed and debugged using Visual Studio 2017 for Mac, including the server-side code as well as client side HTML, CSS, and Javascript. They can be hosted on Windows, macOS, or Linux.

For more information, see .NET Core and to get started follow this hands-on lab.

Visual Studio 2017 for Mac Support for Unity Game Development

Visual Studio for Mac Tools for Unity is a free Visual Studio extension that turns Visual Studio for Mac into a powerful tool for developing cross-platform games and apps with the Unity platform.

For more information, see Visual Studio Tools for Unity and to get started follow this hands-on lab.

Other Platforms and Technologies

Visual Studio 2017 for Mac also supports the following platforms and technologies. For more information, seehttps://visualstudio.microsoft.com/vs/.

Visual Studio For Mac Does Not Compile Exe Files

  • .NET Core 1.1. For more information see https://dot.net/core
  • F#
  • Web Development HTML5/CSS3 and JavaScript

Feedback and Suggestions

Use the Provide a Suggestion link on the welcome page in Visual Studio for Mac, or visit Visual Studio for Mac's UserVoice page directly. From here you can add new requests or vote on existing ideas. To report a problem, follow these instructions.

Top of Page
Viewed 2k times

I want to compile and run C# project on Mac OS server. There's no GUI to use, so I need to compile and run it from terminal.

I copied the directory of my C# project from my local to the server.(My C# project was created by visual studio for mac.)

On the server, I have already installed mono. I can compile and run the basic C# code 'hello world!' by mcs Program.cs and mono Program.exe but I cannot compile and run my project.

Visual Studio For Mac Does Not Compiling Exe

my Program.cs code is like this:

but when I try to run mcs Program.cs I got this error

It seems that the compiler cannot find MongoDB and I don't know why.

Visual Studio Export Exe

Can anyone tell me how to solve this?

Visual Studio For Mac Does Not Compile Execute

Visual Studio For Mac Does Not Compile Exe

UPDATE

I can run my project with msbuild

I use msbuild projectname.sln /p:Configuration=Debug then I got projectname.exe file and run it with mono projectname.exe

Plafishy Phannakan
Plafishy PhannakanPlafishy Phannakan
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.

Browse other questions tagged c#mongodbterminalmonovisual-studio-mac or ask your own question.