Problem Register Guidance Package v3b27

Topics: Service Factory Modeling Edition Forum
Apr 20, 2007 at 12:29 PM
Hi,

when trying to Register Guidance Package of SVC Factory v3b27 in "Regular & Experimental" hive I get the following exception when clicking the OK button:

System.TypeLoadException: EnvDTE.Project, EnvDTE ---> System.IO.FileNotFoundException: Couldn't find assembly EnvDTE.
at Microsoft.Practices.Common.Services.TypeResolutionService.GetAssembly(AssemblyName assemblyName, Boolean throwOnError)
at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
--- End of inner exception stack trace ---
at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.Practices.Common.Services.AliasResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError)
at Microsoft.Practices.RecipeFramework.GuidancePackage.EnsureInitializeMetadataForCurrentRecipe()
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(IAssetReference reference)
at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.In

What may I do wrong? Rebuild all succeeded.

Alex
Developer
Apr 20, 2007 at 4:19 PM
Check if you have the EnvDTE.dll in "Public Assemblies" folder (\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies).
Apr 22, 2007 at 1:45 AM
1.Check the version of GuidanceAutomationExtensions which should be update
2.make sure you have run this "Start>AllPrograms>Visual Studio 2005 SDK>Tools>Reset the Visual Studio 2005 Experimental hive
Apr 23, 2007 at 4:07 PM
If perchance your EnvDTE.dll and EnvDTE80.dll are not in PublicAssemblies you can copy then from

C:\Program Files\Common Files\Microsoft Shared\MSEnv\PublicAssemblies

Ade
Apr 23, 2007 at 9:07 PM
Hi,

thanks for your replies. I had to reinstall the whole machine (for other reasons) and I will try it again in a virtual machine.

Alex