英文:
Visual Studio 2022 Table in Menu Bar doesn't show
问题
我使用了Visual Studio 2022,但菜单栏中的表格没有显示。
我尝试了一切方法来找到菜单栏中的表格,我使用的是Visual Studio 2022。我已经在谷歌上搜索,但找不到解决方案。
我正在观看ASP.NET Web应用程序的YouTube教程,在教程中有一个菜单栏中的表格。
但是在我的Visual Studio 2022中,菜单栏中没有显示表格。
英文:
I used Visual Studio 2022 the table in Menu Bar doesn't show.
I tried everything to find the table in menu bar, I used Visual Studio 2022. I already search in google but I can't find the solution for this.
I'm watching Youtube Tutorial for ASP.NET Web Application, in the tutorial there's a Table in Menu Bar.
Visual Studio Table Menu Bar in Tutorial
But in my Visual Studio 2022, it doesn't show the Table in Menu Bar.
答案1
得分: 1
以下是翻译好的部分:
新的 Visual Studio 2022 中有两种预览选项。
实际上,我建议不要担心这个,而是使用/设置/选择使用传统的 WebForms 设计工具。
所以,从 Visual Studio 转到
工具 -> 选项 -> Web 表单设计工具。
这个:
如果你选择了上面的设置(我确实建议这样做),那么你会看到这个:
现在,如果你想要 Visual Studio 2022 中的“新”高级预览系统,那么你可以选择上面的另一选项,当你这样做时,你会看到这个:
请注意底部的面包屑。这非常类似于 F12 浏览器和“元素”选择工具。我喜欢这个功能。
但是,你不会得到表单向导。所以,对于一些人来说,选择哪个选项更好有点难以决定。
但是,新的渲染引擎是基于 Chrome 的,与旧的“传统”表单设计工具相比,它在“尝试”渲染页面方面做得更好。
所以,我喜欢新的“实时预览”设置要好得多,但是出于习惯,我仍然使用传统的设计工具,因为我经常还在使用一些向导,而这些向导在新的设计工具中不显示。
然而,上面的 Visual Studio 设置可以解释你不同的体验。
你还必须退出并重新加载 Visual Studio 以使此更改生效。
如果你启用了传统的设计工具,那么菜单栏将显示“表格”菜单项,并且你必须在表单设计视图中,或者至少在分割视图中才能看到菜单栏中的“表格”项。在完整的 HTML 视图中,菜单栏不会显示“表格”项。
因此,在 Visual Studio 2022 中,这个菜单中显示“表格”:
英文:
Well, new for vs2022 is 2 types of preview options.
I would actually NOT worry about this, and use/set/choose to use the legacy webforms designer.
So, from vs go
tools->options->Web forms designer.
This one:
If you choose above settings, (and I do recommend this), then you will see this:
Now, if you want the "new" for vs2022 fancy preview system, then you can choose the other option in above, and when you do, then you will see this:
Note the breadcrumb on the bottom. This is VERY much like the f12 browser and "elements" selection tool. I do like that feature.
However, you don't get the form wizards. So, for some, it is a bit of a toss up as to which choice one likes.
However, the new rendering engine is based on chrome, and it does a FAR better job of "trying" to render the page compared to the older "legacy" forms designer.
So, I do like how much better the new "live preview" settings are, however, by habit I'm still using the legacy designer, since I do often still use some of the wizards, and they don't show up with the newer designer.
However, the above Visual Studio settings does explain your different experience.
You also have to exit and reload visual studio for this change to take effect.
If you turn on the legacy designer, then the menu bar will show the "table" menu item,and you have to be in form design view, or at the very least in split view. In full HTML view, it does not show the "table" item in the menu bar.
thus this in vs2022 shows "table" in the menu:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论