Aspnetcore: [Discussion] Using Visual Studio on aspnet repos requires installing or upgrading to 2019

Created on 20 Feb 2019  路  8Comments  路  Source: dotnet/aspnetcore

We are updating the master branch of the following repos to require Visual Studio 2019.

  • aspnet/AspNetCore
  • aspnet/AspNetCore-Tooling
  • aspnet/EntityFrameworkCore
  • aspnet/Extensions

The .NET Core 3.0 SDK requires MSBuild 16, which is only currently supported by Visual Studio 2019. VS 2019 will be released on April 2. In the meantime, you can get VS 2019 Preview 3 here: https://visualstudio.microsoft.com/vs/preview/.

If you are working on the aspnet/AspNetCore repo, you can run this script to install or modify your current VS2019 installation to add features required by this repo.


This is the discussion issue for https://github.com/aspnet/Announcements/issues/345

Most helpful comment

Most people don't know the difference between MSBuild versions

This announcement was directed at contributors, not "most people" 馃槈

I'd be interested in an even more detailed explanation. What is it about MSBuild 16 that these repos need? Why wouldn't Rider etc. already support MSBuild 16 if they use the dotnet tooling? 馃

All 8 comments

Just pointing out that this does not seem in alignment with Microsoft's push towards Open Source.

Maybe future declarations can use VS Code as an alternative?

Yeah, this sucks 馃槩

Can you expand on why VS 2019 is now a prerequisite? Or link to where this was discussed with the community/contributors?

Why can't I use Rider anymore? 馃

Clarification of the requirement: the actual requirement is that editors/IDE's support MSBuild 16. Most people don't know the difference between MSBuild versions, which is why I chose to word this as "install Visual Studio 2019".

If Rider and omnisharp-vscode support MSBuild 16, then there should be no problem using these editors on aspnet repos.

Most people don't know the difference between MSBuild versions

This announcement was directed at contributors, not "most people" 馃槈

I'd be interested in an even more detailed explanation. What is it about MSBuild 16 that these repos need? Why wouldn't Rider etc. already support MSBuild 16 if they use the dotnet tooling? 馃

I'd be interested in an even more detailed explanation. What is it about MSBuild 16 that these repos need?

Our repos use the netcoreapp3.0 target framework, which is only going to be supported by using the .NET Core 3.0 SDK, which needs MSBuild 16 (https://github.com/dotnet/toolset/pull/39).

Why wouldn't Rider etc. already support MSBuild 16 if they use the dotnet tooling?

I don't know. I said _if_ Rider supports MSBuild 16, then it should be fine. I don't know the details on how Rider's project system works, so things may already work.

Rider has a dropdown where you choose the version/location of MSBuild. I would expect that it's working just fine.

Updated the title to clarify. Sorry if initial wording was ambiguous. You can use vim, Emacs, notepad, VS Code, or Rider. Not saying you have to use Visual Studio. But if you are using Visual Studio, you will need VS 2019 to work on our master branch.

Rider has a dropdown where you choose the version/location of MSBuild. I would expect that it's working just fine.

Yes, I've been using Rider with 3.0 nightlies and MSBuild 16 for some time. The lack of details made it unclear whether that would still work though 馃槉

@natemcmaster Thanks for the clarification(s)!

Was this page helpful?
0 / 5 - 0 ratings