Table of Contents

Method ResolveReferences

Namespace
Alternet.Common.DotNet
Assembly
Alternet.Common.v10.dll

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 string

The target framework version.

isWpf bool

Indicates whether the project is a WPF project.

isMAUI bool

Indicates 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.

Returns

IList<string>

A list of resolved references.