We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NUnit Engine/API versions 3.19.1.
How should extensions be loaded now? With the latest nunit-console (3.19.1) and engines/api, our extensions are no longer loading.
From the source code, you can see a major change here where the code is only looking at specific folders that match hardcoded patterns:
public void FindExtensionAssemblies(Assembly hostAssembly) { log.Info($"FindExtensionAssemblies called for host {hostAssembly.FullName}"); bool isChocolateyPackage = System.IO.File.Exists(Path.Combine(hostAssembly.Location, "VERIFICATION.txt")); string[] extensionPatterns = isChocolateyPackage ? new[] { "nunit-extension-*/**/tools/", "nunit-extension-*/**/tools/*/" } : new[] { "NUnit.Extension.*/**/tools/", "NUnit.Extension.*/**/tools/*/" }; IDirectory startDir = _fileSystem.GetDirectory(AssemblyHelper.GetDirectoryName(hostAssembly)); while (startDir != null) { foreach (var pattern in extensionPatterns) foreach (var dir in _directoryFinder.GetDirectories(startDir, pattern)) ProcessDirectory(dir, true); startDir = startDir.Parent; } }
Does the documentation around loading extensions need to be updated, or is there a way to get engine to allow for other folders to contain extensions?
The text was updated successfully, but these errors were encountered:
Is Chocolatey involved in your case? Then have a look at #1614
Addins files must still be supported #1504
Sorry, something went wrong.
We are not using chocolately.
No branches or pull requests
NUnit Engine/API versions 3.19.1.
How should extensions be loaded now? With the latest nunit-console (3.19.1) and engines/api, our extensions are no longer loading.
From the source code, you can see a major change here where the code is only looking at specific folders that match hardcoded patterns:
Does the documentation around loading extensions need to be updated, or is there a way to get engine to allow for other folders to contain extensions?
The text was updated successfully, but these errors were encountered: