1(1)                                  .NET                                  (1)
2
3
4

dotnet store

6       This article applies to: ✔️ .NET Core 2.x SDK and later versions
7

NAME

9       dotnet  store  - Stores the specified assemblies in the runtime package
10       store.
11

SYNOPSIS

13              dotnet store -m|--manifest <PATH_TO_MANIFEST_FILE>
14                  -f|--framework <FRAMEWORK_VERSION> -r|--runtime <RUNTIME_IDENTIFIER>
15                  [--framework-version <FRAMEWORK_VERSION>] [--output <OUTPUT_DIRECTORY>]
16                  [--skip-optimization] [--skip-symbols] [-v|--verbosity <LEVEL>]
17                  [--working-dir <WORKING_DIRECTORY>]
18
19              dotnet store -h|--help
20

DESCRIPTION

22       dotnet store stores the specified assemblies  in  the  runtime  package
23       store.  By default, assemblies are optimized for the target runtime and
24       framework.  For more information, see the runtime package store topic.
25
26   Required options
27-f|--framework <FRAMEWORK>
28
29         Specifies the target framework.  The target framework has to be spec‐
30         ified in the project file.
31
32-m|--manifest <PATH_TO_MANIFEST_FILE>
33
34         The package store manifest file is an XML file that contains the list
35         of packages to store.  The format of the manifest file is  compatible
36         with  the  SDK-style  project format.  So, a project file that refer‐
37         ences the desired packages can be used with the -m|--manifest  option
38         to  store assemblies in the runtime package store.  To specify multi‐
39         ple manifest files, repeat the option and path for  each  file.   For
40         example: --manifest packages1.csproj --manifest packages2.csproj.
41
42-r|--runtime <RUNTIME_IDENTIFIER>
43
44         The runtime identifier to target.
45
46   Optional options
47--framework-version <FRAMEWORK_VERSION>
48
49         Specifies  the .NET SDK version.  This option enables you to select a
50         specific framework version beyond  the  framework  specified  by  the
51         -f|--framework option.
52
53-?|-h|--help
54
55         Prints out a description of how to use the command.
56
57-o|--output <OUTPUT_DIRECTORY>
58
59         Specifies  the  path to the runtime package store.  If not specified,
60         it defaults to the store subdirectory of the user  profile  .NET  in‐
61         stallation directory.
62
63--skip-optimization
64
65         Skips the optimization phase.
66
67--skip-symbols
68
69         Skips symbol generation.  Currently, you can only generate symbols on
70         Windows and Linux.
71
72-v|--verbosity <LEVEL>
73
74         Sets the verbosity level of the command.  Allowed values are q[uiet],
75         m[inimal], n[ormal], d[etailed], and diag[nostic].  For more informa‐
76         tion, see <xref:Microsoft.Build.Framework.LoggerVerbosity>.
77
78-w|--working-dir <WORKING_DIRECTORY>
79
80         The working directory used by the command.  If not specified, it uses
81         the obj subdirectory of the current directory.
82

EXAMPLES

84       • Store  the packages specified in the packages.csproj project file for
85         .NET Core 2.0.0:
86
87                dotnet store --manifest packages.csproj --framework-version 2.0.0
88
89       • Store the packages specified in the packages.csproj without optimiza‐
90         tion:
91
92                dotnet store --manifest packages.csproj --skip-optimization
93
94   See also
95       • Runtime package store
96
97
98
99                                                                           (1)
Impressum