Enable .NET Core 3.0 Preview 7 on Visual Studio 2019
I've started migrating all my ASP .NET Core 2.1 apps to the latest ASP .NET Core 3.0 but as it's still marked as a preview as of July 2019, you will have to tell Visual Studio to allow these kinds of packages. So for now, to create ASP.NET Core 3.0 projects with VS2019 (version 16.2.1), you should do the following:
- Download .NET Core 3.0: https://dotnet.microsoft.com/download/dotnet-core/3.0
- I installed the 64 bits SDK for windows and the ASP.NET Core Installer:
- Enable preview releases of .NET Core SDK
- Click Tools | Options in the top menu
- Expand Environment | .NET Core
- Ensure that "Use previews of the .NET Core SDK (requires restart)" checkbox is checked
Once you restart Visual Studio and install all the necessary components mentioned above, you should see the following option under Target framework in your project:
Now, to build your project and make it work is another thing, but at least the framework is there your you to play with!
Happy Coding!
Jordi
Comments
Post a Comment