Compile error happened since 12.25

Ask general questions here.
Anvina
Posts: 2
Joined: Mon Dec 25, 2017 3:47 am

Compile error happened since 12.25

Post by Anvina » Mon Dec 25, 2017 3:50 am

Hello Ranorex,

I encountered an compile error this morning in my solution:
The "Ranorex.MSBuildTasks.CreateRanorexEntryPointTask" task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Ranorex8.0\\Ranorex.MSBuildTasks.exe. Could not load file or assembly 'file:///C:\Program Files (x86)\MSBuild\Ranorex8.0\Ranorex.MSBuildTasks.exe' or one of its dependencies. Operation did not complete successfully because the file contains a virus or potentially unwanted software. (Exception from HRESULT: 0x800700E1) Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. (MSB4062) - C:\Program Files (x86)\MSBuild\Ranorex8.0\Ranorex.MSBuild.Targets:90,9

I used to compile the solution successfully last Friday, and during the weekend, I didn't do anything change in the solution, and then get this error.
Could you please help me solve the issue?

Thanks!

ahoisl
Certified Professional
Certified Professional
Posts: 125
Joined: Fri Sep 07, 2007 8:16 am

Re: Compile error happened since 12.25

Post by ahoisl » Mon Dec 25, 2017 12:32 pm

Do you have an Anti Virus scanner running? We are experiencing some false positive detection on some AV engines.
Please see if the file was detected and exclude it and the corresponding directory from scans. Thank you!

Regards,
Alex
Ranorex Team

Anvina
Posts: 2
Joined: Mon Dec 25, 2017 3:47 am

Re: Compile error happened since 12.25

Post by Anvina » Tue Dec 26, 2017 1:58 am

Yes, the .exe file was banned by our defender. The issue has been fixed.
Thanks for your help Alex! ^^