Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failing in Visual Studio 2013 Community #13

Open
hriosm opened this issue May 25, 2015 · 4 comments
Open

Build failing in Visual Studio 2013 Community #13

hriosm opened this issue May 25, 2015 · 4 comments

Comments

@hriosm
Copy link

hriosm commented May 25, 2015

Build errors while trying to test it.

@Thwaitesy
Copy link
Contributor

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
Copy link

fAntel commented Sep 1, 2015

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
Copy link
Author

hriosm commented Sep 2, 2015 via email

@Thwaitesy
Copy link
Contributor

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:

  • Make the project be a general test project and not a "CodedUI" project - With the CodedUI projects you will notice the .csproj will pull in the references to CodedUI automatically and in the case where your version doesn't allow for CodedUI it will not load the project at all. So make it be a generic test project and you elevate this issue.
  • Add a "Libs" (or something similar) folder somewhere relative to your project in the same source code repository and drop in the 3-4 .dll's required for CodedUI.
  • Add a direct reference to those dll's in your test project. (Not from the public assemblies located on your pc)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants