为什么我无法创建 OData 服务?
我的机器安装了 VS 2010 Premium,但我在使用项目模板时遇到了一些问题。
更糟糕的是,没有对此练习至关重要的“WCF 数据服务”。我缺少什么?是否有某种类型的 SDK 或其他下载可以安装 OData/WCF 数据服务组件和模板?
更新
我查看了 ADO.Net 实体框架工具的安装日志,它似乎将所有模板安装到了旧的 VS 2010 *express 版本文件夹中。我不再安装该软件,是否有工具或方法可以删除 Express 的任何痕迹,以便安装程序将文件部署到我安装的高级版本?
My machine has VS 2010 Premium installed and I'm having a bit of trouble with item templates.
I'm wanting to follow along with a simple MSDN Tutorial to build an OData service so I can learn about them. It says I need to create an ASP.Net application, which I did. Next it says to add an "ADO.NET Entity Data Model" item, which I don't have available in my item templates.
Even worse, there is no "WCF Data Service" which is kind of crucial for this exercise. What am I missing? Is there some type of SDK or other download that installs OData/WCF Data Service components and templates?
Update
I looked at the install logs for ADO.Net Entity Framework Tools and it appears that it installed all the templates into an old VS 2010 *express edition folder. I no longer have that installed, is there a tool or a method to remove any traces of express so the installer will deploy files to the premium edition I have installed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题来源:ADO.Net Entity Framework Tools 必须与 VS 2010 Express 一起安装,而 VS 2010 Express 是在 Premium 之前安装的。当我卸载 Express 时,它一定保留了 ADO.Net EF 工具及其对 Express 的引用。这就是我修复它的方法:
msiexec /我 ADONETEntityFrameworkTools_enu.msi USING_EXUIH=1
自行安装(VS 2010 维护模式在我删除它后不会再次安装它)现在我拥有所有适当的模板来创建 OData 服务:)
Problem Source: ADO.Net Entity Framework Tools must have been installed with VS 2010 Express which was installed before Premium. When I uninstalled Express it must have kept ADO.Net EF tools and it's references to Express. This is what I did to fix it:
msiexec /i ADONETEntityFrameworkTools_enu.msi USING_EXUIH=1
to install by itself (VS 2010 maintenance mode wouldn't install it again after I removed it)Now I have all the appropriate templates to create OData services :)