?
Solved

Problem with Crystal Reports on TFS Build Computer

Posted on 2010-09-14
6
Medium Priority
?
1,524 Views
Last Modified: 2013-11-10
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
Comment
Question by:townsma
  • 3
  • 3
6 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 33677478
Which assemblies for Crystal are you using?

Crystal includes msi and msm files for use in building.

mlmcc
0
 
LVL 6

Author Comment

by:townsma
ID: 33678251
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
 
LVL 101

Expert Comment

by:mlmcc
ID: 33678498
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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
LVL 6

Author Comment

by:townsma
ID: 33678647
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
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 33678670
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
 
LVL 6

Author Comment

by:townsma
ID: 33678686
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

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question