2
3

More than 1 year has passed since last update.

VisualStudio2022でMVC5のビューを追加できない

Last updated at Posted at 2021-12-22
1 / 2

事象

VisualStudio2022の場合、MVC5のビューを追加できない事象が発生した。
image-20211222170214478.png

原因と対処

MVC5のテンプレートがインストールされていないため。
VisualStudio Installerで「.NET Framework プロジェクトと項目テンプレート」を追加すれば解決した。

クリップボード一時ファイル01.jpg
クリップボード一時ファイル02.jpg
image-20211222170255887.png

参考サイト

https://developercommunity.visualstudio.com/t/VS-2022-Add-View-to-MVC-project-doesnt-/1577500?viewtype=solutions
https://www.howtosolutions.net/2021/11/visual-studio-missing-asp-net-web-application-template-dotnet-framework/

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3