TFS Build: Test a Webservice generates "could not find" XSD file

Last post 06-15-2009 10:56 AM by JohnSheridan. 0 replies.

Sort Posts:

  • TFS Build: Test a Webservice generates "could not find" XSD file

    06-15-2009, 10:56 AM
    • Member
      56 point Member
    • JohnSheridan
    • Member since 07-23-2005, 4:31 AM
    • Posts 20

    Hallo,´

    I am using Visual Studio Team System 2008 Development Edition for a ASP.NET webserivce project.

    The webservice provide functions to save xml data (time series data representing weather forecast data) into an oracle database.
    To parse the XML file I am using an typed Dataset (XSD).
    This works very fine at my development machine and also at the customer.

    Now I have installed a TFS Build (I now should be done first in theory, but...) to run automatic unit test on a build agent.
    I have good experience with TFS Build for my other desktop .NET project.

    For testing the webservice I have make a virtual directory on the IIS pointing to the default TFS path:

    C:\Documents and Settings\User X\Local Settings\Temp\ABC Framework\XYZ Webservice\Binaries\Debug\_PublishedWebsites\XYZ Webservice

    All tests run fine, but one test needing the typed DataSet (Interface.xsd) become red because of following error:

    Could not find file 'C:\Documents and Settings\User X\Local Settings\Temp\ABCFrameworkXYZ Webservice\Binaries\Debug\_PublishedWebsites\XYZ Webservice\bin\InterfaceDTO.xsd'....

    The property "Copy to output" of the Interface.xsd is set to always and is copied to

    C:\Documents and Settings\User X\Local Settings\Temp\ABC Framework\XYZ Webservice\Binaries\Debug

    but not to the bin folder of the webservice?

    Please could you tell me why and who to solve this?

    Many thanks in advance

Page 1 of 1 (1 items)