Utilising the teamcity-event-listener.dll with net8.0 console runner exe on V3.19.1 #1611
Unanswered
emeraldmonkee
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am currently in the process of upgrading my project from framework 4.7.2 to .NET 8.
I use TeamCity to build my projects and I am currently adjusting Kotlin build steps for TeamCity to be able to utilise the latest version of this console runner.
I am currently specifying the path C:\Program Files (x86)\NUnit-3.19.1\bin\net462\nunit3-console.exe as the nunit path in my nunit call within my Kotlin script and for non-net8 variations of my project, it works!
However when I attempt to run build of a .NET8 variation of my project, this will obviously not work as I need to utilise the console runner from the net8.0 folder instead... Correct me if I am wrong.
When I list the available extensions for the net462 console runner ("C:\Program Files (x86)\NUnit-3.19.1\bin\net462\nunit3-console.exe" --list-extensions) it clearly states that it picks up the teamcity-event-listener.dll from your new extension folder you have introduced recently:
C:\Program Files (x86)\NUnit-3.19.1\NUnit.Extension.TeamCityEventListener.1.0.7\tools\teamcity-event-listener.dll
However when I attempt to run the --list-extensions for the following path:
"C:\Program Files (x86)\NUnit-3.19.1\bin\net8.0\nunit3-console.exe" --list-extensions
(Difference is utilising the net8.0 folder variation of the console runner exe)
The teamcity-event-listener.dll is no longer present and when I run the command to run my nunit command in my Kotlin script to use the net8.0 console runner in 3.19.1, it clearly states a failure in my build process...
Option --teamcity specified but TeamCityEventListener is not installed
I know this has been explored before in previous discussions and even had fixes on earlier versions, so I just need clarification to see if this is intentional. If the teamcity-event-listener.dll is no longer compatible with .NET 8 projects then I would greatly appreciate a workaround for this issue. If it is compatible, I am not sure why the connection has not been made between the extension and the net8.0 console runner exe.
I am new to this so any advise/guidance would be helpful, thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions