cancel
Showing results for 
Search instead for 
Did you mean: 

CRVS2010 beta 2 - Share Crystal Between Projects

Former Member
0 Kudos

Hi there

Has anyone managed to share a crystal report between projects in VS2010

What I've found is if I add to project A, it works

Then I add to B and it works in B

But if I then recompile A, it stops working in A

The funny thing is that if you debug the application, it works perfectly

If you run from the EXE (even on the developer machine) it gives an error "Resource can not be found in the project manifest"

(PS If you upgraded a shared file, you may not pick up issues until you start making changes to any of the shared files, and then too when you later compile and redistribute)

I looked at the .vb source code, and I beleive this is the guilty party!

Public Overrides Property FullResourceName() As String

Get

Return "WHDStorageWHS.crpGRVPrintOut.rpt"

End Get

Set

'Do nothing

End Set

End Property

FullResourceName Property has the Project Name generated into the Name...I'm guessing that is the issue

My 2003 CR vb files does not have FullResourceName in it

If anyone can provide help I will appreciate it

For now I have been forced to keep different copies of the file and manage it that way

Cheers,

Ridwan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Has anyone come up with a solution for linking Report files between .NET projects where the FullResourceName property identifies the originating project? I've recently updated my report files from VS for 2005 to VS for 2010 (not beta) and had the FullResourceName property added to each report. Now I see the error stating that the report can't be found in the manifest in the second project that references the reports as linked files. Thanks

0 Kudos

Post is marked as answered, please create a new one.

Thank you

Answers (1)

Answers (1)

0 Kudos

Final Production release is now available. See this thread for more info: