<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>VS 2005 Web Application Projects</title><link>http://forums.asp.net/1019.aspx</link><description>General discussions of VS 2005 Web Application Projects</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>TFS Build: Test a Webservice generates "could not find" XSD file</title><link>http://forums.asp.net/thread/3234403.aspx</link><pubDate>Mon, 15 Jun 2009 14:56:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3234403</guid><dc:creator>JohnSheridan</dc:creator><author>JohnSheridan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3234403.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1019&amp;PostID=3234403</wfw:commentRss><description>&lt;p&gt;Hallo,´&lt;/p&gt;
&lt;p&gt;I am using Visual Studio Team System 2008 Development Edition for a ASP.NET webserivce project.&lt;/p&gt;
&lt;p&gt;The webservice provide functions to save xml data (time series data representing weather forecast data) into an oracle database.&lt;br /&gt;To parse the XML file I am using an typed Dataset (XSD).&lt;br /&gt;This works very fine at my development machine and also at the customer.&lt;/p&gt;
&lt;p&gt;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.&lt;br /&gt;I have good experience with TFS Build for my other desktop .NET project.&lt;/p&gt;
&lt;p&gt;For testing the webservice I have make a virtual directory on the IIS pointing to the default TFS path:&lt;/p&gt;
&lt;p&gt;C:\Documents and Settings\User X\Local Settings\Temp\ABC Framework\XYZ Webservice\Binaries\Debug\_PublishedWebsites\XYZ Webservice&lt;/p&gt;
&lt;p&gt;All tests run fine, but one test needing the typed DataSet (Interface.xsd) become red because of following error:&lt;/p&gt;
&lt;p&gt;Could not find file &amp;#39;C:\Documents and Settings\User X\Local Settings\Temp\ABCFrameworkXYZ Webservice\Binaries\Debug\_PublishedWebsites\XYZ Webservice\bin\InterfaceDTO.xsd&amp;#39;....&lt;/p&gt;
&lt;p&gt;The property &amp;quot;Copy to output&amp;quot; of the Interface.xsd&amp;nbsp;is set to always and is copied to &lt;/p&gt;
&lt;p&gt;C:\Documents and Settings\User X\Local Settings\Temp\ABC Framework\XYZ Webservice\Binaries\Debug&lt;/p&gt;
&lt;p&gt;but not to the bin folder of the webservice?&lt;/p&gt;
&lt;p&gt;Please could you tell me why and who to solve this?&lt;/p&gt;
&lt;p&gt;Many thanks in advance&lt;/p&gt;</description></item></channel></rss>