.cs files for Crystal rpt files

C

Chak

I recently stepped into a Windows forms project with a lot of Crystal 9 .rpt
files in it.There were a set of corresponding .cs files associated with each
Crystal rpt file.

This is a slightly longish question.....

Since we had recently started to maintain the source from a CVS like
repository, and since we had failed to check in the cs files related to the
..rpt files, they were missing when we tried to build the project after an
update from the repository.

However, when I try to delete the .cs file , exclude the rpt from the
project, and include the rpt back to the project,
it create .cs files like 'rptname1.cs' or 'rptname2.cs' whereas there was
no rptname.cs either in the project or in the folder.

When I inspected the project.config, I found that the .cs files
corresponding to these .rpt files were
predefined as rptname(x).cs where (x) was a digit like 1,2.

I then changed the csproj file by hand to have rptname.cs, and went back to
the solution and got the .cs files as expected.

Could any of you guess why the config file wouldn't allow me to have the
default rptname.cs as the corresponding .cs files ? Is there any way i can
configure it to always take rptname.cs instead of incrementing 1 ?

Regards,

Chakravarthy.
 

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