我在Visual Studio 2008(Visual Basic)中安装了一个应用程序并安装了visual studio express 2012,当我尝试将DataRepeater添加到我现有项目中的新表单时,它说已经存在,当我尝试同样的事情时添加PrintForm。 我无法在任何新的或预先存在的形式中添加这些对象的新内容。
这是我收到的邮件内容:
---------------------------
Microsoft Visual Studio Express 2012 for Windows Desktop
---------------------------
Failed to create component 'DataRepeater'. The error message follows:
'System.Runtime.InteropServices.COMException (0x8004D745): A reference to the component 'Microsoft.VisualBasic.PowerPacks.Vs' already exists in the project.
at VSLangProj.References.Add(String bstrPath)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.PerformReferenceUpdate(List`1 newReferences)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.System.ComponentModel.Design.ITypeResolutionService.ReferenceAssembly(AssemblyName name)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.ReferenceAssembly(AssemblyName name)
at System.Drawing.Design.ToolboxItem.GetType(IDesignerHost host, AssemblyName assemblyName, String typeName, Boolean reference)
at System.Drawing.Design.ToolboxItem.CreateComponentsCore(IDesignerHost host)
at System.Drawing.Design.ToolboxItem.CreateComponentsCore(IDesignerHost host, IDictionary defaultValues)
at System.Drawing.Design.ToolboxItem.CreateComponents(IDesignerHost host, IDictionary defaultValues)
...'
---------------------------
OK
---------------------------
它说了一些关于参考更新的内容,我不是vb.net中经验丰富的开发人员,所以不确定我应该去哪里修复它以及如何。