[Visual Studio] 錯誤訊息: 「The parameter searchFolders does not contains any entries」

 最近載了Visual Studio 2022,主要是2019版view的載入bug一直沒修好(抱怨一下= =)。2022版本在使用上還算平順,不過近日在create 新的controller 與Area時遇到了「The parameter searchFolders does not contains any entries」的問題,在爬了文之後,發現應該是有些功能沒選擇到導致了,因此重新更新下載即可解決。


解決方法:

1.打開「Visual Studio Installer」

2.點擊「ASP.NET and web development」 

3.查看 Optional 的這些選項是否有選擇


4.點擊「Modify」

參考:

[FIX] - "The parameter searchFolders does not contains any entries" - Can't create controller





留言

這個網誌中的熱門文章

[Visual Studio]位於網際網路或是限制區域上 或是檔案上標有 web 字樣 所以無法處理該檔案。若希望處理這些檔案 請移除 web 字樣。

[IIS] IIS執行時,發生拒絕存取路徑 問題

[SourceTree]修改使用者帳號密碼