如何调试 .NET RIA Servces(7 月预览)和 Silverlight MVVM 工具包之间的不兼容性?

发布于 2024-08-07 21:41:40 字数 652 浏览 4 评论 0原文

我发现,当我安装 .NET RIA Services(7 月预览版)时,它会破坏使用 Michael Sync 的 Silverlight MVVM 工具包

此 MVVM 工具包包含一个 Visual Studio 项目模板,但现在无法构建。这是我收到的消息:

The project file "..\SilverlightModelViewApplication.Web\SilverlightModelViewApplication.Web.csproj" was not found.

我在解决方案中的任何位置都找不到字符串“SilverlightModelViewApplication”。如果我使用模板创建一个空的新项目,我会收到相同的消息。如果我使用“程序”和“卸载 .NET RIA 服务”特点,我的MVVM项目构建成功;当我重新安装 .NET RIA 服务时,我的项目无法再次构建。

我该如何调试这个?我在 MVVM 工具包网站上发表了评论,但没有回复。谢谢!

+汤姆

I have discovered that when I install .NET RIA Services (July preview) it breaks all of my projects that were created with Michael Sync's Silverlight MVVM toolkit.

This MVVM toolkit includes a Visual Studio project template which is now failing to build. Here is the message I get:

The project file "..\SilverlightModelViewApplication.Web\SilverlightModelViewApplication.Web.csproj" was not found.

I don't find the string "SilverlightModelViewApplication" anywhere in the solution. I get the same message if I create an empty new project using the template. If I uninstall .NET RIA Services with Programs & Features, my MVVM projects build successfully; when I reinstall .NET RIA Services my projects fail to build again.

How can I debug this? I posted a comment on the MVVM toolkit site but there has been no response. Thanks!

+tom

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

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

发布评论

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

评论(1

叶落知秋 2024-08-14 21:41:40

MS 工程师在 MS Silverlight 论坛上回答了此问题布雷特·桑布拉内特.

短期修复:在 .web 项目属性中关闭指向“SilverlightModelViewApplication.Web.csproj”的 RIA 服务链接。

长期修复:将 的 MVVM 模板 .csproj 文件条目更改为空条目。

This question was answered on the MS Silverlight forum by MS engineer Brett Samblanet.

Short-term fix: Turn off the RIA Service link to "SilverlightModelViewApplication.Web.csproj" in the .web project properties.

Long-term fix: Change the MVVM template .csproj file entry for <LinkedServerProject> to an empty entry.

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