dotnet-store(1)
π NAME π
Hiii bestie, welcome to dotnet-store(1) β straight out of the .NET Documentation, and it's giving one-job-one-obsession energy:
dotnet-store β Stores the specified assemblies in the runtime package store. π
And just so we're clear from the jump: this article applies to βοΈ .NET 6 SDK and later versions. Noted. Periodt.
β¨ SYNOPSIS β¨
[-f|--framework <FRAMEWORK_VERSION>] [--disable-build-servers]
[--framework-version <FRAMEWORK_VERSION>]
[--output <OUTPUT_DIRECTORY>] [-r|--runtime <RUNTIME_IDENTIFIER>]
[--skip-optimization] [--skip-symbols]
[--ucr|--use-current-runtime] [-v|--verbosity <LEVEL>]
[--working-dir <WORKING_DIRECTORY>]
dotnet store -h|--help
πΈ DESCRIPTION πΈ
So dotnet store stores the specified assemblies in the runtime package store. That's the whole plot. π«Ά
And by default? The assemblies get optimized for the target runtime and framework β like, they get the full glam treatment before they're put away. For more information, see the runtime package store topic. (iykyk, go read it.)
π Required options
These aren't optional, babes. You need them.
-f|--framework <FRAMEWORK>β Specifies the target framework. And listen: the target framework has to be specified in the project file. No project-file mention, no party. π«--disable-build-serversβ Forces the command to ignore any persistent build servers. Think of it as the "no, actually, forget everything you thought you knew" button. This option provides a consistent way to disable all use of build caching, which forces a build from scratch. And a build that doesn't rely on caches is genuinely useful when the caches might be corrupted or incorrect for some reason. β¨ Available since .NET 7 SDK.-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 β iconic detail β a project file that references the desired packages can be used with the-m|--manifestoption to store assemblies in the runtime package store. Want more than one manifest? Repeat the option and path for each file. For example:--manifest packages1.csproj --manifest packages2.csproj. ποΈ-r|--runtime <RUNTIME_IDENTIFIER>β The runtime identifier to target.
π¦ Optional options
Now the fun extras. Mix and match, bestie.
--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|--frameworkoption. Fancy. π-o|--output <OUTPUT_DIRECTORY>β Specifies the path to the runtime package store. If not specified, it defaults to thestoresubdirectory of the user profile .NET installation directory. π--skip-optimizationβ Skips the optimization phase. For more information about optimization, see Preparing a runtime environment.--skip-symbolsβ Skips symbol generation. Currently, you can only generate symbols on Windows and Linux. Sorry to the others. π--ucr|--use-current-runtimeβ Use current runtime as the target runtime. The default isfalse.-v|--verbosity <LEVEL>β Sets the verbosity level of the command. Allowed values areq[uiet],m[inimal],n[ormal],d[etailed], anddiag[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 theobjsubdirectory of the current directory.-?|-h|--helpβ Prints out a description of how to use the command. The classic. The icon. π
π₯ EXAMPLES π₯
- Store the packages specified in the
packages.csprojproject file for .NET 6.0.1:
dotnet store --manifest packages.csproj --framework-version 6.0.1 --framework net6.0 --runtime win-x64
- Store the packages specified in the
packages.csprojwithout optimization:
dotnet store --manifest packages.csproj --skip-optimization --framework net6.0 --runtime linux-x64
Ate. No crumbs. π
π SEE ALSO π
- Runtime package store
And that's the whole page, bestie!! π This one came from the .NET Documentation source, version dotnet-store(1), dated 2025-10-30. Go store those assemblies. Slay. πβ¨π
π¦ where this page comes from
- alpine 3.24: dotnet-doc 10.0.303-r2 Β· MIT
- centos-stream 10: dotnet-host 11.0.0~rc.2.26504.105-0.10.el10 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- centos-stream 9: dotnet-host 11.0.0~rc.2.26504.105-0.11.el9 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- fedora 43: dotnet-host 10.0.12-1.fc43
- fedora 43: dotnet-host 11.0.0~rc.1.26425.128-0.10.fc43 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- fedora 44: dotnet-host 10.0.12-1.fc44
- fedora 44: dotnet-host 10.0.4-1.fc44 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- fedora 44: dotnet-host 11.0.0~rc.1.26425.128-0.12.fc44 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- nixpkgs unstable: dotnet-vmr 11.0.0-rc.3
- ubuntu noble: dotnet-host-10.0 10.0.12-0ubuntu1~24.04.1
- ubuntu questing: dotnet-host-10.0 10.0.9-0ubuntu1~25.10.1
- ubuntu resolute: dotnet-host-10.0 10.0.12-0ubuntu1~26.04.1
- ubuntu resolute: dotnet-host-10.0 10.0.5-0ubuntu1 Β· MIT
- ubuntu stonking: dotnet-host-10.0 10.0.12-0ubuntu2 Β· MIT
- ubuntu stonking: dotnet-host-11.0 11.0.0~rc1-0ubuntu1 Β· MIT
- ubuntu stonking: dotnet-host-11.0 11.0.0~rc3-0ubuntu1~26.10.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms