question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 6 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lastherocommented, Dec 13, 2017

@jnm2 - just created a pull request for this issue. Please let me know with any comments. Thanks!

Chih-Ho

0reactions
jnm2commented, Dec 12, 2017

Alright, it’s yours! I’m assigning the issue to myself to keep track of it. Let us know if you need any help!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found