3 weeks ago
I have to maintain an old VB.NET ASP.NET WebForms app written years ago. I don't know what version of the .NET Framework it was originally written in, because whoever started it didn't put it into any version control and they didn't document it. I've upgraded it to .NET Framework 4.5.2. Recently I migrated all of our TFS repos to GitHub. The original developer added all assemblies/packages using a common pattern from the early 2000s, by adding the DLL to the project, then adding an Imports at the top of every .vb file that needed it. Because the project is now in GitHub, it no longer has the Packages folder that is off the root of the Visual Studio Solution. But that doesn't really matter, because VS re-creates the Packages folder.
Anyway, the problem I'm experiencing is the original developer put the CrystalDecisions.CrystalReports.Engine into multiple projects. I added it to the first project that complained about CrystalDecisions.CrystalReports.Engine not being there, using this syntax:
NuGet\Install-Package CrystalDecisions.CrystalReports.Engine -Version 1.0.0
Which I got off of NuGet
The problem I'm encountering is I cannot use that same command in Package Manager Console, for any other VS projects. I'll get an error that says CrystalDecisions.CrystalReports.Engine.1.0.0 already exists, so it won't allow me to run it. I had thought that VS would put packages into separate folders for each project, but I'm wrong about that. And VS won't "see" CrystalDecisions.CrystalReports.Engine when I run it. (VS sees it find when I build it, but it won't when I debug it.)
Why does VS not see CrystalDecisions.CrystalReports.Engine in any of the other projects that uses CrystalDecisions.CrystalReports.Engine? How do I get CrystalDecisions.CrystalReports.Engine into all Visual Studio projects that use it?
Hi Rod,
Don't use GitHub, SAP doesn't support it because it's usually out of date and for some reason they change the version.
Go here to get the latest runtime:
https://help.sap.com/docs/SUPPORT_CONTENT/crystalreports/3354091173.html
CR for VS are full builds, meaning it doesn't get patched, and the latest is only version supported, meaning if any issue are found you have to use the latest version, if you replicate the issue SAP will fix it.
Also note the Platforms info:
SAP Crystal Reports for Visual Studio Supported Platforms
Only supported Framework is 4.6, 4.7 and 4.8 because Microsoft no longer supports old versions.
Lots of reasons, security updates are the biggest fixes.
I highly recommend using the latest with 4.8 framework, also, 32 bit runtime is going away so run IIS in 64 bit mode and use CR for VS 64 bit runtime, note due to some legacy dependencies you still need to install both 32 and 64 bit MSI packages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.