如何调试 .NET RIA Servces(7 月预览)和 Silverlight MVVM 工具包之间的不兼容性?
我发现,当我安装 .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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.