Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1507
  • Last Modified:

Problem with Crystal Reports on TFS Build Computer

I am using TFS2010, and have set up to use the Build functionality to build  one of my solutions.  All seems to be going well, except it is complain as follows":

Inventory\frmRecipes.resx (271): Could not load file or assembly 'file:////DEV2K3/ExternalReferences/CrystalDecisions.CrystalReports.Engine.dll' or one of its dependencies. The system cannot find the file specified. Line 271, position 5.

I have all my shared assemblies in a network share, and a Reference path parameter set in  MSBuild.  I know that is working as it finds all the other assemblies there.  

I have checked that this file, and all the other Crystal Reports files referenced in my prpgram are also there, so I am guessing it is a dependency that is missing.  I have also used depend to see hwt it might be, but it only talks about standard windows files, all of which are on the TFS/build computer.

My fear is I will have to install Crystal Reports on the build computer, but I thought the idea of MSBuild was you only needed th assemblies, not the full installations?

Has anyone else had experience of using MSBuild with Crystal Reports 2008?

0
townsma
Asked:
townsma
  • 3
  • 3
1 Solution
 
mlmccCommented:
Which assemblies for Crystal are you using?

Crystal includes msi and msm files for use in building.

mlmcc
0
 
townsmaAuthor Commented:
When I refer to building, I mean just the MSBuild building i.e. Compile and Link, not building the installer, which is what the msm and msi are designed for.

On my build computer, I reference a share which contains all the assemblies directly referenced by my vistual studio solution. For all the other assemblies, i.e. Infragistics, SQL, PointofService etc. this works fine.

My solution directly references five Crystal Reports assemblies, all of these are in the share I mentioned.

With regards to building the distribution, I do not use the MSMs, as in the past I have found them to be very problematic.  Instead when we distribute our application we also distribute the Crystal Runtime Distribution from their website.
0
 
mlmccCommented:
I think because of the licensing for Crystal you may have to install the assemblies on your machine.

CR2008 uses a NUL or Named User License, so only one user can use the assemblies.  They need to be installed on your machine to ensure that licensing.

mlmcc
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
townsmaAuthor Commented:
So I need to purchase an additional CR license to install on the build computer?   If that is the case, I guess I will not be using CR any longer, and will be looking for an alternative reporting system.
0
 
mlmccCommented:
You are allowed to install Crystal on several machines so long as you are the only one using the license.
In that way you can build the reports on one machine but build the application on another.

mlmcc
0
 
townsmaAuthor Commented:
Ok, so licensing aside.  It looks like I need to install CR on the build server. Was hoping not to need to install the entire CR2008, but will give it a try.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now