compilation Error in ASP .NET Temporary file

J

j

I am getting this error when trying to compile code generated using
xsd.exe:
The type 'TrailerList' already contains a definition for
'rCMSTrailerListRow' c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files\photoblobws\4e7bb29f\6f50d4db\App_Code.vnsjeqin.4.cs

What could cause this error in a generated file? What should I look for
in the code file to fix it?
 
P

Paul

I think this usually happens when you rename something in the source code
(either a class/file, or output assembly name). Best way to get around it
is to delete the directory detailed in the error message and recompile the
application.

Regards,

- Paul.
 
J

j

I had to workbackwards from the generated file to the class, from the
class to the XML...I finally found the conflict.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top