Run Asp Net 5 On Visual Studio For Mac

May 07, 2018  Last year at Build, we launched Visual Studio for Mac, our native macOS IDE for developers building cloud, web, and mobile applications using.NET. Updates have been rolling out at a steady pace ever since, and we’re excited to announce the release of Visual Studio for Mac version 7.5. That will allow you to run any XP software, including Visual Studio.NET. Obviously, your Mac will need plenty of RAM and hard disk space, just like a PC would, to run resource-hungry Windows apps. But without Visual Studio on a mac, how should we create a new asp.net project. There are two ways (as of this writing ) to scaffold a new dotnet core/aspnet core application. Using Dotnet CLI. With support for ASP.NET Core in Visual Studio for Mac, you are empowered to create beautiful, modern web applications. Craft the front-end with the same web editor experience you know and love from Visual Studio and Windows and publish to the cloud directly from the IDE. Get started by downloading the Community edition of Visual Studio for Mac for free to begin developing ASP.NET Core web apps, Unity games, and Android and iOS mobile apps, all in C#! Unable to run ASP.NET Project. Reported by Leonard Wong Jun 19, 2017 at 03:24 AM visual studio for mac. Brought the entire project from Visual Studio 2017 on Windows to Visual Studio for Mac. Set it up as ASP.NET Empty Project and imported all the files. Lots of errors and packages missing.

Active3 years, 1 month ago

I want to learn how to build websites using the Microsoft ASP.NET framework on a Mac running OS X 10.10.5. I will be following along with an online course that uses ASP.NET MVC 5. All of the tutorials I have read so far say to use Homebrew's aspnet/dnx repo to install ASP.NET. However, according to the GitHub page:

'This repository is obsolete and no longer used or maintained.'

A link on the page redirects to .Net Core

So, my question is: how do I install ASP.NET MVC 5 on my Mac, not .NET Core?

Thanks!

fire_waterfire_water

2 Answers

If you want to start developing for .NET (including ASP.NET MVC and related technologies) on OSX, you'll need to look towards .NET Core. There are instructions there on how to install it and how to write code for it. There are good examples linked at the bottom of the page.

Please be aware that, as of this time, the related OSX technologies are not full released, so prepare for some hiccups along the way (though...it's getting better!).

JasCavJasCav
26.4k18 gold badges98 silver badges155 bronze badges

You want to use https://www.microsoft.com/net/core#macos

Follow the examples here once you're set up: https://docs.asp.net/en/latest/getting-started.html

dnx is deprecated as mentioned on their GitHub page.

Run Asp Net 5 On Visual Studio For Mac Asp.net Web Application

This repository is obsolete and no longer used or maintained.

Also, for what it's worth - dnx/dnvm were CLI tooling used to build/bootstrap .net applications. They were used during the beta/rc versions of what is now known as dotnet core. The new https://github.com/dotnet/cli has replaced dnx.

mariocatchmariocatch
4,1884 gold badges29 silver badges49 bronze badges

Not the answer you're looking for? Browse other questions tagged c#asp.netasp.net-mvcmacos or ask your own question.

.NET helps you create mobile, desktop, and web applications that run on a variety of operating systems, devices and servers and it’s included in Visual Studio.

Productive, multi-purpose, type-safe, object-oriented, open source

C# and Visual Basic are programming languages designed for creating a variety of applications that run on the .NET Framework. These languages are powerful, type-safe, and object-oriented. They are built on the .NET Compiler Platform “Roslyn” which provides rich code analysis APIs and it’s all open source on GitHub.

Simple, efficient, data-rich, functional-first programming

F# is an open source, cross-platform, functional-first programming language that enables developers to tackle computing problems with simple, maintainable and robust code. F# is on GitHub, and many tools and libraries are available from the F# community.

Open, flexible tools you need to create and deploy modern web apps

ASP.NET is an open source web framework for building great websites and web applications using HTML, CSS, and JavaScript. You can also create Web APIs and mobile sites, use real-time technologies like Web Sockets, and more.

Run Asp Net 5 On Visual Studio For Mac Asp.net Web Api

Asp.net

Quickly deploy mission-critical apps. Start free. Scale as you grow

Run ASP.NET web apps and .NET programs in the cloud by using Azure Websites, WebJobs, Cloud Services, and VMs. Use .NET and Visual Studio to deploy a new or existing application in seconds.

One Windows platform, many devices

Leverage your skills in C# and Visual Basic to take advantage of the power of Windows 10 to build the next generation of apps.
Windows 10 runs on a single, unified core across devices—mobile, desktop, Xbox, or elsewhere. Windows 10 apps you build with C# and Visual Basic run as fast as C++ with the .NET Native runtime.

WinForms and WPF

The .NET framework and Visual Studio enable you to develop data-centric, modern line of business applications (LoB) for Windows. Create visually stunning user experiences with WPF or use WinForms productive WYSIWYG designers to incorporate UI, media, and complex business models. Rapidly develop enterprise-class line of business applications with a comprehensive set of features like controls, data binding, animation, styles, templates, and more.

Visual Studio and Xamarin

Create rich native apps using C# across iOS, Android and Windows, while maximizing code reuse. Share code across device platforms with shared projects or portable class libraries.

With 100% of the native APIs exposed, you have full access to device capabilities. Create apps with native user experiences and native performance with drag-and-drop simplicity.

Be the most productive you can be

Visual Studio guides you with live assistance as you write Visual Basic and C# code through IntelliSense and Analyzers, as well as provides world-class debugging and diagnostics tools.

Modular, cross-platform, open source

.NET Core is a set of runtime, library and compiler components optimized for modern workloads that run on Windows, Mac OS X and Linux. It can be installed locally with your app with only the packages you need. .NET Core runtime, libraries and compiler are all open source on GitHub and are taking contributions.

Free, fully-featured IDE for students, open-source and individual
developers

Professional developer tools, services, and subscription benefits for small
teams

End-to-end solution to meet demanding quality and scale needs of teams of all
sizes