Replies: 1 comment 2 replies
-
The Visual Studio extension loads the source location from the PDB file using the dnlib library here: https://github.com/reqnroll/Reqnroll.VisualStudio/blob/main/Connectors/Reqnroll.VisualStudio.ReqnrollConnector/SourceDiscovery/DnLib/DnLibDeveroomSymbolReader.cs (We use dnlib v3.3.5 currently.) Based on the error you mention I think it does not find the PDB file in the package. But it is also a good question what would be the case if it would find the PDB with the source path there. We would need to resolve it with Source Link and even in that case it would only be a Web URL that would need to be downloaded, etc. Pretty complex. I don't think there is a public API of VS that we could use to do all this task, so we would need to re-implement all the magic that VS does to be able to support this. Do you have any suggestion on how this should work? Do you want this to work on packages that were built locally (so the path in the PDB exists)? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently in the middle of migrating a Specflow/Net6 project to Reqnroll/Net8. In addition to this migration, we are also needing to package up our step libraries into nuget packages. I have found this specifically has caused some issues with our framework, namely the following.
When I now attempt to F12/go to definition for a step contained within a nuget, it will now throw the following error within the output.
"Warning: ShowProblem: User Notification: Unable to jump to the step definition. No source location detected."
Is this a limitation of using steps that come from a nuget, or am I potentially doing something wrong here?
Beta Was this translation helpful? Give feedback.
All reactions