wpf - 有没有办法在 Visual Studio 2008 中关闭 wpf 设计图面?

标签 wpf visual-studio visual-studio-2008

我想知道是否有一种方法可以在 Visual Studio 2008 中简单地关闭 WPF 设计界面。我想要 xaml 编辑器,而不是设计界面,因为它会降低 IDE 的速度,当我尝试打开 XAML 文件。对于只有 xaml 的源文件的我的工作流来说更合适,因为我在 Blend 中处理所有视觉效果。

最佳答案

工具->文本编辑器->XAML->杂项取消选中始终以完整的XAML View 打开文档

alt text http://www.dolittle.com/blogs/einar/WindowsLiveWriter/DisableXAMLdesignerinVisualStudio2008_118F4/image_2.png

下面的注释说明了使用此复选框时的一个问题,即它只影响之前未打开的文件。来自评论中 Microsoft Connect 问题链接的解决方案指出

If you really wish to reset the open/close behavior for all XAML files in your project, you can achieve this by closing Visual Studio, then locating the SUO file adjacent to your SLN file and deleting or renaming it, then re-opening Visual Studio. When you re-open your solution an new SUO will be created and all files will be treated as "new". Please note this will also remove any other solution-specific IDE behavior for your solution.

关于wpf - 有没有办法在 Visual Studio 2008 中关闭 wpf 设计图面?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3011883/

相关文章:

android - Visual Studio 2015 Android 模拟器问题

visual-studio - 如何更改 CodeRush 在提取方法时使用的模板?

visual-studio-2008 - "Find and Replace"在 Visual Studio 2008 中很慢

c# - 将 .csproj 从 2010 降级到 2008

c# - 在c#中使用USB连接

wpf - 在没有 LocBAML 的情况下本地化 WPF 应用程序的最佳方法是什么?

wpf - 使 ScrollViewer 填充动态区域

wpf - WPF MVVM TreeView选择的项目未填充当前选择对象

c++ - Google GYP 到 MSVC 解决方案

c# - 日期格式化 WPF 数据网格