2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

VisualStudioで、他のソリューションからプロジェクトをコピーする方法

Posted at

Visual Studio 2019で、他のソリューションにあるプロジェクトをコピーする方法です。
簡単にできないか調べてみて行ってみたところ、次の方法でOKだと思います

ここでは、Test1のソリューションに、他のソリューションにあるプロジェクトTest2をコピーすることを考えます。

  • エクスプローラーで、Test2のプロジェクトフォルダを、Test1のソリューションフォルダにコピーします。
    image.png

  • VisualStudioのファイル>追加>既存のプロジェクト
    で、コピーしたフォルダの中の、Test2.csprojを選択します。
    image.png

ファイル>追加>既存のプロジェクト は、ファイル自体はコピーされないので、最初にエクスプローラーでコピーしてしまうのがポイントです。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?