Blend 3 中 Silverlight Sketchflow 项目的程序集引用错误
在我安装的 Blend 3 中,创建新项目时缺少 SketchStyles。我发现这是因为项目中以下自动引用错误:
- Microsoft.Expression.Interactions
- Microsoft.Expression.Prototyping.Interactivity
- Microsoft.Expression.Prototyping.RunTime
- Microsoft.Expression.Prototyping .SketchControls
在项目引用中,这些都指向我的项目路径(它们不在其中)。
如果我手动删除它们,并将引用设置为:“c:\Program Files (x86)\Microsoft SDKs\Expression\Blend 3\Interactivity\Libraries\Silverlight\Microsoft.Expression.Interactions.dll”,一切正常。
关于为什么以及如何解决这个问题有什么想法吗?它可能是项目模板吗?
In my installation of Blend 3, the SketchStyles are missing when a new project is created. I found out that this is because the following automatic references in the project are wrong:
- Microsoft.Expression.Interactions
- Microsoft.Expression.Prototyping.Interactivity
- Microsoft.Expression.Prototyping.RunTime
- Microsoft.Expression.Prototyping.SketchControls
In the project references, these all point to my project path (where they don't live).
If I remove them manually, and instead set the references to ie this: "c:\Program Files (x86)\Microsoft SDKs\Expression\Blend 3\Interactivity\Libraries\Silverlight\Microsoft.Expression.Interactions.dll" everything works.
Any ideas on why, and how to fix this? Could it be the project template somehow?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这些程序集仅通过 .csproj 文件中的名称引用,并使用注册表项解析到正确的位置,当无法以这种方式找到它们时,它们默认为您的项目文件夹。我想说你的安装不知何故被破坏了,你用什么来安装的,从哪里安装的?
最简单的解决方案可能是卸载 Blend 3 SDK 和 Blend 3,然后重新安装 Blend 3。当 Blend 3 处于预览状态时,存在一些问题,因此如果您安装了 MIX 预览版或 RC,可能有关系。
注册表项记录在表达式论坛的这篇文章中:
Those assemblies are referenced just by name in the .csproj files, and use a registry key to resolve to the proper place, when they can't be found that way, they default to your project folder. I would say your installation is broken somehow, what did you use to install, and from where?
The simplest solution is probably to uninstall the Blend 3 SDK, and Blend 3, and then reinstall Blend 3. There were a couple of problems from back when Blend 3 was in preview state, so if you had the MIX preview or RCs installed, it could be related.
The registry keys are documented in this post from the Expression forums:
非常好。对于 Expression Blend 4 也是如此:
Very good. The same for Expression Blend 4: