[Visual Studio]如何更新国外网页参考?
我有一台使用 Microsoft CRM 的服务器。 MS CRM 自动生成网络参考。我接管了别人的应用程序代码(连接到 CRM 的应用程序)。我希望在本地计算机上进行开发,但他们给我的参考资料不是最新的。我想使用引用上的右键单击/更新来更新它们。
但它需要名称/通行证身份验证。如果我正常连接到服务器,我可以通过浏览器看到 aspx 页面,但是在我的 VS 参考中使用相同的链接,我无法更新我的服务器连接信息,它不会让我这样做。
我该如何继续更新参考文献?
非常感谢!
I have a server where I use Microsoft CRM. MS CRM auto-generate web references. I take over someone else's application code (an application which connects to CRM). I expect to develop on my local machine, but the references they gave me are not up to date. I want to update them using the right-click/update on the reference.
But it requires a name/pass authentication. If I connect to the server normally, I can see the aspx page by the browser, but using the same link in my VS reference, I can't update with my server connection infos, it won't let me.
How do I have to proceed to update the references?
Thank you very much!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
VS中的“更新服务参考”实际上使用svcutil.exe(或< a href="http://msdn.microsoft.com/en-us/library/7h3ystb6%28VS.71%29.aspx" rel="nofollow">wsdl.exe 这是 WCF 之前的工具),生成代理类。两者都具有命令行选项,可让您指定身份验证详细信息,因此您可以在指定凭据时使用命令行生成服务引用。
"Update Service Reference" in VS actually uses svcutil.exe (or wsdl.exe which was the tool pre-WCF), to generate the proxy classes. Both have command line options that let you specify your authentication details, so you can use command-line to generate the service reference while specifying your credentials.