mirror of
https://github.com/Ellpeck/Contentless.git
synced 2024-06-01 13:33:38 +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);
|
||
|
}
|