![](/img/trans.png)
[英]Can't add any items from toolbox to webform in ASP.NET empty website in Visual Studio 2022
[英]Empty toolbox in Visual Studio 2022 for .NET 6.0 WinForms and Control Library projects
當我為 .NET 6.0 創建 WinForms 項目或控件庫項目時,設計器工具箱為空,並顯示信息“該組中沒有可用的控件”。
重置工具箱不能解決問題。 從 VS 安裝程序級別修復 VS 安裝不能解決問題。
Visual Studio 社區 2022 v 17.3.1
有沒有人遇到過這樣的問題?
嘗試右鍵單擊工具箱空白區域,然后單擊“全部顯示”。
我找到了解決方案:
關閉 Visual Studio
轉到計算機上的此文件夾:%USERPROFILE%\Local Settings\Application Data\Microsoft\VisualStudio\
打開您的 Visual Studio 版本的子文件夾,例如 17.0_65d436a7
刪除這4個文件:
工具箱.tbd toolbox_reset.tbd toolboxIndex.tbd toolboxIndex_reset.tbd
打開 Visual Studio 后,工具箱項應該就在那里。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.