dir.by  
  Поиск  
Компьютер, программы
.NET Core
 Инсталлируем новую версию (.NET Core 2.2) для Visual Studio 2019 
посмотрели 7589 раз
обновлено: 26 May 2022
В настройках проекта используется версия .NET Core 2.1
Скачиваем и устанавливаем новую версию .NET Core
Скачиваем .NET Core 2.2 для Visual Studio 2019 с официального сайта:
https://dotnet.microsoft.com/download/dotnet-core/2.2
и запускаем скаченную инсталяцию
После установки
После установки запускаем комнадную строку и вводим команду dotnet --info
  Command Prompt (Win Console)  
dotnet --info
На экране увидим что .NET Core обновился

.NET Core SDKs installed:
1.1.12 [C:\Program Files\dotnet\sdk]
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.504 [C:\Program Files\dotnet\sdk]
2.2.104 [C:\Program Files\dotnet\sdk]

В Visual Studio 2019 для проекта выбираем новую версию
В Visual Studio 2019 нажимаем правой клавишей мыши на проекте → вкладка ApplicationTarget Framework [выбираем новую версию 2.2]
На заметку! Как скачать .NET Core 2.2 для Visual Studio 2017?
Скачиваем .NET Core 2.2 для Visual Studio 2017 с официального сайта:
dotnet.microsoft.com/download/visual-studio-sdks

 
← Previous topic
Install the new version (.NET 6.0) for Visual Studio 2022. Note! .NET 6.0 is not installed and does not work for Visual Studio 2019
 
Next topic →
Choosing between ASP.NET Core and ASP.NET?
 
Your feedback ... Comments ...
   
Your Name
Your comment (www links can only be added by a logged-in user)

 
What is .NET Core?
Creating a New .NET Core Console App
ASP.NET Core
What is ASP.NET Core?
Creating a new application ASP.NET Core
ASP.NET Core MVC
Creating a new application ASP.NET Core MVC
Built-in IoC container in ASP.NET Core
<BR>
Database (Entity Framework) in ASP.NET Core MVC
Entity Framework in the ASP.NET Core MVC application. Using Code First (we write c# code, and the tables in the database are created by ourselves)
<BR>
Telerik (Kendo UI) in ASP.NET Core MVC
Telerik (Kendo UI) in ASP.NET Core MVC (connect Kendo js files using NPM and Webpack)
<BR>
Authentication (login/register/logout) in the ASP.NET Core MVC application
Authentication is login/register/logout in the ASP.NET Core MVC application
Additional topics, questions
Install a new version (.NET 9) for Visual Studio 2022 | Error: NETSDK1 The current .NET SDK does not support targeting .NET 9.0. Either target .NET 7.0 or lower, or use a version of the .NET SDK that supports .NET 9.0.
Install the new version (.NET 6.0) for Visual Studio 2022. Note! .NET 6.0 is not installed and does not work for Visual Studio 2019
Installing a new version (.NET Core 2.2) for Visual Studio 2019
Choosing between ASP.NET Core and ASP.NET?
Porting code to .NET Core from the .NET Framework
Error "unable to connect to web server "iis express" | ASP.NET Core | Visual Studio 2017
Error "This site can"t be reached" when run ASP.NET Core application | Solution: Recreate the Self-Signed HTTPS Certificate for localhost in IIS Express
WWW sites for learning
Sites to learn ASP.NET Core

  Ваши вопросы присылайте по почте: info@dir.by