4

I have a Visual Studio Website project, which gives me an error on compiling all of a sudden - it used to work just fine.

It tells me that my "Validator_ascx" control is ambiguous in the namespace ASP.

I've read a lot of topics about this particular problem, but none solved my issue so far. Things I've tried include:

  • Check for doubles. There are NONE. Nothing else is called Validator in my entire project.
  • Rebuild/Clean Website
  • Rename control and update reference in Web.config
  • Changed the TEMP build folder to a new folder via web.config, to make sure that nothing remains from previous builds.
  • Tried putting my code-behind of Validator (Validator.ascx.cs) into a new namespace.
  • Tried turning 'batch' compilation to 'false' in web.config

All of them lead to the exact same error. I'm getting desperate. Does anyone else have any ideas of things I can try? I've lost almost an entire day due to this error.

Thanks for any ideas you might have.

Steven Lemmens
  • 158
  • 1
  • 10

0 Answers0