when nuget search for the config file to use, it seaches a file call nuget.config under solutionDir/nuget/ first and then in the parents directories.
but it does not search for a config file in the nuget.exe directory.
With the below directory structure :
----.nugetUpgrader
| NuGet.Config
| NuGet.exe
| NuGet.targets
|
----AppDir
| | AppDir.sln
| ----.nuget
| | NuGet.Config
----packages
| | repositories.config
| ----CommonServiceLocator.1.0
| | | CommonServiceLocator.1.0.nupkg
| | |
| | ----lib
| | ----NET35
| | | Microsoft.Practices.ServiceLocation.dll
| | | Microsoft.Practices.ServiceLocation.pdb
| | | Microsoft.Practices.ServiceLocation.XML
| | |
| | ----SL30
| | Microsoft.Practices.ServiceLocation.dll
| | Microsoft.Practices.ServiceLocation.XML
| |
when i used the following command line /.nugetUpgrader/nuget.exe install -solutionDir AppDir ...
the file /.nugetUpgrader/nuget.config is not read, but it use the config file under AppDir/.nuget
Comments: Thank you for your answers guillaume
but it does not search for a config file in the nuget.exe directory.
With the below directory structure :
----.nugetUpgrader
| NuGet.Config
| NuGet.exe
| NuGet.targets
|
----AppDir
| | AppDir.sln
| ----.nuget
| | NuGet.Config
----packages
| | repositories.config
| ----CommonServiceLocator.1.0
| | | CommonServiceLocator.1.0.nupkg
| | |
| | ----lib
| | ----NET35
| | | Microsoft.Practices.ServiceLocation.dll
| | | Microsoft.Practices.ServiceLocation.pdb
| | | Microsoft.Practices.ServiceLocation.XML
| | |
| | ----SL30
| | Microsoft.Practices.ServiceLocation.dll
| | Microsoft.Practices.ServiceLocation.XML
| |
when i used the following command line /.nugetUpgrader/nuget.exe install -solutionDir AppDir ...
the file /.nugetUpgrader/nuget.config is not read, but it use the config file under AppDir/.nuget
Comments: Thank you for your answers guillaume