Blend 3 中 Silverlight Sketchflow 项目的程序集引用错误

发布于 2024-08-28 07:07:51 字数 545 浏览 7 评论 0原文

在我安装的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

感情旳空白 2024-09-04 07:07:51

这些程序集仅通过 .csproj 文件中的名称引用,并使用注册表项解析到正确的位置,当无法以这种方式找到它们时,它们默认为您的项目文件夹。我想说你的安装不知何故被破坏了,你用什么来安装的,从哪里安装的?

最简单的解决方案可能是卸载 Blend 3 SDK 和 Blend 3,然后重新安装 Blend 3。当 Blend 3 处于预览状态时,存在一些问题,因此如果您安装了 MIX 预览版或 RC,可能有关系。

注册表项记录在表达式论坛的这篇文章中:

这里有更多信息:

您可能缺少两个注册表
键:(注意,这些适用于 64 位
机器,如果你是 32 位,则省略
Wow6432Node)

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft
SDKs\Silverlight\v3.0\AssemblyFoldersEx\Expression
草图流

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft
SDKs\Silverlight\v3.0\AssemblyFoldersEx\Expression
混合

如果您输入 Blend 的位置
SDK 有了,那么你应该可以了
正在运行。

对于上面的第一个注册表路径,添加
a(默认)REG_SZ 与数据:
C:\程序文件\微软
SDK\表达式\混合
3\交互性\库\Silverlight\

对于上面的第二条路径,添加
(默认)REG_SZ 与数据:C:\Program
文件\Microsoft SDKs\表达式\Blend
3\原型\库\Silverlight\

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:

Here is more info:

You probably have two missing registry
keys: (Note, these are for 64 bit
machines, if you are in 32 bit, omit
the Wow6432Node)

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft
SDKs\Silverlight\v3.0\AssemblyFoldersEx\Expression
SketchFlow

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft
SDKs\Silverlight\v3.0\AssemblyFoldersEx\Expression
Blend

If you enter the location of the Blend
SDK there, then you should be up and
running.

For the first registry path above, add
a (Default) REG_SZ with Data:
C:\Program Files\Microsoft
SDKs\Expression\Blend
3\Interactivity\Libraries\Silverlight\

For the second path above, add a
(Default) REG_SZ with Data: C:\Program
Files\Microsoft SDKs\Expression\Blend
3\Prototyping\Libraries\Silverlight\

伴随着你 2024-09-04 07:07:51

非常好。对于 Expression Blend 4 也是如此:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Silverlight\v4.0\AssemblyFoldersEx\Expression Blend

C:\Program Files\Microsoft SDKs\Expression\Blend\Silverlight\v4.0\Libraries


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Silverlight\v4.0\AssemblyFoldersEx\Expression SketchFlow

C:\Program Files\Microsoft SDKs\Expression\Blend\Silverlight\v4.0\Prototyping\Libraries

Very good. The same for Expression Blend 4:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Silverlight\v4.0\AssemblyFoldersEx\Expression Blend

C:\Program Files\Microsoft SDKs\Expression\Blend\Silverlight\v4.0\Libraries


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Silverlight\v4.0\AssemblyFoldersEx\Expression SketchFlow

C:\Program Files\Microsoft SDKs\Expression\Blend\Silverlight\v4.0\Prototyping\Libraries
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文