-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
Description
Currently, local NuGet Packages, Link Libraries and Windows Metadata files are managed in a very messy way:
- They are stored in
src/Files.App/nupkgswhich is not a PascalCase folder like others
Preferably, they should be stored in a place like
pkgs/*orsrc/Packages/*etc.
App extension files (link libraries) are stored in the rootsrc/Files.Appdirectory.
This is a bad idea as it clutters the codebase when they could more neatly be organised in the same directory as the NuGet package store, or inside another folder altogether.
- The NuGet Gallery server entry is duplicated in the NuGet package manager
This is because the NuGet Gallery endpoint is also listed inside Files's
nuget.configfile which it should not as this entry is already provided automatically by Visual Studio.
Concerned code
Line 4 in a4641ff
<add key="NuGet official package source" value="https://api.nuget.org/v3/index.json" /> Line 5 in a4641ff
<add key="Local Packages" value="src/Files.App/nupkgs/" /> src/Files.App/*.dllsrc/Files.App/nupkgs/
Gains
- Better codebase structure
- Less confusion when choosing a package source
- Central store for NuGet Packages, Link Libraries and Windows Metadata files
Requirements
This should be removed.
- <add key="NuGet official package source" value="https://api.nuget.org/v3/index.json" />This should be changed to a different pattern that matches with the rest of the codebase.
- <add key="Local Packages" value="src/Files.App/nupkgs" />
+ <add key="Local Packages" value="src/Files.App/Packages" />- <add key="Local Packages" value="src/Files.App/nupkgs" />
+ <add key="Local Packages" value="src/Packages" />- <add key="Local Packages" value="src/Files.App/nupkgs" />
+ <add key="Local Packages" value="nupkgs" />- <add key="Local Packages" value="src/Files.App/nupkgs" />
+ <add key="Local Packages" value="pkgs" />The dll files should also be migrated to the same or a similar store.
Comments
N/A
Metadata
Metadata
Assignees
Labels
Type
Projects
Status

