ドキュメントの中に作成されるTemplatesがOneDriveのバックアップ解除後にも中に残ってしまう。
スタートメニューから、
Developer Command Prompt
を開く。
vsregedit read local HKCU “” UserItemTemplatesLocation string
にて現在のフォルダを確認。
vsregedit set local HKCU “” UserItemTemplatesLocation string “C:\Users\xxx\Documents\Visual Studio 2022”
にてセット。
※VisualStudioLocation
※UserProjectTemplatesLocation
※UserItemTemplatesLocation