-
Notifications
You must be signed in to change notification settings - Fork 29
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
Warn if testproject includes multiple versions of the Nunit.Engine #515
Comments
The wrongly added engine package will overwrite the version embedded with the adapter, so it needs to know [ read ] which version is the adapter, and then check if the engine is the correct version, based on the table here: https://docs.nunit.org/articles/vs-test-adapter/Adapter-Engine-Compatibility.html. |
Is there any practical reason to include the NuGet-console NuGet package when using the adapter? |
@manfred-brands I would say so, but in some cases, some people want the console, and since the engine follows the console, they have to match. |
I created a test project with both, but it doesn't seem to matter. I also tried to create an analyzer to see if I can detect this. |
From nunit/nunit#4279 (comment)
As far as I can Google it is not possible to analyze the csprojs directly, but perhaps we can determine if the are multiple versions of the engine loaded at the same time (this could also be a more general solution).
The text was updated successfully, but these errors were encountered: