开发者

[Visual Studio]How can I update a foreign web reference?

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!


"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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜