Many ascx-to-one ascx.cs bug in VS2008
Posted
by pukipuki
on Stack Overflow
See other posts from Stack Overflow
or by pukipuki
Published on 2010-03-16T11:45:08Z
Indexed on
2010/03/16
11:56 UTC
Read the original article
Hit count: 463
I'm developing second language support for the site. So I made duplicate .ascx and .aspx files for existing ascx.cs and aspx.cs
Most of the time everything works fine.. but suddenly I'm getting:
Type 'ctrl_car' exists both in 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\rzhdengine\d072cc72\b9d5698b\App_Web_xdmblegv.dll', and in 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\rzhdengine\d072cc72\b9d5698b\App_Web_gkptrzo2.dll' (translated from russian)
ctrl_car ctrl = (ctrl_car) LoadControl("car.ascx");
I have few such strings of code... and same error occurs with one of them. But WITHOUT any changes from me with those files. Sometimes it works on another VS... sometimes regetting project helps... but it is always waste of time (
© Stack Overflow or respective owner