Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Refrence troubles
 

Refrence troubles

Hello. I have been tring to figure this one out for a while now, but still cannot get it right. I was making a program and didn't want to have a buch of different DLL files attached so i checked what ones VB2005 wasn't useing and ever sence, i haven't been able to use vb2005 because of this error:

A reference to the component 'System' already exists in the project.
Hide

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.Editors.SettingsGlobalObjects.SettingsFileGlobalObject.BuildType()
at Microsoft.VisualStudio.Editors.SettingsGlobalObjects.SettingsFileGlobalObject.GetObjectType()
at Microsoft.VisualStudio.Shell.Design.GlobalType.get_ObjectType()
at Microsoft.VisualStudio.Shell.Design.GlobalObject.GetHashCode()
at Microsoft.VisualStudio.Shell.Design.GlobalObjectService.GlobalKey.GetHashCode()
at System.Collections.Generic.ObjectEqualityComparer`1.GetHashCode(T obj)
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.VisualStudio.Shell.Design.GlobalObjectService.TrackGlobal(GlobalObjectProvider p, GlobalType g)
at Microsoft.VisualStudio.Shell.Design.GlobalObjectService.GetGlobalObjects(Type baseType)
at Microsoft.VisualStudio.Shell.Design.GlobalObjectService.GetGlobalObjects()
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetTypeFromGlobalObjects(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetType(String typeName)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)
zggtf211  Thursday, April 03, 2008 11:33 AM
Hi,
this is a GAX/GAT specific forum. please post your issue in the specific forum, maybe the Visual Basic forum would be fine.
http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=10&SiteID=1

thanks
jose.
Jose Escrich  Thursday, April 03, 2008 1:14 PM
Hi,
this is a GAX/GAT specific forum. please post your issue in the specific forum, maybe the Visual Basic forum would be fine.
http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=10&SiteID=1

thanks
jose.
Jose Escrich  Thursday, April 03, 2008 1:14 PM
Did you ever sort this?
I have had to swap my project to another PC and I get the same error.
The application builds fine, but I can display the designer screen.
GrahamY  Thursday, July 24, 2008 8:44 AM

You can use google to search for other answers

Custom Search

More Threads

• $ProjectName$ passed into a template creator is not expanded
• GAX/GAT for VS 2005-2008 default templates removed
• Guidance Automation Manager not visible in Tools menu (VST2005)
• Cant get a ITypeResolutionService instance from GetService.
• have GetProjectAction vstemplate to execute a recipe
• Thanks for the tip
• Selective wizard page display
• Can't open the guidance navigator window
• Compile Error CS0579: Duplicate 'AssemblyVersion' attribute
• Deploying Guidance Package