dotnet store stores the specified assemblies in the runtime package store. By default, assemblies are optimized for the target runtime and framework. For more information, see the runtime package store topic.
Required options
-f|--framework <FRAMEWORK>
Specifies the target framework. The target framework has to be specified in the project file.
-m|--manifest <PATH_TO_MANIFEST_FILE>
The package store manifest file is an XML file that contains the list of packages to store. The format of the manifest file is compatible with the SDK-style project format. So, a project file that references the desired packages can be used with the -m|--manifest option to store assemblies in the runtime package store. To specify multiple manifest files, repeat the option and path for each file. For example: --manifest packages1.csproj --manifest packages2.csproj.
Specifies the .NET SDK version. This option enables you to select a specific framework version beyond the framework specified by the -f|--framework option.
-?|-h|--help
Prints out a description of how to use the command.
-o|--output <OUTPUT_DIRECTORY>
Specifies the path to the runtime package store. If not specified, it defaults to the store subdirectory of the user profile .NET installation directory.
Skips symbol generation. Currently, you can only generate symbols on Windows and Linux.
-v|--verbosity <LEVEL>
Sets the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]. For more information, see LoggerVerbosity.
-w|--working-dir <WORKING_DIRECTORY>
The working directory used by the command. If not specified, it uses the obj subdirectory of the current directory.
Examples
Store the packages specified in the packages.csproj project file for .NET 6.0.1:
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija:
Pridružite se seriji susreta kako biste s kolegama programerima i stručnjacima izgradili skalabilna rješenja umjetne inteligencije temeljena na stvarnim slučajevima upotrebe.