Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

ReportDefinition error and others in auto-generated code VS2010

$
0
0

I am using VS2010 and am getting multiple issues in the auto-generated code in CrystalReport1.vb code file.

The issues are:

Me.ReportDefinition.Sections(0)

The error at the above line is 'ReportDefinition' is not a member of WindowsApplication1.CrystalReport1

 

 

Public Overrides Property FullResourcesName() As string

 

 

In the above line the editor suggests removing the keyword "Overrides"

 

 

I have searched extensively on the internet for a solution to the above issue but to no avail.

 

 

Please note that I have already changed the compiler to .NET Framework4 from Client Profile and target CPU is set to x86.

Please also refer to the following thread where Mr.Edwin Mulwa has questioned this error and the inability of experts to provide a lasting solution to it:

 

 

CRYSTAL Reports 2010 for VS 2010 issues

 

While trying to resolve the error,I found that I could delete the file and the report generation is not affected.Is there a way to permanently suppress the regeneration of this file on subsequent load/compile?

Khalid.


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>