-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Could not find a test logger with AssemblyQualifiedName, URI or FriendlyName 'GitHubActions'. #5
Comments
The dll doesn't seem to be copied to the bin folder which might be why it cannot detect it. |
Just to make sure, are you referencing the nuget package in your test project (i.e. not main project)? Something like this: |
Yep. Well actually I'm using a I'm using .net core 2.1 and I see you are using 3 - wonder if that is a factor |
Ok I've created a simple .NET core 3.1 project locally and I am still getting the same error so that does not seem to be relevant. |
Does it work if you clone the project I linked and run |
ok scrap that I'd missed the import 🤦 |
Ahh. I think .NET Core 2.1 apps and lower didn't copy their dependencies to the output folder. It can be enabled with a project property: <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> |
Just found the exact thing myself 👍 |
You're welcome! |
I'm getting this error
Could not find a test logger with AssemblyQualifiedName, URI or FriendlyName 'GitHubActions'
I'm referencing
Microsoft.NET.Test.Sdk
version16.6.0
which I believe is the latest.Any tips on how to debug this or what I might be missing?
The text was updated successfully, but these errors were encountered: