locked
Duplicate .vb code behind files RRS feed

  • Question

  • User-1949316410 posted

    Hey Guys,

     

    I have a weird problem that I am struggling with.  We have a legacy project (VS 2003), and all I have to do is change a Crystal Reports label, when I change it and save it creates an additional code behind file.  So after saving I have the file rptInvoice.rpt with two dependant files rptInvoice.vb and rptInvoice1.vb.  I have no idea why it is creating an additional file but it is causing a compiler error.

     

    Any Ideas?


    Thanks,

    Ian

    Friday, April 23, 2010 3:29 PM

All replies

  • User-1967577788 posted

    We have the same problem too. Its annoying as VS takes a while to actually delete the old file and rename the report1.vb file as report.vb

    Does anyone know the cause or have a fix for this?

    Thanks
    Dan

    Friday, July 2, 2010 10:34 AM
  • User-2091835364 posted

    Hi,

    not sure about cause but if we set to keep both at that time this may happen.

    Fix is simple, just check the report name in .csproj file and update the entry with original name.

    thanks

    Bijay

    Thursday, February 6, 2014 9:08 AM