Закрыть
×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "flex"; // !!!!! block document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Праздники ...
Праздники ...
Рождество (Католическое) 25 Декабря
Концерты, выставки ...
Концерты, выставки ...
Спектакль "Особо опасные пенсионеры"|||г. Минск 6 сентября, 21 октября, 17 ноября 2026
Афишу
Спорт занятия ...
Спорт занятия ...
Плавание в бассейне
Спорт занятие
Компьютер, программы...
Компьютер, программы...
Объявления ...
Объявления ...
Салон красоты (маникюр/педикюр)
Объявление
Новости ...
Новости ...
Форум ...
Форум ...
обсуждение...
<<
Поиск >>
Поиск
Концерты
Спорт
Форум
Компьютер
Компьютер, программы
→
.NET Core
Install a new version (.NET 9) for Visual Studio 2022
посмотрели
4431
раз
обновлено: 31 October 2025
Step 1.
Download
.NET 9
Download
.NET 9
for
Visual Studio 2022
from the official website:
https://dotnet.microsoft.com/en-us/download/dotnet
Click on:
Windows
x64
After installation, let's do a check:
After installation, run the comad line and enter the command
dotnet --info
Command Prompt (Win Console)
dotnet --info
On the screen we will see:
.NET installed:
9.0.306 [C:\Program Files\dotnet\sdk]
Step 2.
In
Visual Studio 2022
for the project, select .NET 9.0
In
Visual Studio 2022
right-click on the project → tab
Application
→
Target Framework
[Choosing the new version 9.0]
When compiling a project, error:
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.
Decision!
I have
Visual Studio 2022
(version
17.6.5
).
In order to compile a project with
NET 9
, you need to update Visual Studio, i.e. my version is old (
17.6.5
)
Updating Visual Studio 2022
At the top of the menu, click:
Help
→
Check for Updates
Press
Update
Result!
Everything compiles and
NET 9
works well.
← Previous topic
Authentication is login/register/logout in the ASP.NET Core MVC application
Next 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
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Новость
"Черная пятница" Dreame в Беларуси – две недели скидок до 3400 рублей
•
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