6
6

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.

Visual Studio 2015逆引きメモ

Last updated at Posted at 2016-03-03

必要に迫られたVisual Studio 2015の逆引きメモです。

ソース管理をSVNからGitに変更する方法

Visual Studio 2015のソース管理でプラグインの選択でエラーが発生して変更出来ない問題。

Visual Studio 2015の[ツール]→[オプション]→[ソース管理]→[プラグインの選択]でSVNからGitへ変更すると下記のメッセージが出て変更出来ない。

ソース管理プラグイン
アクティブなソリューションまたはプロジェクトは、ユーザーが選択したプラグインとは異なるソース管理プラグインによって管理されています。ソース管理プラグインを変更すると、アクティブなソリューションまたはプロジェクトは終了します。
続行しますか?

対応方法

  1. 変更したいソリューションファイルをテキストエディタで開いて下記の部分を削除。
  2. Visual Studioからソリューションファイルを開く。
GlobalSection(SubversionScc) = preSolution
    Svn-Managed = True
    Manager = AnkhSVN - Subversion Support for Visual Studio
EndGlobalSection
6
6
1

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
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?