AFrame / aframe

AFrame is a .NET automation framework that leverages existing frameworks such as Selenium for web apps, Microsoft Coded UI for desktop apps and Appium for mobile apps. At its core, AFrame provides a common programming interface across all three platforms encouraging maintainability, reuse and many more side effects.
https://aframe.github.io/
MIT License
10 stars 14 forks source link

Build failing in Visual Studio 2013 Community #13

Open hriosm opened 9 years ago

hriosm commented 9 years ago

Build errors while trying to test it.

Thwaitesy commented 9 years ago

I would imaging its due to CodedUI test functionality. You can unload the desktop stuff if you dont need it and it will work happily.

fAntel commented 9 years ago

Hello. I have the same issue with Visual Studio 2015 Professional. But I need CodedUI. About problem. Compiler say that it cannot find Microsoft.VisualStudio.TestTools.UITest.Extension version 12.0... I don't know why Visual Studio want assemblies exactly this version. Then I downloaded code and tried to recompile. But compiler say that it cannot find Coded UI classes and that I forgot add references. But all references was added. Only version 14 but not 12 because I use Visual Studio 2015. Can you explain how can I recompile project or what is wrong I am doing?

hriosm commented 9 years ago

Hi Anton,

I could not. When I could compile some part, I’d get a problem some other place. Some months ago, I read there was a problem with last Selenium version and had to use some previous version. I changed to Python + Linux without problems.

Regards

From: Anton Kovalyov Sent: Tuesday, September 01, 2015 2:49 PM To: AFrame/aframe Cc: HRIOS Subject: Re: [aframe] Build failing in Visual Studio 2013 Community (#13)

Hello. I have the same issue with Visual Studio 2015 Professional. But I need CodedUI. About problem. Compiler say that it cannot find Microsoft.VisualStudio.TestTools.UITest.Extension version 12.0... I don't know why Visual Studio want assemblies exactly this version. Then I downloaded code and tried to recompile. But compiler say that it cannot find Coded UI classes and that I forgot add references. But all references was added. Only version 14 but not 12 because I use Visual Studio 2015. Can you explain how can I recompile project or what is wrong I am doing?

— Reply to this email directly or view it on GitHub.

Thwaitesy commented 9 years ago

We have seen this issue before with VS 2013 Test Professional. Only certain versions of VS allow for the full functionality of CodedUI.

Our work around was this:

That should allow the project to load on VS open, and also allow it to work when running tests as the dll's are there.

P.S - I assume this method might breach some terms and conditions with Microsoft as you are getting around their licencing restrictions. For us, we had to do it as a stop gap measure for some users that were waiting for their licences to come through.

I take no responsibility for any issues with Microsoft or anyone else that arise from using the above workaround.