1dotnet store command(1) .NET Core dotnet store command(1)
2
3
4
7 dotnet store - Stores the specified assemblies in the runtime package
8 store.
9
11 dotnet store -m|--manifest -f|--framework -r|--runtime [--frame‐
12 work-version] [-h|--help] [--output] [--skip-optimization] [--skip-sym‐
13 bols] [-v|--verbosity] [--working-dir]
14
16 dotnet store stores the specified assemblies in the runtime package
17 store. By default, assemblies are optimized for the target runtime and
18 framework. For more information, see the runtime package store topic.
19
20 Required options
21 -f|--framework <FRAMEWORK>
22
23 Specifies the target framework.
24
25 -m|--manifest <PATH_TO_MANIFEST_FILE>
26
27 The package store manifest file is an XML file that contains the list
28 of packages to store. The format of the manifest file is compatible
29 with the SDK-style project format. So, a project file that references
30 the desired packages can be used with the -m|--manifest option to store
31 assemblies in the runtime package store. To specify multiple manifest
32 files, repeat the option and path for each file. For example: --mani‐
33 fest packages1.csproj --manifest packages2.csproj.
34
35 -r|--runtime <RUNTIME_IDENTIFIER>
36
37 The runtime identifier to target.
38
39 Optional options
40 --framework-version <FRAMEWORK_VERSION>
41
42 Specifies the .NET Core SDK version. This option enables you to select
43 a specific framework version beyond the framework specified by the
44 -f|--framework option.
45
46 -h|--help
47
48 Shows help information.
49
50 -o|--output <OUTPUT_DIRECTORY>
51
52 Specifies the path to the runtime package store. If not specified, it
53 defaults to the store subdirectory of the user profile .NET Core in‐
54 stallation directory.
55
56 --skip-optimization
57
58 Skips the optimization phase.
59
60 --skip-symbols
61
62 Skips symbol generation. Currently, you can only generate symbols on
63 Windows and Linux.
64
65 -v|--verbosity <LEVEL>
66
67 Sets the verbosity level of the command. Allowed values are q[uiet],
68 m[inimal], n[ormal], d[etailed], and diag[nostic].
69
70 -w|--working-dir <INTERMEDIATE_WORKING_DIRECTORY>
71
72 The working directory used by the command. If not specified, it uses
73 the obj subdirectory of the current directory.
74
76 Store the packages specified in the packages.csproj project file for
77 .NET Core 2.0.0:
78
79 dotnet store --manifest packages.csproj --framework-version 2.0.0
80
81 Store the packages specified in the packages.csproj without optimiza‐
82 tion:
83
84 dotnet store --manifest packages.csproj --skip-optimization
85
86 See also
87 Runtime package store
88
90 bleroy.
91
92
93
94 dotnet store command(1)