Why can't GitHub Self-Hosted Runner find the included CrystalDecisions.CrystalReports.Engine package? #122597
Replies: 1 comment
-
When I build and debug the application, then try to go to any report, I get this error:
The weird thing is I can find the assembly CrystalDecisions.ReportAppServer.CommLayer in my local |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I maintain an old ASP.NET VB.NET WebForms application written years ago. I don' think anyone knows who started it, because whoever started it didn't put the source code into any version control system. Then when the last guy left, before I was given it to maintain, he asked that his machine be reimagined, so I had to put it together from bits and pieces he left scattered around different servers. Last year I migrated the project to a repo in one of our GitHub organizations. I installed a GitHub Self-Hosted Runner onto one of our internal servers, since this web app runs as an Intranet app, with no exposure for a GitHub Runner to reach.
I can build the app fine on my dev box. However, the GH self-hosted runner will not build it. I've got a GH Action set up to perform the build on a child branch of main, when I push to it. It fails with this error:
Here's a code snippet that causes the above error:
Previously I pulled in the CrystalDecisions.CrystalReports.Engine package from NuGet.
So, I've got the NuGet package, in the solution. Visual Studio shows it there and it's fine. But GH self-hosted runner can't find it. Huh?? I don't get it, how can it simultaneously be there, but not be there?
Here's a snippet from my YAML file:
Beta Was this translation helpful? Give feedback.
All reactions