裝了最新版 VS2022,想建個 ASP.NET MVC (.NET Framework 4.X) 專案不得其門而入,輸入 ASP.NET 關鍵字,只見 ASP.NET Core 專案範本,沒看到 .NET Framework 版本:(VS2022 表示:那是啥?)

2023 年還在維護開發 .NET Framework 專案錯了嗎?

猜想是 IDE 仍有支援但預設沒啟用,花了點時間才找到選項:

ASP.NET and web development 分類下有 .NET Framework project and item templates 及 Additional project templates (previous versions) (即 Web Site Project),預設未選取,要維護古蹟的同學記得打勾。

補選安裝後,ASP.NET MVC / Web Site Project / WebForm 專案就回來了:

The ASP.NET .NET Framework project templates are not enabled default, this notes shows the way to install them.


Comments

Be the first to post a comment

Post a comment