Solved

Problem with Crystal Reports on TFS Build Computer

Posted on 2010-09-14
6
1,472 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 100

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 100

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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 100

Accepted Solution

by:
mlmcc earned 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
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 use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

734 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