首页上一页 1 下一页尾页 1 条记录 1/1页
请教关于vs引用水晶报表出错问题(《Visual C# 项目开发实例 自学手册》)
发表在C#图书答疑
2010-09-30
是否精华
是
否
版块置顶:
是
否
您好,我最近购买了贵出版社的《Visual C# 项目开发实例 自学手册》,由于是新手,所以对于新出现的诸多问题都比较迷惑。其中对于项目中引用一直出错的问题困扰了很久。期望能够指点,非常感谢。
情况如下:
当打开项目时,解决方案中关于水晶报表的引用都有感叹号,
若选择其中某一项,查看其属性为:
如果我将属性中的“特定版本”改为“False”则感叹号消失,
但编译不通过,总是显示失败,显示如下:
------ 已启动生成: 项目: CRM, 配置: Debug Any CPU ------
生成启动时间为 2010/9/30 11:26:16。
CoreResGen:
C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\ResGen.exe /useSourcePath /r:C:\Windows\assembly\GAC\CrystalDecisions.CrystalReports.Engine\10.0.3300.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll /r:C:\Windows\assembly\GAC\CrystalDecisions.Enterprise.Framework\10.0.3300.0__692fbea5521e1304\CrystalDecisions.Enterprise.Framework.dll /r:C:\Windows\assembly\GAC\CrystalDecisions.Enterprise.InfoStore\10.0.3300.0__692fbea5521e1304\CrystalDecisions.Enterprise.InfoStore.dll /r:C:\Windows\assembly\GAC\CrystalDecisions.ReportSource\10.0.3300.0__692fbea5521e1304\CrystalDecisions.ReportSource.dll /r:C:\Windows\assembly\GAC\CrystalDecisions.Shared\10.0.3300.0__692fbea5521e1304\CrystalDecisions.Shared.dll /r:C:\Windows\assembly\GAC\CrystalDecisions.Windows.Forms\10.0.3300.0__692fbea5521e1304\CrystalDecisions.Windows.Forms.dll /r:"E:\计算机\vc#\Visual C#项目开发实例自学手册\CRM\CRM\bin\Debug\DevExpress.Data.v7.2.dll" /r:"E:\计算机\vc#\Visual C#项目开发实例自学手册\CRM\CRM\bin\Debug\DevExpress.Utils.v7.2.dll" /r:"E:\计算机\vc#\Visual C#项目开发实例自学手册\CRM\CRM\bin\Debug\DevExpress.XtraNavBar.v7.2.dll" /r:C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\8.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.Common.dll /r:C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WinForms\8.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WinForms.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Design.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.Services.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /compile DataManage\frmAreaManage.resx,obj\Debug\CRM.DataManage.frmAreaManage.resources DataManage\frmClientManage.resx,obj\Debug\CRM.DataManage.frmClientManage.resources DataManage\frmOppManage.resx,obj\Debug\CRM.DataManage.frmOppManage.resources DataManage\frmRClient.resx,obj\Debug\CRM.DataManage.frmRClient.resources Help\frmAboutUs.resx,obj\Debug\CRM.Help.frmAboutUs.resources PInfoManage\frmBInfoManage.resx,obj\Debug\CRM.PInfoManage.frmBInfoManage.resources PInfoManage\frmEInfoManage.resx,obj\Debug\CRM.PInfoManage.frmEInfoManage.resources PInfoManage\frmGInfoManage.resx,obj\Debug\CRM.PInfoManage.frmGInfoManage.resources PInfoManage\frmImportantEvent.resx,obj\Debug\CRM.PInfoManage.frmImportantEvent.resources Properties\Resources.resx,obj\Debug\CRM.Properties.Resources.resources SumManage\frmCLAnalyse.resx,obj\Debug\CRM.SumManage.frmCLAnalyse.resources SumManage\frmCRAnalyse.resx,obj\Debug\CRM.SumManage.frmCRAnalyse.resources SysManage\frmDataClear.resx,obj\Debug\CRM.SysManage.frmDataClear.resources SysManage\frmDataRevert.resx,obj\Debug\CRM.SysManage.frmDataRevert.resources SysManage\frmDataStore.resx,obj\Debug\CRM.SysManage.frmDataStore.resources UserManage\frmEditPwd.resx,obj\Debug\CRM.UserManage.frmEditPwd.resources UserManage\frmEditRight.resx,obj\Debug\CRM.UserManage.frmEditRight.resources UserManage\frmUserManage.resx,obj\Debug\CRM.UserManage.frmUserManage.resources frmLogin.resx,obj\Debug\CRM.frmLogin.resources frmMain.resx,obj\Debug\CRM.frmMain.resources
frmMain.resx(3949,4): error RG0000: “.”(十六进制值 0x00)是无效的字符。 行 3949,位置 4。
我的开发环境为 win7+vs2010+水晶报表10(貌似vs已经自带了吧,我是新手,不太清楚)
还请高手指教,非常感谢。
情况如下:
当打开项目时,解决方案中关于水晶报表的引用都有感叹号,
若选择其中某一项,查看其属性为:
如果我将属性中的“特定版本”改为“False”则感叹号消失,
但编译不通过,总是显示失败,显示如下:
------ 已启动生成: 项目: CRM, 配置: Debug Any CPU ------
生成启动时间为 2010/9/30 11:26:16。
CoreResGen:
C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\ResGen.exe /useSourcePath /r:C:\Windows\assembly\GAC\CrystalDecisions.CrystalReports.Engine\10.0.3300.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll /r:C:\Windows\assembly\GAC\CrystalDecisions.Enterprise.Framework\10.0.3300.0__692fbea5521e1304\CrystalDecisions.Enterprise.Framework.dll /r:C:\Windows\assembly\GAC\CrystalDecisions.Enterprise.InfoStore\10.0.3300.0__692fbea5521e1304\CrystalDecisions.Enterprise.InfoStore.dll /r:C:\Windows\assembly\GAC\CrystalDecisions.ReportSource\10.0.3300.0__692fbea5521e1304\CrystalDecisions.ReportSource.dll /r:C:\Windows\assembly\GAC\CrystalDecisions.Shared\10.0.3300.0__692fbea5521e1304\CrystalDecisions.Shared.dll /r:C:\Windows\assembly\GAC\CrystalDecisions.Windows.Forms\10.0.3300.0__692fbea5521e1304\CrystalDecisions.Windows.Forms.dll /r:"E:\计算机\vc#\Visual C#项目开发实例自学手册\CRM\CRM\bin\Debug\DevExpress.Data.v7.2.dll" /r:"E:\计算机\vc#\Visual C#项目开发实例自学手册\CRM\CRM\bin\Debug\DevExpress.Utils.v7.2.dll" /r:"E:\计算机\vc#\Visual C#项目开发实例自学手册\CRM\CRM\bin\Debug\DevExpress.XtraNavBar.v7.2.dll" /r:C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\8.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.Common.dll /r:C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WinForms\8.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WinForms.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Design.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.Services.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /compile DataManage\frmAreaManage.resx,obj\Debug\CRM.DataManage.frmAreaManage.resources DataManage\frmClientManage.resx,obj\Debug\CRM.DataManage.frmClientManage.resources DataManage\frmOppManage.resx,obj\Debug\CRM.DataManage.frmOppManage.resources DataManage\frmRClient.resx,obj\Debug\CRM.DataManage.frmRClient.resources Help\frmAboutUs.resx,obj\Debug\CRM.Help.frmAboutUs.resources PInfoManage\frmBInfoManage.resx,obj\Debug\CRM.PInfoManage.frmBInfoManage.resources PInfoManage\frmEInfoManage.resx,obj\Debug\CRM.PInfoManage.frmEInfoManage.resources PInfoManage\frmGInfoManage.resx,obj\Debug\CRM.PInfoManage.frmGInfoManage.resources PInfoManage\frmImportantEvent.resx,obj\Debug\CRM.PInfoManage.frmImportantEvent.resources Properties\Resources.resx,obj\Debug\CRM.Properties.Resources.resources SumManage\frmCLAnalyse.resx,obj\Debug\CRM.SumManage.frmCLAnalyse.resources SumManage\frmCRAnalyse.resx,obj\Debug\CRM.SumManage.frmCRAnalyse.resources SysManage\frmDataClear.resx,obj\Debug\CRM.SysManage.frmDataClear.resources SysManage\frmDataRevert.resx,obj\Debug\CRM.SysManage.frmDataRevert.resources SysManage\frmDataStore.resx,obj\Debug\CRM.SysManage.frmDataStore.resources UserManage\frmEditPwd.resx,obj\Debug\CRM.UserManage.frmEditPwd.resources UserManage\frmEditRight.resx,obj\Debug\CRM.UserManage.frmEditRight.resources UserManage\frmUserManage.resx,obj\Debug\CRM.UserManage.frmUserManage.resources frmLogin.resx,obj\Debug\CRM.frmLogin.resources frmMain.resx,obj\Debug\CRM.frmMain.resources
frmMain.resx(3949,4): error RG0000: “.”(十六进制值 0x00)是无效的字符。 行 3949,位置 4。
我的开发环境为 win7+vs2010+水晶报表10(貌似vs已经自带了吧,我是新手,不太清楚)
还请高手指教,非常感谢。