I have a (new) project and it has a web service reference. It has following structure:
<Folder: project folder>
<File: source file 1>
<File: source file 2>
<File: source file .>
Folder: Web References
Folder: MyService
File: Reference.map
File: Reference.cs
File: MyService.xsd
File: MyService0.xsd
File: MyService.wsdl
File: MyService0.wsdl
File: MyService0.disco
I am about to check-in the source code to version control system. Which files I must check-in?
To add a Web Reference You can also open the Add Web Reference dialog box in the Solution Explorer pane by right-clicking References and selecting Add Web Reference. In the Web reference name box, rename the Web reference toExcelWebService. Click Add Reference to add a Web reference for the target Web service.
To add a Web reference to a project. In Solution Explorer, right-click the name of the project to add the Web service to and then click Add Web Reference. The Add Web Reference dialog box is displayed. In the URL box, enter the URL of the Web service to use.
1 In Solution Explorer, right-click the name of the project that you want to add the service to, and then click Add Service Reference. The Add Service Reference dialog box appears. 2 In the Add Service Reference dialog box, click the Advanced button. 3 The Service Reference Settings dialog box appears.
Just to add differing opinion in case someone is in similar situation as mine.
I worked on a project where we aggressively developed a web service API, and we used Perforce as our source control. This caused numerous issues when updating service references, which we did many times a day. We simplified this process by checking in only two files:
Reference.cs
As it contains all the generated compiled code, and:
Reference.svcmap
As it contains configuration for code generation, such as endpoint used to refresh reference, type of collection to be used,etc.
All the other files as far as I can tell are just artifacts created during code generation that have no effect on executable code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With