-
Notifications
You must be signed in to change notification settings - Fork 105
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
NUnit3TestAdapter 3.8.0-alpha1 Could not find symbol provider type Mono.Cecil.Pdb.NativePdbReaderProvider #325
Comments
Thanks, should be an easy fix. I didn't include the native PDB reader because I didn't think it was needed, but I didn't think of your use case. |
Any news on this issue? Any info is much appreciated. |
I solve it by adding reference to "Mono.Cecil". <PackageReference Include="Mono.Cecil" Version="0.10.0-beta6" /> env: |
Referencing that version of Mono.Cecil works for me too. Will this be included in a future version of NUnit3TestAdapter? |
We copy Mono.Cecil into the adapter NuGet package. We did that for two reasons, first, we use different versions for running .NET Framework tests and for .NET Core tests. The second reason is that Mono.Cecil 10.0 is still pre-release and NuGet raises warnings when a non-pre-release package depends on a pre-release package. |
Hi @rprouse - I see that you've added Mono.Cecil into the package. Strangely enough, even though it's the same version as I've referenced (0.10.0-beta6), the test runner (console or through ReSharper) doesn't pick up the unit tests if Mono.Cecil isn't added as a NuGet reference, as @jiaxuyang mentioned. At least, that's what I'm experiencing... |
* Update appveyor.yml Should report .NET Core test project too * Update appveyor.yml Quotes fix in path * Update appveyor.yml Using dotnet test * Update appveyor.yml Replaced dll path with csproj * Update appveyor.yml OpenCover requires DebugType=full * Update appveyor.yml -oldStyle is needed for pdb guess? * Update PCLExt.FileStorage.Core.Test.csproj nunit/nunit3-vs-adapter#325 * Update appveyor.yml Disable .net core test coverage for now
Adding the reference to my test csproj worked for me |
This was fixed in #454 and is available now at https://www.nuget.org/packages/NUnit3TestAdapter/3.10.0. |
When setting
the test adapter does not discover tests anymore. In
dotnet test
I get a messageUnfortunately full debug information is currently required by OpenCover in order to get coverage information.
The text was updated successfully, but these errors were encountered: