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.
Member
1 Points
2 Posts
Duplicate .vb code behind files
Apr 23, 2010 03:29 PM|poohshoes|LINK
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
Member
40 Points
26 Posts
Re: Duplicate .vb code behind files
Jul 02, 2010 10:34 AM|DotNetWeasel|LINK
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
None
0 Points
1 Post
Re: Duplicate .vb code behind files
Feb 06, 2014 09:08 AM|bijays|LINK
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