tags:

views:

162

answers:

3

Hi, I am new to both WPF and WCF, and have a WPF app that has a service reference to a WCF one. I have all sorts of files created under Service References/MyService. I am not so sure which need to go into source control and which don't.

I have a .disco, a .datasource, a .wsdl, 3 .xsds, 2 configuration.svcinfos, a Reference.cs, and a Reference.svcmap.

I assume most are generated, yet I don't know which belong to source control and which do not.

Thanks

A: 

How about adding all of them to the source control in the first instance and then remove those that never change later?

Raj
+4  A: 

Put all of them under source control, why not?

It's part of your code and it's needed to compile the project. If you use an automated build system, then you don't want that script to generate this code again, right?

As a bonus you'll get a history of changes to your service interface, could be useful too.

Gerrie Schenck
+1  A: 

All of those files are source files, so they all belong under source control.

John Saunders
I was under the impression that the only one that is actually *compiled* is the Reference.cs file and that the others are used in case you need to update the service reference later.
Matt Davis
I consider them "source" files in the sense that they are not the result of compilation or other processing.
John Saunders