generate code from .webtest

Aug 3, 2011 at 1:26 PM

Thank you for creating this tool. I am using version 2.0 with Visual Studio 2010 to test a web application that uses Silverlight 4. I'm not sure if I am doing this correctly or not, but I am getting an error in the using statement after I generate code from any web performance test that implements the WebServicePlugin.  The error message has .WebService underlined in "using WebTest.WebService.Plugin.Runtime;" and says "The type name WebService does not exist in the type Microsoft.VisualStudio.TestTools.Webtesting.WebTest". I changed the properties of the assembly reference Copy Local = True in the project for WebTest.WebService.Plugin.Runtime and rebuilt the solution. Now I have to repeat this process each time I open the solution. What is the correct way to resolve the error when code is generated from a web performance test that uses the WebServicePlugin?