Skip to content
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

Test discovery fails if the pdb format is "portable" #156

Open
jeromelaban opened this issue Jul 8, 2017 · 8 comments
Open

Test discovery fails if the pdb format is "portable" #156

jeromelaban opened this issue Jul 8, 2017 · 8 comments
Assignees
Labels

Comments

@jeromelaban
Copy link

Using version 2.1.1 of the test adapter, in VS2017 Update 2, the test discovery fails with this error:

Exception System.InvalidOperationException, Exception converting MyTest.

Upgrading the Mono.Cecil package to the latest version (0.10.0-beta6), or using full pdb format fixes the issue.

@CharliePoole
Copy link
Contributor

IIRC, we can't target .NET 2 if we use the latest Mono.Cecil.

@DavidKarlas
Copy link
Contributor

I guess this adapter also needs nunit/nunit3-vs-adapter#350

@jnm2
Copy link
Contributor

jnm2 commented Jul 12, 2017

Who wants to take this? /cc @OsirisTerje

@rprouse
Copy link
Member

rprouse commented Jul 12, 2017

We should implement nunit/nunit3-vs-adapter#350 although it will not fix this for Update 2 of 2017. Those changes are coming in 15.3 and even now they are hidden behind a feature flag, From the RFC,

While the changes for CLI will be available in a future release, changes for IDE are already available in Visual Studio 2017 Update 3 Preview 3 and newer builds but is hidden behind a feature flag.

@codito
Copy link

codito commented Oct 25, 2017

There's a port of nunit/nunit3-vs-adapter#350 to nunit2 here: #160. @jnm2 @rprouse @OsirisTerje can you please review this?

@CharliePoole
Copy link
Contributor

Team members receive a notice when you submit a PR but it sometimes takes a few days before someone has time to review it.

@OsirisTerje
Copy link
Member

@codito Will review this as soon as I have 3.9 out for the NUnit3TestAdapter.

@OsirisTerje OsirisTerje self-assigned this Nov 5, 2017
@mclark1129
Copy link

+1 On VS 2017 15.7.2. Changing to full debug symbols fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants