Blend 3中的屏幕重命名问题 [英] Screen Rename issue in Blend 3

查看:115
本文介绍了Blend 3中的屏幕重命名问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改Blend 3提供新屏幕的默认名称(或现有屏幕的副本)。当我在草图流程图中重命名一个屏幕并在项目视图中重命名该文件时,XAML和xaml.vb文件中的类名称不会更改。   so, 我必须进入XAML并且xaml.vb文件并更改班级名称。 但是,Blend似乎也会缓存原始名称,因此如果您尝试将导航设置为屏幕,则无法正常工作。 我能够让Blend识别新名称的唯一方法是退出Blend然后重新启动。 我已经尝试过干净的构建和关闭,并且没有运气重新打开项目。

任何人都知道更简单的方法吗?

I want to change the default name that Blend 3 gives a new screen (or a copy of an existing screen). When I rename a screen in the sketchflow map and rename the file in the projects view the class name in the XAML and the xaml.vb file is not changed.  so, I have to go into the XAML and xaml.vb files and change the class name.  But, Blend also seems to cache the original name, so if you try to setup navigation to the screen, it will not work.  The only way I've been able to get Blend to recognize the new name is to exit Blend and then restart.  I've tried clean build and closing and re-opening the project with no luck.

Anyone know of any easier way to do this?

推荐答案

嗨丹,不幸的是,这就是它适用于Blend 3 + SketchFlow的方式。

你需要手动重命名这些类,不幸的是我们有一个我们没有的错误获取行为创作的班级名称更改。

唯一的解决方法是关闭并重新打开您的项目。

对不起,麻烦。

Bob Pappas
SketchFlow工程经理
Hi Dan,
Unfortunately, this is how it works for Blend 3 + SketchFlow.

You need to rename the classes by hand, and unfortunately we have a bug where we do not pick up the classname change for the behavior authoring.

The only workaround is to close and reopen your project.

Sorry for the trouble.

Bob Pappas
SketchFlow Engineering Manager


这篇关于Blend 3中的屏幕重命名问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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