Net 4.0 Wpf UserControl Library - 可以在 VS 2008 Package ToolWindow 中引用吗

发布于 2024-10-06 11:16:26 字数 288 浏览 0 评论 0原文

我有一个使用 WPF 用户控件库构建带有工具窗口的可扩展性包的项目。我有 VS 2008 和 VS 2010 版本。如果我将 Net 框架保持在 3.5 或更低版本,那么在两个版本中重用 Wpf 是很容易的。我被要求将现有的 Silverlight 4.0/Net 4.0 应用程序转换为 WPF。它使用了很多 4.0 的功能,将其重新制作为较小的版本是一项重大工作。我已经运行测试来尝试使用 Net 4.0 Wpf,但 VS 2008 包拒绝识别该引用。

我的问题是:在 VS 2008 包中使用 Wpf Net 4.0 是否可行?


I have a project to build an Extensibility Package with a toolwindow using a WPF UserControl Library. I have VS 2008 and VS 2010 versions. Reusing the Wpf for both versions is easy to do if I keep the Net framework to 3.5 or less. There is an existing Silverlight 4.0/Net 4.0 application that I have been asked to convert to the WPF. It uses a lot of the 4.0 features and reworking it to a less version is major work. I have run tests to try using Net 4.0 Wpf and the VS 2008 Package refuses to recognize the reference.

My question is this: Is using Wpf Net 4.0 in a VS 2008 Package doable in any way?


如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

隔纱相望 2024-10-13 11:16:26

VisualStudio 团队的答案是——不,没有黑客,没有迂回,没有办法

The answer from the VisualStudio Team is- No, no hacks, no round about, no way

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