2
Vote

Crash when running CreateCustomProject

description

Hi there,

comments

mpagel wrote Jul 5, 2008 at 12:20 AM

Sorry, this was sent way to fast... :-)

I am using the latest VSSDK Assist release on top of VS2008. When trying to create a custom project type I am receiving the following exception in the log:

CreateCSharpSolution: Creating VS Package project
CreateCustomProject: Creating destination folders
CreateCustomProject: Creating custom project classes
CreateCustomProject: Adding custom project registration information
CreateCustomProject: Adding project base
Exception:
C:\Dokumente und Einstellungen\mpagel\Lokale Einstellungen\Temp\uim1il43.ue3\Temp\ProjectBase.csproj(59,11): The imported project "C:\Program Files\Microsoft Visual Studio 2008 SDK\VisualStudioIntegration\Common\Source\CSharp\Project\ProjectBase.Files" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.\r\n at EnvDTE.SolutionClass.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive)
at Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(Object application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& retval)
at EnvDTE.SolutionClass.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive)
at VSSDKAssist.Recipes.CustomProject.CreateCustomProject.UnfoldCustomProjectTemplateAction.OnExecute()
at VSSDKAssist.Assets.Actions.Base.ActionBase.Execute()
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary2 inputValues)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)
at VSSDKAssist.Recipes.Common.Coordinators.ConditionalExecutionProgressCoordinator.ExecuteAction(Action action)
at VSSDKAssist.Recipes.Common.Coordinators.ExecutionProgressCoordinator.Run(Dictionary
2 declaredActions, XmlElement coordinationData)
(*) Error: 0 : Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe CreateCustomProject. Error was: Action UnfoldProjectTemplate failed to execute:

C:\Dokumente und Einstellungen\mpagel\Lokale Einstellungen\Temp\uim1il43.ue3\Temp\ProjectBase.csproj(59,11): The imported project "C:\Program Files\Microsoft Visual Studio 2008 SDK\VisualStudioIntegration\Common\Source\CSharp\Project\ProjectBase.Files" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk..
You can remove the reference to this recipe through the Guidance Package Manager. ---> System.Exception:
C:\Dokumente und Einstellungen\mpagel\Lokale Einstellungen\Temp\uim1il43.ue3\Temp\ProjectBase.csproj(59,11): The imported project "C:\Program Files\Microsoft Visual Studio 2008 SDK\VisualStudioIntegration\Common\Source\CSharp\Project\ProjectBase.Files" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
at EnvDTE.SolutionClass.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive)
at Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(Object application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& retval)
at EnvDTE.SolutionClass.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive)
at VSSDKAssist.Recipes.CustomProject.CreateCustomProject.UnfoldCustomProjectTemplateAction.OnExecute()
at VSSDKAssist.Assets.Actions.Base.ActionBase.Execute()
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary2 inputValues)
at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)
at VSSDKAssist.Recipes.Common.Coordinators.ConditionalExecutionProgressCoordinator.ExecuteAction(Action action)
at VSSDKAssist.Recipes.Common.Coordinators.ExecutionProgressCoordinator.Run(Dictionary
2 declaredActions, XmlElement coordinationData)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
--- End of inner exception stack trace ---
at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
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.Invoke()

Thanks,
Mike

mpagel wrote Jul 5, 2008 at 12:23 AM

I just noticed: since I am using a German WinXP, my programs are in "C:\Programme", not in "C:\Program Files". That's the reason for the failure I guess.

wrote Jan 10, 2009 at 10:42 AM

wrote Feb 13, 2013 at 3:18 AM