“失踪” VS2010 设计时的库?
我在 codeplex 上找到了一个非常好的开源对接解决方案,名为“AvalonDock”,并下载了 v1.1,并将该 dll 包含在 VS2010 Beta 2 的 WPF 项目中(针对 .NET 4.0)——到目前为止一切顺利。
然后我看到 V1.2 可用,它准确地解决了我遇到的问题(V1.2 在 DockingManager 上公开了一个名为 DocumentsSource 的 DP,因此我可以使其在 MVVM 方面保持干净)
所以我下载了 V1.2.2691 的二进制文件,删除了旧的引用,包含了新的引用,现在我一生都无法在设计时“看到”该库...
在我的 Window 的 XAML 中,我输入“xmlns:dock=”并等待智能感知向我提供命名空间/程序集的列表...它们都出现了,但 AvalonDock 的缺席非常引人注目!如果我手动输入引用(因为我知道它在那里!)并盲目地继续,xaml 设计者会抱怨缺少引用等,但应用程序会按预期构建和运行......
我错过了什么?感谢您的建议, 伊恩R
I located a really nice open-source docking solution called 'AvalonDock' on codeplex, and downloaded v1.1, and included the dll in a WPF project in VS2010 Beta 2 (targeting .NET 4.0) - so far so good.
Then I saw that V1.2 was available and it fixed exactly the issue I was having (V1.2 exposes a DP called DocumentsSource on the DockingManager, so I can keep it cleaner MVVM-wise)
So I downloaded the binaries for V1.2.2691, removed the old reference, included the new one and now I cannot for the life of me "see" the library at design-time...
In my Window's XAML, I type in 'xmlns:dock=' and wait for intellisense to present me with a list of namespaces/assemblies... they all appear, but AvalonDock is conspicuous by its absence! If I manually type in the reference (cos I know it's there!) and carry on blindly, the xaml designer complains about missing references and such, but the App builds and runs as expected...
What am I missing? Thanks for your suggestions,
IanR
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
典型的...我不断地寻找,询问后 2 分钟,我找到了答案...
查看 这篇文章 - 只是“解锁”了 dll,一切都很好:)
Typical... I hunt and hunt and 2 minutes after asking, I find the answer...
Check out this post - Just 'unblocked' the dll and it all came good :)