Page 1 of 1

Compile error happened since 12.25

Posted: Mon Dec 25, 2017 3:50 am
by Anvina
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!

Re: Compile error happened since 12.25

Posted: Mon Dec 25, 2017 12:32 pm
by ahoisl
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

Re: Compile error happened since 12.25

Posted: Tue Dec 26, 2017 1:58 am
by Anvina
Yes, the .exe file was banned by our defender. The issue has been fixed.
Thanks for your help Alex! ^^