Visual Studio For Mac Preview Download

Active2 years, 9 months ago

Visual Studio for Mac enables you to write code accurately and efficiently without losing the current file context. You can easily zoom into details such as call structure, related functions, check-ins, and test status. Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Visual Studio for Mac is a new member of the Visual Studio family, enabling developers on macOS to build apps for mobile, web, and cloud with Xamarin and.NET Core, as well as games with Unity.

I'm playing around with a ASPNet.Core 1.1.0 application in Visual Studio Mac Preview and have problems updating/installing NuGet packages.

If I try to update eg. Microsoft.AspNetCore.Diagnostics from 1.0.0 to 1.1.0 it fails the download and removed the package completely. I then have to download and install the package for 1.0.0 again. Same goes for Microsoft.AspNetCore.Server.Kestrel.

Microsoft.EntityFrameworkCore I'm not able to install in any version. Heres the exception output: https://gist.github.com/anonymous/52ceb28b8d9781835b226bcbe9d04d58

I know everything is right out of the oven, but was wondering if other people have experienced the same issues and know of a workaround/solution.

egeekegeek

4 Answers

For everyone else having similar problems, here's a walk-through:

  1. First install .NET Core 1.1.0: https://www.microsoft.com/net/core#macos

  2. The official .NET Core 1.1.0 installer (as of when this is written) includes the .NET Core SDK 1.0.0 Preview 2.

You will need .NET Core SDK 1.0.0 Preview 3. Download it here: https://github.com/dotnet/core/blob/master/release-notes/preview3-download.md

  1. Create a new project in Visual Studio Mac

  2. Close the project

  3. Open up project/src/myapp/myapp.csproj and change 'netcoreapp1.0' to 'netcoreapp1.1'. Save and close the file.

<TargetFramework>netcoreapp1.1</TargetFramework>

  1. Open your solution in Visual Studio Mac and compile it.

Now you will be able to update your NuGet packages to newest versions.

Should you run into problems, do a 'dotnet restore' when standing in /project/src/myapp/

egeekegeek

X Code

I reached out on Twitter and got a response from Mikayla Hutchinson, Xamarin PM at Microsoft. Check out the conversation on Twitter here.

certain NuGet packages fail to restore if they're not already in your local cache - see https://developer.xamarin.com/releases/vs-mac/preview/vs-mac-preview1/#Known_Issues

as a workaround, you can use dotnet restore on the command-line, which will restore and cache them

I hope this helps.

Justin HornerJustin Horner

Try to change *.csproject file manually to

<TargetFramework>netcoreapp1.1</TargetFramework>

UPDATE

@egeek So, finally, I think I found some trick. I tried to add Swashbuckle Nuget package, but it failed. Then, when Visual Studio start to adding Swashbuckle, I click Forece Quit from Visual studio before the operation is complete. In *.csproj I see:

And when I again open Visual studio, click 'Restore' on 'Packages' folder. Finally it not fail and added Swashbuckle correctly.

ZanaelZanael

Try upgrading your nuget latest version for core 1.1 https://dist.nuget.org/index.html will resolve the issue.

rajraj

Not the answer you're looking for? Browse other questions tagged visual-studioasp.net-core.net-core or ask your own question.

Version: 16.2

Visual Studio 2019

Full-featured integrated development environment (IDE) for Android, iOS, Windows, web, and cloud

Community

Powerful IDE, free for students, open-source contributors, and individuals

Professional

Professional IDE best suited to small teams

Enterprise

Scalable, end-to-end solution for teams of any size

Visual Studio Code

The fast, free and open-source code editor that adapts to your needs

By downloading and using Visual Studio Code, you agree to the license terms and privacy statement.

Version: 8.2

Visual Studio for Mac requires an active internet connection for installation

Visual Studio for Mac

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

Community

Powerful IDE, free for students, open-source contributors, and individuals

Professional

Professional IDE best suited to small teams

Enterprise

Scalable, end-to-end solution for teams of any size

Visual Studio Code

The fast, free and open-source code editor that adapts to your needs

By downloading and using Visual Studio Code, you agree to the license terms and privacy statement.

An integrated, end-to-end solution for developers looking for high productivity and seamless coordination across teams of any size. Please see the Release notes for more information.

Improve productivity with professional developer tools and services to build applications for any platform. Please see the Release notes for more information.

A free solution for non-developers to interact with Azure DevOps Server and Azure DevOps. Please see the Release Notes for more information.

A free, fully featured, and extensible solution for individual developers to create applications for Android, iOS, Windows, and the web. Please see the Release notes for more information.

Remote Tools for Visual Studio 2019 enables app deployment, remote debugging, remote testing, performance profiling, and unit testing on computers that do not have Visual Studio installed.

Standalone command line tools that enable performance profiling without Visual Studio. For more information, see Using the Profiling Tools From the Command-Line.

IntelliTrace Standalone Collector for Visual Studio 2019

The IntelliTrace stand-alone collector lets you collect diagnostic data for your apps on production servers without installing Visual Studio or redeploying your application.

Agents for Visual Studio 2019 can be used for load, functional, and automated testing.

These Build Tools allow you to build Visual Studio projects from a command-line interface. Supported projects include: ASP.NET, Azure, C++ desktop, ClickOnce, containers, .NET Core, .NET Desktop, Node.js, Office and SharePoint, Python, TypeScript, Unit Tests, UWP, WCF, and Xamarin.

Improve productivity with professional developer tools and services to build applications for Android, iOS, macOS, cloud and the web. Please see the Release Notes for more information.

An integrated, end-to-end solution for developers looking for high productivity and seamless coordination across teams of any size. Please see the Release Notes for more information.

A free and full-featured solution for individual developers to create applications for Android, iOS, macOS, cloud and the web. Please see the Release Notes for more information.

Download our cross-platform extension that supports deep learning frameworks including Microsoft Cognitive Toolkit, Google TensorFlow, Keras, & more.

A powerful code editor optimized for building and debugging modern web and cloud applications.

Azure DevOps Server 2019 Update 1 is the latest update for Azure DevOps Server 2019. Azure DevOps Server provides a set of collaboration tools, including Application Lifecycle Management (ALM), continuous integration (CI), and DevOps. Please see the Release Notes for more information.

Studio

Azure DevOps Server Express 2019 Update 1 is the latest update for Azure DevOps Server Express 2019. Azure DevOps Server Express is a free, source code-control platform for individual developers and small teams of five or less. Please see the Release Notes for more information.

Visual Studio For Mac Download

A free solution for non-developers to interact with Azure DevOps. Please see the Release notes for more information.

Visual Studio For Mac

Microsoft Visual C++ Redistributable for Visual Studio 2019

This package installs run-time components of Visual C++ libraries and can be used to run such applications on a computer even if it does not have Visual Studio 2019 installed.

The .NET Framework helps you create mobile, desktop, and web applications that run on Windows PCs, devices and servers.

Open source command line interface for Visual Studio Team Services from Windows, Linux, and Mac. Manage pull requests, builds, work items, and more directly from a command prompt or from scripts. See the docs for more information. For manual download and install steps check out these links – Windows, Linux, Mac.