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

Chutzpah VS extension is shipping MSTest dlls #825

Open
Evangelink opened this issue Jun 5, 2023 · 4 comments
Open

Chutzpah VS extension is shipping MSTest dlls #825

Evangelink opened this issue Jun 5, 2023 · 4 comments

Comments

@Evangelink
Copy link

Hi there,

I am wondering if this is expected that Chutzpah Adapter VS extension is shipping MSTest dlls. My understanding is that chutzpah is not at all relying on MSTest to run its tests (or am I missing something?).

@Evangelink
Copy link
Author

Hi @mmanela,

Is it something you can help me with? Or can you point me to the person who could help here?

@mmanela
Copy link
Owner

mmanela commented Jun 13, 2023

@Evangelink Which specific dlls are you speaking of?

@Evangelink
Copy link
Author

@mmanela The chutzpah adapter extension for VS is shipping the following 2 MSTests dlls:

  • Microsoft.VisualStudio.TestPlatform.TestFramework.dll
  • Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll

Because of some technical limitation we couldn't bump the assembly version of MSTest and so as vstest.console.exe is loading dlls from VS folders before nuget folder, we end up loading MSTest framework dll from your extension which is causing runtime issue (because code was changed).

I was wondering why these 2 dlls are shipped? AFAIK it seems you don't need MSTest from chutzpah to work.

@Epicycle23
Copy link

This might explain why my test explorer stops working again and again with an error "Field TestContext not found.".
It probably uses the shipped dll's.
Just a guess, I ended up disabling the extension which at least for now seems to resolve the issue.

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