4

開発に Visual Studio 2014 CTP 4 を使用しようとしていますが、開いているプロジェクトでは、プロジェクトの読み込み時に常に同じエラーが発生します。

キャプション "" を持つアイテムは、追加されるアイテムと同じ並べ替え順序でツリーに既に存在します。

プロジェクトの参照は、警告サインの有無にかかわらず空です。

この問題を解決するにはどうすればよいですか?

myget.org/F/aspnetvnext の K パッケージ

> C:\Users\user>kvm upgrade
Determining latest version
KRE-CLR-x86.1.0.0-beta2-10679 already installed.
Adding C:\Users\user\.kre\packages\KRE-CLR-x86.1.0.0-beta2-10679\bin to process PATH
Adding C:\Users\user\.kre\packages\KRE-CLR-x86.1.0.0-beta2-10679\bin to user PATH
Updating alias 'default' to 'KRE-CLR-x86.1.0.0-beta2-10679'

https://github.com/aspnet/Logging/tree/2d54539a112e6d54c3d5de6dd825258c66787086のエラー情報があります

プロジェクト システムでエラーが発生しました。

キャプション "" を持つアイテムは、追加されるアイテムと同じ並べ替え順序でツリーに既に存在します。

_診断ログが次の場所に書き込まれました: "C:\Users\user\AppData\Local\Temp\VsProjectFault_28a9e6d4-ab42-441b-b4fe-124423dae4cb.failure.txt"._

およびファイルの内容:

===================
09.11.2014 13:45:34
Recoverable
System.AggregateException: One or more errors occurred. ---> System.ArgumentException: An item with the caption "" already exists in the tree with the same sort order as the item being added.
 at Microsoft.VisualStudio.ProjectSystem.Designers.ProjectTree.Add(UnattachedProjectTreeNode node)
 at Microsoft.VisualStudio.ProjectSystem.Designers.ProjectTree.Add(IProjectTree subtree)
 at Microsoft.VisualStudio.Web.ProjectSystem.ReferencesSubTreeProvider.<>c__DisplayClass10.<BuildReferencesTreeAsync>b__12()
 at System.Threading.Tasks.Task`1.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.Web.ProjectSystem.ReferencesSubTreeProvider.<>c__DisplayClass8.<<ReferencesChanged>b__9>d__0.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
 at Microsoft.VisualStudio.ProjectSystem.Utilities.Designers.ProjectTreeProviderBase.<>c__DisplayClass0.<<Initialize>b__2>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at Microsoft.VisualStudio.ProjectSystem.Utilities.CommonProjectSystemTools.Rethrow(Exception ex)
 at Microsoft.VisualStudio.ProjectSystem.ProjectErrorReporting.<>c__DisplayClass4.<SubmitErrorReport>b__6()
 at Microsoft.VisualStudio.ProjectSystem.ExceptionFilter.<>c__DisplayClass0.<Guard>b__2()
 at GuardMethodClass.GuardMethod(Func`1 , Func`2 , Func`2 )
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.ArgumentException: An item with the caption "" already exists in the tree with the same sort order as the item being added.
 at Microsoft.VisualStudio.ProjectSystem.Designers.ProjectTree.Add(UnattachedProjectTreeNode node)
 at Microsoft.VisualStudio.ProjectSystem.Designers.ProjectTree.Add(IProjectTree subtree)
 at Microsoft.VisualStudio.Web.ProjectSystem.ReferencesSubTreeProvider.<>c__DisplayClass10.<BuildReferencesTreeAsync>b__12()
 at System.Threading.Tasks.Task`1.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.Web.ProjectSystem.ReferencesSubTreeProvider.<>c__DisplayClass8.<<ReferencesChanged>b__9>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
 at Microsoft.VisualStudio.ProjectSystem.Utilities.Designers.ProjectTreeProviderBase.<>c__DisplayClass0.<<Initialize>b__2>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at Microsoft.VisualStudio.ProjectSystem.Utilities.CommonProjectSystemTools.Rethrow(Exception ex)
 at Microsoft.VisualStudio.ProjectSystem.ProjectErrorReporting.<>c__DisplayClass4.<SubmitErrorReport>b__6()
 at Microsoft.VisualStudio.ProjectSystem.ExceptionFilter.<>c__DisplayClass0.<Guard>b__2()
 at GuardMethodClass.GuardMethod(Func`1 , Func`2 , Func`2 )<---
4

1 に答える 1

0

このエラーが発生しているプロジェクトに追加したすべての新しいファイルを確認してください。

一部のファイルの名前を変更した可能性がありますが、csprojファイルは古いファイルを指しています。次に、競合に直面し、このエラーをスローします。

同じものを修正するとうまくいくはずです。

于 2019-11-04T07:27:51.990 に答える