No driver found if framework assembly reference has uppercase characters
See original GitHub issue.NET assembly references are not case sensitive, but the engine fails to find a driver unless the assembly reference is precisely the lowercase string "nunit.framework"
.
https://github.com/nunit/nunit-console/blob/416b54d2a215466a861b3fbea82adeb3c820ec62/src/NUnitEngine/nunit.engine/Drivers/NUnit3DriverFactory.cs#L32-L42 We should be doing something similar to:
return NUNIT_FRAMEWORK.Equals(reference.Name, StringComparison.OrdinalIgnoreCase) && reference.Version.Major == 3;
Besides the correctness issue, this prevents us from ever deciding to ship an NUnit.Framework.dll
(using the conventional namespace styling) in any packaging form.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
The reference assemblies for framework ".NETFramework ...
Mine is asking for v4.6.1 (reference assemblies) and it shows v4.6.1 (development tools) installed via the installer... still trying to figure ...
Read more >Console and Engine Release Notes
NET Core runtime is found on machine; #1224 Change name of NUnit Net Core ... 309 No driver found if framework assembly reference...
Read more >Convert characters of a string to opposite case
Given a string, convert the characters of the string into the opposite case,i.e. if a character is the lower case then convert it...
Read more >The reference assemblies for .NETFramework, Version=v4. ...
I installed Visual Studio Enterprise 2022 64 bit Version 17.1.3 on Windows 10 21H2 and with Python 3.9.12 installed under C:\Python\Python39_64.
Read more >Using wildcard in 'ls' command to find files containing ...
What characters [A-Z] matches depends on your locale. You have clarified that you want to show all filenames that contain at least on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jnm2 - just created a pull request for this issue. Please let me know with any comments. Thanks!
Chih-Ho
Alright, it’s yours! I’m assigning the issue to myself to keep track of it. Let us know if you need any help!