【发布时间】:2013-01-20 14:43:47
【问题描述】:
我尝试创建一个新的monogame windows phone 8 项目,当我尝试运行它时出现此错误:
Error 1 The "GenerateWinPRTManifest" task failed unexpectedly.
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at Microsoft.Silverlight.Build.Tasks.GenerateWinPRTManifest.CCIHarvestRegistrationInformation(ProcessWinmd processWinmd, Dictionary`2 inprocServers)
at Microsoft.Silverlight.Build.Tasks.GenerateWinPRTManifest.UpdateWinmdRegistration()
at Microsoft.Silverlight.Build.Tasks.GenerateWinPRTManifest.ExecuteImplementation()
at Microsoft.Silverlight.Build.Tasks.GenerateWinPRTManifest.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() MonoGameWP8
【问题讨论】:
-
关于如何复制的任何线索?你做了什么特别/不同的事情吗?您是否遵循了一些指示?新的空项目是否会发生这种情况?您采取了哪些措施来尝试解决或进一步调查该问题?
-
@MattLacey:我从 WP 7.1 升级到 WP 8 后得到了这个。
-
您的解决方案中是否有两个具有相同 GUID 的项目?
标签: c# .net windows-phone-8 windows-phone monogame