English 中文(简体)
Blend 4的设计时间出入集会
原标题:Accessing assemblies at design time in Blend 4

我在设计Blend 4时从我的法典中获得了例外。

我将这个问题缩小到装设专门的图书馆。 其他图书馆可被装上罚款,但仅此失败。 因此,就本法典而言:

var a = Assembly.Load("lib1");
var b = Assembly.Load("lib2");

Line two will throw an exception: Could not load file or assembly lib2 or one of its dependencies. The system cannot find the file specified.

如果同一法典在Blend之外运行,则不会消失。 两个议会似乎都以同样的方式在项目中被提及,这两个议会都标有当地人。

关于如何解决这一问题的任何建议?

最佳回答

在设计时,Blend将你的大会复制到除产出夹外的临时文件夹中,因此,事情的表现可能不同于你正常管理方案时。 透镜还要求设计时间的“任何CPU”配置,这样,如果你操作“x86”,你通常会因为这样而获得不同的结果。

但是,Blend公司本身是一种像任何其他人一样的管理方案,并且详细诊断问题,你可以打破合并的Log Viewer的开端,看到有约束力的错误,试图发现哪些错误。 简言之,图书馆本身应当是(在Blend的临时文件夹中)的,但并未发现其间接依赖者之一。 通过以足够详细的方式使用记录器,你应能看到造成这一问题的具体约束性失败。

这里的联系是:

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签