When deploying a new version of my application to Appharbor that uses the Crystal Reports assembly: CrystalDecisions.CrystalReports.Engine I receive the following error message in the appharbor deployment log:
ResolveAssemblyReferences:
Primary reference "CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL".
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3245: Could not resolve this reference.
Could not locate the assembly "CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL".
Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
I've set "Copy Local" to True in the assembly reference in VS & the DLL exists in the project \BIN directory.
Do I need create a local (non GAC) copy of the DLL and then reference it in the project? If so how does one do this without the GAC version still being referenced?
Or am I doing something wrong with the deploy?
Thanks in advance,
Chris
You should add the dll to local /lib
folder that you push along with your code. The simplest way to ensure that you're referencing the correct dll is to remove the original from the GAC and then make sure that your code works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With