winforms水晶报道 [英] winforms crystal report

查看:53
本文介绍了winforms水晶报道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有水晶报告。

当我更改并保存它时,会创建一个新的.vb文件。因为我正在使用svn源代码控制,

这成为一个令人头痛的问题。

例如我报告称为abc.rpt,以及相应的abc.vb文件。

当我对该报告进行更改时,abc1.vb已自动创建。

但是abc.vb仍在那里。所以它显示了冲突错误。我也试过运行自定义工具。

但得到相同的结果。截至目前我正在删除生成的abc1.vb作为临时解决方案。

我正在使用VS2008。



如何克服这个问题?

解决方案

检查这个帖子

Crystal for VS 2010在编辑时创建重复项 [ ^ ]


http://connect.microsoft.com/VisualStudio/feedback/details/532800/msdatasetgenerator-create-another-designer1-cs-file-for-my-typed-dataset# [ ^ ]

以上链接解决了我的问题。

这不仅适用于Da taSets,也适用于水晶报道。

Crisply做了以下

1.关闭解决方案

2.在记事本中打开.vbproj文件(如果C3然后.csproj)

3.寻找< lastgenoutput>。如果它包含xxx1.vb,则将其重命名为xxx.vb.

4.保存并关闭项目。



全部谢谢。

Hi,

I've crystal report.
When I change something and save it, a new .vb files is created. As I'm using svn source control,
This becomes a big headache.
For example I've report called abc.rpt, and corresponding abc.vb file.
When I make changes to that report, abc1.vb has been created automatically.
But abc.vb is still there. So it shows a conflict error. I've tried running custom tool also.
But getting the same result. As of now I'm deleting the generated abc1.vb, as a temporary solution.
I'm using VS2008.

How to overcome this?

解决方案

Check this thread
Crystal for VS 2010 creates duplicates on edit[^]


http://connect.microsoft.com/VisualStudio/feedback/details/532800/msdatasetgenerator-create-another-designer1-cs-file-for-my-typed-dataset#[^]
Above link solved my problem.
This in not only for DataSets, applies to crystal reports too.
Crisply did the following
1. Close the solution
2. Open .vbproj file in notepad (if C3 then .csproj)
3. look for <lastgenoutput>. if it contains xxx1.vb then rename it to xxx.vb.
4. save and close the project.

Thanks all.


这篇关于winforms水晶报道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆