# README
Nuget resolution logic
There are two supported files for resolution of nuget lock files:
packages.config
We need to convert a packages.config
file to a .csproj
file. This is to enable the use of the dotnet restore command
that enables Debricked to parse out transitive dependencies. This may add some additional framework dependencies that
will not show up if we only scan the packages.config
file. This is done in a few steps:
- Parse
packages.config
file - Run
dotnet --version
to get dotnet version - Collect unique target frameworks and packages from the file
- Create
.nuget.debricked.csproj.temp
file with the collected data
With this done we can move on to the next section
.csproj
- Run
dotnet restore <file> --use-lock-file --lock-file-path <lock_file>
in order to restore the dependencies and tools of a project (lock file name can be different depend on which manifest file is being resolved) - Cleanup temporary csproj file after lock file is created (for
packages.config
case)
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author