Visual Studio Development Bookmark and Share   
 index > Visual Studio Source Control and SourceSafe > Web References automatically checked out of VSS
 

Web References automatically checked out of VSS

Hello,

I'm using

Visual Source Safe 2005 8.0.50727.1551 and Visual Studio 2005 SP1

I have a solution with a Web Application project (not a Web Site project, do not confuse them please!) and a Web Service project.
In the Web Application I have added a web reference to the Web Service project. Everything is working fine with the application.

The problem is that each time Ido "Update Web Reference",that causes the
files below from the "Web References" folder to becheckedoutautomatically by Visual Studio ,without explicitly telling itto doso ?!

The files automatically checked out automatically by Visual Studio are
- Reference.cs
- *.disco, *.wsdl, *.mapand all my typed datasets (*.xsd).


The Reference.cs,*.disco, *.wsdl, *.map,aregenerated files, I need these files in order to be able to compile the application.

So the questions are:

a) How can I avoidVisual Studio to automatically check out the files generated by "Update Web Reference" ?
b)Becausethese files aregenerated each time with "Update Web Reference", Iwould like toexclude them from the source control repository.


Thank you very much.

Alexandru Matei  Tuesday, September 29, 2009 6:20 AM
Hi Alexandru,

You can use theExclude from Source Controlcommand(File->Source Control)to exclude the files from source control:

Thanks.


Catherine Sea
Version Control Software | Software Configuration Management Solution

Catherine Sea  Tuesday, September 29, 2009 7:33 AM
Hi Alexandru,

Did you select "Check out automatically" for "On Edit" at "Visual Studio -> Tools -> Options -> Source Control -> Environment"? If so, files will be checked out automatically if you intend to modify these files.



Catherine Sea
Version Control Software | Software Configuration Management Solution

Catherine Sea  Tuesday, September 29, 2009 6:45 AM
Hello,

Yes, I have both

Check out automatically" for "On Edit"
Check out automatically" for "On Save"


In my opinionbecause theReference.cs,*.disco, *.wsdl, *.map,aregeneratedeach time with "Update Web Reference", Iwould like toexclude them from the source control repository
Alexandru Matei  Tuesday, September 29, 2009 6:53 AM
Hi Alexandru,

You can use theExclude from Source Controlcommand(File->Source Control)to exclude the files from source control:

Thanks.


Catherine Sea
Version Control Software | Software Configuration Management Solution

Catherine Sea  Tuesday, September 29, 2009 7:33 AM

You can use google to search for other answers

Custom Search

More Threads

• Running ANALYZE utility over network issue
• How to synchronize 2 VSS 2005 Servers
• Unsharing files
• Need a log of who did Get Latest Version
• Filtering & or Sorting Get Dialog
• Recommended Labeling Practice in VSS?
• Issues with VSS Admin account when creating a new user
• VS 2005 - Adding Files
• Visual SourceSafe 2005 error (after applying VSS 2005 Update)
• How will I get the application (exe or dll) name using VSSEvents?