mirror of
https://github.com/Ellpeck/Contentless.git
synced 2024-05-17 07:38:43 +02:00
a10689e3bb
* Add extraction of project file path.
* Add field for reference syncing in config file.
* Add new dependencies.
* Add sync algorithm for references.
* Update version
* Fix ups
* Rename ReferenceHeader
* Fix message
* Check arguments count.
* Fix
* Revert "Update version"
This reverts commit e24d75d18a
.
* Change error logic - no return
* Add adding new references.
* Add more true NuGet support.
* Fix braces.
* Fix First call.
---------
Co-authored-by: Ell <me@ellpeck.de>
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);
|
|
} |