MSBuild task to install Nuget packages from local packages folder downloaded by Nuget Package Restore
The original NugetPackageRestore added packageInstaller.xst on the packages' folder. This works well for one Web project, but multiple web projects means that the second Web project does not run the Task, hence an incomplete restore.
This enhanced Nuget appends the project name to the packageinstaller.xst to ensure that the Task is run for all individual projects.
Install-Package NugetPackageRestoreEnhanced -Version 1.0.2
dotnet add package NugetPackageRestoreEnhanced --version 1.0.2
<PackageReference Include="NugetPackageRestoreEnhanced" Version="1.0.2" />
paket add NugetPackageRestoreEnhanced --version 1.0.2
#r "nuget: NugetPackageRestoreEnhanced, 1.0.2"
// Install NugetPackageRestoreEnhanced as a Cake Addin #addin nuget:?package=NugetPackageRestoreEnhanced&version=1.0.2 // Install NugetPackageRestoreEnhanced as a Cake Tool #tool nuget:?package=NugetPackageRestoreEnhanced&version=1.0.2
- Changed .targets and nuspec files to reflect the assembly name change.
- Added nuspec to target multiple frameworks
-Initial release. Added multi-project support based on NugetPackageRestore 1.0.5 by Alberto Rechy.
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.