<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>guitarrapc_tech</author_name>
  <author_url>https://blog.hatena.ne.jp/guitarrapc_tech/</author_url>
  <blog_title>tech.guitarrapc.cóm</blog_title>
  <blog_url>https://tech.guitarrapc.com/</blog_url>
  <categories>
    <anon>.NET</anon>
  </categories>
  <description>.NET SDKを使うと、dotnetコマンドを使ってビルドやパッケージ追加、プロジェクト作成などができます。さて、パッケージ追加コマンドは.NET8までdotnet add packageでしたが、.NET9からdotnet package addにコマンドが変更されました。.NET9はSTSなので、LTSとしては.NET 10からの変更です。 今回はこの変更について見ていきます。 dotnetコマンドの一覧 まとめ 参考 dotnetコマンドの一覧 dotnetコマンド体系は、基本的にdotnet [sdk-options] [command] [command-options] [arg…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.guitarrapc.com%2Fentry%2F2026%2F03%2F03%2F230000&quot; title=&quot;.NET9 SDKから dotnet add package コマンドが dotnet package add コマンドに変更された - tech.guitarrapc.cóm&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-03-03 23:00:00</published>
  <title>.NET9 SDKから dotnet add package コマンドが dotnet package add コマンドに変更された</title>
  <type>rich</type>
  <url>https://tech.guitarrapc.com/entry/2026/03/03/230000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
