Sebastien Lachance

Datasource files in my Web Service generated files?

<?xml version="1.0" encoding="utf-8"?>
<!--
    This file is automatically generated by Visual Studio .Net. It is 
    used to store generic object data source configuration information.  
    Renaming the file extension or editing the content of this file may   
    cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="Company" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
   <TypeInfo>GPWebServices.Company, Web References.GPWebServices.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

I have a lots of files with the extension “.datasource”. It seems that Visual Studio generate those files, so that we can use the Web Service as a datasource of some sorts. I haven’t really played with that yet, I’m more inclined to bind my domain models directly.

I wonder if there is a way to deactivate the generation of this kind of files in Visual Studio. Stay tuned!

Comments