更新服务引用时禁用数据源文件的自动生成 [英] Disable automatic generation of datasources file when updating service references

查看:26
本文介绍了更新服务引用时禁用数据源文件的自动生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个包含许多服务引用的大型解决方案,每次我们需要更新服务引用时都会生成一些 .datasource 文件.这样做的问题是这些文件的名称很长并且会破坏构建过程,因为构建解决方案的服务器无法处理如此长的名称.现在我们需要打开服务引用并手动删除 .datasource 文件.我们无权设置阻止文件检查的规则,这意味着更新服务引用会时不时地破坏构建.

We have a large solution with many service references and each time we need to update a service reference some .datasource files are generated. The problem with this is that these files have very long names and break the build process since the server that builds the solution can't handle such long names. As now we need to open up the servcice reference and manually delete the .datasource files. We don't have the rights to setup a rules blocking the files from checking which means that the update service references breaks the build from now and then.

我们正在使用 TFS 2008 和 VS 2012 中的项目构建

We are using TFS 2008 and a project build in VS 2012

有什么办法可以禁用这些文件的自动生成?

Is there any way to disable the autogeneration of these files?

推荐答案

我也遇到了同样的问题,在我没有试图达成和解之后,

I have encountered the same problem , After I did not tried to reach a settlement ,

添加服务引用-高级-添加网络引用并写url比dizayn客户端代码.example

Add servicereference - advanced -add web reference and write url than dizayn client code.example

MobilServiceReference.MobileService service = new MobilServiceReference.MobileService();
secondLoginResponse = service.SecondLogin(password, sendedPassword, true, true, mobileTransactionHeader); 

问候,

这篇关于更新服务引用时禁用数据源文件的自动生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆