mirror of
https://github.com/Ellpeck/Contentless.git
synced 2024-05-20 08:51:22 +02:00
15 lines
337 B
C#
15 lines
337 B
C#
using NuGet.Configuration;
|
|
|
|
namespace Contentless;
|
|
|
|
public class NuGetHelper
|
|
{
|
|
private readonly ISettings _settings;
|
|
|
|
public NuGetHelper(string projectFolder)
|
|
{
|
|
_settings = Settings.LoadDefaultSettings(projectFolder);
|
|
}
|
|
|
|
public string PackageFolder => SettingsUtility.GetGlobalPackagesFolder(_settings);
|
|
} |