dotnetstore 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 top‐
ic.
Requiredoptions
• -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 packagestoremanifestfile 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 refer‐
ences 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 ex‐
ample: --manifestpackages1.csproj--manifestpackages2.csproj.
• -r|--runtime<RUNTIME_IDENTIFIER>
The runtime identifier to target.
Optionaloptions
• --framework-version<FRAMEWORK_VERSION>
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 subdirec‐
tory of the user profile .NET installation directory.
• --skip-optimization
Skips the optimization phase. For more information about optimization, see Preparing a runtime envi‐
ronment.
• --skip-symbols
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 <xref:Microsoft.Build.Framework.LoggerVerbosity>.
• -w|--working-dir<WORKING_DIRECTORY>
The working directory used by the command. If not specified, it uses the obj subdirectory of the cur‐
rent directory.