This PR paves the way for actually accessing the right dependency details based on the supplied targetFramework.
It removes the reinvented-wheel logic of using a project parser to guess what target framework to use, but instead utilizes the actual .NET code to parse the target framework.
Once this is merged, it should be just the last thing remaining, which is to return single or multiple results based on how many <TargetFramework> directives we detect.
Part 1: https://github.com/snyk/snyk-nuget-plugin/pull/172 Part 2: https://github.com/snyk/snyk-nuget-plugin/pull/173
This PR paves the way for actually accessing the right dependency details based on the supplied
targetFramework
.It removes the reinvented-wheel logic of using a project parser to guess what target framework to use, but instead utilizes the actual .NET code to parse the target framework.
Once this is merged, it should be just the last thing remaining, which is to return single or multiple results based on how many
<TargetFramework>
directives we detect.