I have created a solution in Visual Studio where I have used specflow and other plugins.Also I have created another project in Ranorex 9.0.0 where I have identified all the objects of my application and made an object repository.
I have used that repository project (created in Ranorex) in Visual Studio Solution.
This solution is getting build without any issues in Visual Studio,but whenever I am trying to open this solution in Ranorex it's giving below errors.
1. The 'ResolveComReference' task could not be instantiated from Microsoft.Build.Tasks.Core,Version =15.1.0.0......Could not load file or assembly 'Microsoft.Build,Version =15.1.0.0,....
2. "GenerateAll"task could not be instantiated from "D:\Jenkins20\......\APEDesktop\packages\Specflow2.3.2\tools\specflow.exe".Could not load file or assembly 'Microsoft.Build,Version =15.1.0.0,....
I m using Visual Studio 2017 Professional and .Net Framework 4.7.2
Please provide some solutions,as I have tried couple of solutions from net but none of them worked properly.

Thanks,
Debarati