Method ResolveReferences
ResolveReferences(string, bool, bool, IList<string>, IList<string>)
Resolves the NuGet package references for the specified framework version.
public static IList<string> ResolveReferences(string frameworkVersion, bool isWpf, bool isMAUI, IList<string> packageReferences, IList<string> unresolvedReferences)
Parameters
frameworkVersion
stringThe target framework version.
isWpf
boolIndicates whether the project is a WPF project.
isMAUI
boolIndicates whether the project is a MAUI project.
packageReferences
IList<string>The list of package references to resolve.
unresolvedReferences
IList<string>The list to store unresolved references.