问题描述
在添加新项目并选择 WCF RIA 服务类库时,我的解决方案会显示一个额外的项目,例如 RIAServicesLibary1.但是,没有显示 RIAServicesLibrary1.Web 项目.
When adding a new project and choosing WCF RIA Services Class Library, my solution shows one additional project, say, RIAServicesLibary1. However, there is no RIAServicesLibrary1.Web project shown.
但是,如果我在 Windows 资源管理器中浏览到解决方案,我会同时看到 RIAServicesLibrary1 和 RIAServicesLibrary1.Web 文件夹.RIAServicesLibrary1 文件夹中填充了文件,但 .Web 文件夹完全为空.我一直试图弄清楚为什么会发生这种情况无济于事.
However, if I browse to the solution in windows explorer, I see both RIAServicesLibrary1 and RIAServicesLibrary1.Web folders. The RIAServicesLibrary1 folder is populated with files, but the .Web folder is completely empty. I have been trying to figure out why this is happening to no avail.
我已经从微软网站安装了 RiaServices 和工具包.我在 .NET framework 4 上运行 VS2010.
I have installed both the RiaServices and toolkit from the microsoft site. I am running VS2010 on .NET framework 4.
推荐答案
事实证明,由于国家仪器测量工作室(VS 插件)中的某些冲突,项目未能正确创建.卸载后,项目创建成功.
It turns the out project was failing to create properly due to some conflict in national instruments measurement studio (VS plugin). After uninstalling that, the project created successfully.
这篇关于RIA 服务库未创建预期文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!