【发布时间】:2011-11-29 23:43:44
【问题描述】:
我使用 Microsoft 的 skinned model sample 加载我的 Blender 模型 (.fbx) 并播放他们的动画。导入 SkinnedModelWindows 和 SkinnedModelPipeline 项目,我将它们添加为参考。但是当我想(从 SkinnedModelPipeline)获取蒙皮数据时,我会收到以下警告:
The referenced assembly "...\SkinnedModelPipeline.dll" could not be resolved because it has a dependency on "Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
并且蒙皮数据仍然为空:
SkinningData skinningData = model.Tag as SkinningData;
if (skinningData == null)
throw new InvalidOperationException
("This model does not contain a SkinningData tag.");
从这里我得到了例外。
以及如何解决它的想法?
非常感谢!
【问题讨论】: