为什么F7在代码隐藏和源视图之间切换在2015 Enterprise中无法正常运行? [英] Why is the F7 toggle between code behind and source view nonfunctional in 2015 Enterprise?

查看:70
本文介绍了为什么F7在代码隐藏和源视图之间切换在2015 Enterprise中无法正常运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一位同事把它搞砸到社区工作,但我无法做任何事情让它在Enterprise,Web表单*或* Windows表单中工作。我可以从设计人员/源码到F7后面的代码,然后只有设计师启用时才将+ F7移位到设计师。
这忽略了默认的视图设置,它始终显示设计者,无论是否设置为源,而源是它所处的最后一种模式。

A coworker wrangled it into working on Community, but there is nothing I can do to make it work in Enterprise, web forms *or* Windows forms. I can F7 from the designer/source to code behind, and then shift+F7 to the designer ONLY IF the designer is enabled. This ignores the default view setting, it always shows the designer regardless of being set to source, and source being the last mode it was in.

这绝对无法容忍。

推荐答案

嗨时间转换器,

Hi timeshifter,

根据您的描述,我创建了一个Web表单项目,然后按F7和Shift + F7。如果已启用Web表单,F7将切换到后台代码,Shift + F7将切换"设计"和"源"面板。我认为这个
功能没有任何问题。

According to your description, I created a web forms project, and press F7 and Shift+F7. If a web form has been enabled, F7 will switch to background code, and Shift+F7 will switch Design and Source panel. I think there is nothing wrong with this feature.

在你这边,如果这个功能有问题,请尝试重置VS:

In your side, if has something wrong with this feature, please try to reset the VS:

工具 - >导入和导出设置 - >重置所有设置 - > next-> next->选择要重置的选项。

Tools->Import and Export Settings->Reset all settings->next->next->choose a options you want to reset.

如果我误解了你的问题,请随时告诉我。

If I misunderstand your issue, please feel free to let me know.

此致,

奥斯卡


这篇关于为什么F7在代码隐藏和源视图之间切换在2015 Enterprise中无法正常运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆