You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reference transitive not working well when app and libs has different targetFramework, and lib use an transitive reference from special targetFramework of an multi-targetFramework PackageReference/ProjectReference #3103
This can also happen with PackageReference. I reference Dapper from an ClassLibrary with netstandard2.0, and the main App is net472, and failed to found System.Data.SqlClient, Version=4.5.0.0.
Expected:
The FileNotFoundException not happen and the System.Data.SqlClient, Version=4.5.0.0 is include in the output bins.
The below behavior may be not expected, but it's the current behavior for project struct(dependencies) in VS2019. (Rider follow the actual behavior for project struct)