In Visual Studio 2008, I have a class library project (called Media) to which I added a web link (not a service link) to a third-party web service (wsdl). A class library project creates a proxy class to use the service along with several classes for the types used in this service.
I also have a second class library (called Sync) that references the first. And then I have a website project that links to a second class library. All this is .NET 3.5
So, the website> Class Library (Sync)> Class Library with a link to the web service (Media)
I want to enter the generated code, so I launch the website in IIS 7.5 and start the method call in the second class library (Sync), which in turn must call the web service proxy. I fully expected to hit the breakpoint, but instead got an exception:
Unable to create a temporary class (Result = 1). Error CS0029: Cannot implicitly convert the type Media.WebService.multiValuedAttribute to Media.WebService.multiValuedAttribute []
Why is ASP.NET trying to create a temporary class? I no longer have a generated class from the first class library (Media)? What class is he trying to generate?
Thank!
source
share