locked
buld error with vs2008 web app C# RRS feed

  • Question

  • User536607801 posted

    Hi I upgraded a 2003 .net web app to 2008 and get the following build error,

    Could not load file or assembly 'CrystalDecisions.Shared, Version 1= 10.2.36000.0 or one of its dependancies', The system cant find the file specified.  In the web.config it is trying to add version 10.5.3700, so not sure why this error is occuring.  The solution contains 2 projects.

    Thursday, October 7, 2010 12:30 PM

Answers

  • User536607801 posted

    thanks for the information, got it to build ok, it was trying to use a web.config from the backup (original vs2005 app). 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 7, 2010 7:14 PM

All replies

  • User-1173612797 posted
    1. Is that CrystalDecisions.Shared coming from a project within your solution, or is it an external assembly?
    2. Please check the build error, and check which project is giving the error. After that, check the references of that project. If a reference exists, select it, and check your property window. Check if 'specific version' is set to false.
    3. In case you don't have a reference to the that CrystalDescisions project, try to put the assembly with the requested version in the \bin folder of your project. Rebuild and see if the error is gone.
    4. Check your project -> \Properties\AssemblyInfo.cs for mismatching versionnumbers.
    Thursday, October 7, 2010 1:36 PM
  • User536607801 posted

    thanks for the information, got it to build ok, it was trying to use a web.config from the backup (original vs2005 app). 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 7, 2010 7:14 PM