有什么方法可以将 ADO.NET Data Services 1.5 CTP2 与 VS2010 一起使用吗?甚至手动?
由于各种原因,我已经干净地安装了我的开发盒,它运行的是 Win7 x64,并且当前安装了 VS2010。我正在维护几个需要使用 .net 3.5 下的 1.5 CTP2 发布服务的项目(显然)。我已经采取了在Win7下安装完整的1.5 CTP2所需的步骤。
虽然我知道通常在 VS2008 中运行的向导式工具不可用(至少,我认为不是?),但我希望暂时可以使用命令行工具来渡过难关,所以我不需要不断地往返于我手边的 VS2008 VM。
我需要做正常的事情...
创建服务和 web.config 条目以启用它
创建或更新服务引用在 Silverlight 项目中
- 引用 在 WPF 项目中创建或更新
同样,命令行是好的 - 我显然不需要经常这样做。
谢谢!
肯
For various reasons I have clean installed my dev box and it is running Win7 x64 and currently has VS2010 installed. I am maintaining several projects that require the use of the 1.5 CTP2 release services, under .net 3.5 (obviously). I have already taken the steps needed to install the full 1.5 CTP2 under Win7.
While I understand that the wizard style tooling that normally runs in VS2008 is not available (at least, I think it isn't?) I am hoping that temporarily I can get by with using the command line tools to tide me over till then so I don't need to keep round tripping into the VS2008 VM I keep handy.
I need to do the normal things...
Create a service and the web.config entries to enable it
Create or update a service reference in a Silverlight project
Create or update a service reference in a WPF project
Again, command line is OK - I obviously don't need to do this very often.
Thanks!
Ken
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要确保 System.Data.Services.Design.dll 已更新并安装在 gac 中(如果您使用的是 Windows 7):
http://wildermuth.com/2009/05/29/Running_ADO_NET_Data_Services_1_5_CTP1_on_Windows_7
另外,当您运行 Visual Studio 时,您需要指定一些环境变量以使其正常工作。我使用批处理文件执行此操作:
一旦执行此操作,您可以继续“添加服务引用”并获取 CTP2 代理。
You need to make sure the System.Data.Services.Design.dll are updated and installed in the gac (if you're on Windows 7):
http://wildermuth.com/2009/05/29/Running_ADO_NET_Data_Services_1_5_CTP1_on_Windows_7
Additionally, when you run visual studio, you need to specify some environment variables to make it work. I do this with a batch file:
Once you do that, you can continue to to "Add Service Reference" and get the CTP2 proxies.
Vitek Karas 关于 Microsoft论坛建议了以下内容,但是我留下了可怕的“服务器在处理请求时遇到错误。请参阅服务器日志以获取更多详细信息。”错误。这很糟糕,所以我不知道这是否能正常工作。
Vitek Karas over on the Microsoft forums suggested the following, however I am left with the horrible "The server encountered an error processing the request. See server logs for more details." error. Which sucks so I have no idea if this will work right.