Problem with ReportToPDF - Assembly error

Ask general questions here.
BlindJones
Posts: 46
Joined: Fri May 17, 2019 7:10 am

Problem with ReportToPDF - Assembly error

Post by BlindJones » Wed Mar 25, 2020 3:52 pm

Hi everyone,

I linked a solution to AzureDevOps and commited it there.

Now I have the problem, that the solution can not be build anymore, the error message is:

"Metadatendatei "C:\Users\XYZ\Desktop\Ranorex Projects\QA TEAM\XYZ\packages\Ranorex.ReportToPDF.1.0.16\lib\net40\Ranorex.ReportToPDF.exe" wurde nicht gefunden. (CS0006)"

This is the message under output:
"
Error loading code-completion information for Ranorex.ReportToPDF, Version=1.0.16.0, Culture=neutral, PublicKeyToken=null from C:\Users\XYZ\Desktop\Ranorex Projects\QA TEAM\XYZ\packages\Ranorex.ReportToPDF.1.0.16\lib\net40\Ranorex.ReportToPDF.exe:
Could not find assembly file. "

When I look into that folder, the file is there.

I tried to delete the automation helper and ReportToPDF, but that did not help.

Can someone help me with that?

Thank you in advance!

User avatar
N612
Posts: 135
Joined: Mon Jul 11, 2016 4:01 pm

Re: Problem with ReportToPDF - Assembly error

Post by N612 » Wed Mar 25, 2020 6:51 pm

After ADO builds, make sure to do a NuGet restore after. This should grab the ReportToPDF files needed from NuGet.
ado.png
ado.png (9.36 KiB) Viewed 217 times

BlindJones
Posts: 46
Joined: Fri May 17, 2019 7:10 am

Re: Problem with ReportToPDF - Assembly error

Post by BlindJones » Wed Mar 25, 2020 7:10 pm

Thank you for your answer, N612.

My Problem is Not the ADO - Pipeline, my Problem is, that I can Not Build the Solution within Ranorex Studio anymore. :cry:

Anymore ideas? Can I change the path for the ReportToPDF?